为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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