Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Èròjà atẹ̀lélànà yii ni a ti fi pamọ́ fọ́jọ́ pípẹ́. Jọ̀wọ́ béèrè ìbéèrè titun bí o bá nílò ìrànwọ́.

webm video loop javascript canvas

  • 2 àwọn èsì
  • 0 ní àwọn ìṣòro yìí
  • 3 views
  • Èsì tí ó kẹ́hìn lọ́wọ́ 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

All Replies (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