Этот сайт имеет ограниченную функциональность, пока мы проводим техническое обслуживание для улучшения его работы. Если какая-либо статья не решила вашу проблему и вы хотите задать вопрос, наше сообщество поддержки ждёт вас: @FirefoxSupport в Твиттере и /r/firefox на Reddit.

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

webm video loop javascript canvas

  • 2 ответа
  • 0 имеют эту проблему
  • 3 просмотра
  • Последний ответ от k.m

more options

Hi Firefox-Team,

I am writing a sidescroller game with Visual Studio Code using javascript canvas. The source for the "player" is a .webm video file with transparencies. The video is 13 seconds long, i want the video at the start to play the first 10 seconds and then loop from second 3 to 10 indefinately (until key is presst but this does not matter here) the issue is as follows and it seems to be a Firefox issue:

The Video plays to the 10 seconds and jumps back to second 3 and loops BUT each time the loops starts over there is a flickering / empty frames before the loop starts. This does not happen in edge or chrome.

any suggestions? or research on this topic? any plans on fixing this or can I open a ticket?

I am looking forward to your reply. regards Konrad Mostert

Hi Firefox-Team, I am writing a sidescroller game with Visual Studio Code using javascript canvas. The source for the "player" is a .webm video file with transparencies. The video is 13 seconds long, i want the video at the start to play the first 10 seconds and then loop from second 3 to 10 indefinately (until key is presst but this does not matter here) the issue is as follows and it seems to be a Firefox issue: The Video plays to the 10 seconds and jumps back to second 3 and loops BUT each time the loops starts over there is a flickering / empty frames before the loop starts. This does not happen in edge or chrome. any suggestions? or research on this topic? any plans on fixing this or can I open a ticket? I am looking forward to your reply. regards Konrad Mostert

Все ответы (2)

more options

Try to ask advice on a web development oriented forum.

more options

Hi Thanks for your reply, if I go to your link provided there is a post stating: "Do not use this forum to ask for help or to report issues with Mozilla software"

https://support.mozilla.org/en-US/kb/where-go-developer-support/discuss/8512