Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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

when playing HTML5 video, VideoObj.currentTime=N fails

  • 6 پاسخ
  • 2 have this problem
  • 3 views
  • آخرین پاسخ توسّط LBPSlava

more options

Sample problem is at

http://132.236.21.62/collt/authoring/currentTime.htm

You will also see a description there, and here it is, too:

A base64-encoded webm video is embedded with the HTML5 VideoObj=document.createElement("video") command, with custom Play, Pause, and Rewind button. Play and Pause work fine. But after the video plays to the end, there is no way to play it again. The Rewind button uses the command VideoObj.currentTime=0.1. This works in FF 15 in Mac OSX as well as in Safari 5, Chrome 21 in Mac OS X and Safari 5, Chrome 21, and IE 9 in Windows. It fails with FF 15.0.1 in Windows. Happens every time. My Windows 7 is 64-bit.

Sample problem is at http://132.236.21.62/collt/authoring/currentTime.htm You will also see a description there, and here it is, too: A base64-encoded webm video is embedded with the HTML5 VideoObj=document.createElement("video") command, with custom Play, Pause, and Rewind button. Play and Pause work fine. But after the video plays to the end, there is no way to play it again. The Rewind button uses the command VideoObj.currentTime=0.1. This works in FF 15 in Mac OSX as well as in Safari 5, Chrome 21 in Mac OS X and Safari 5, Chrome 21, and IE 9 in Windows. It fails with FF 15.0.1 in Windows. Happens every time. My Windows 7 is 64-bit.

All Replies (6)

more options

Confirmed. Looks like a regression.

You can try to file a bug report on this issue and attach a minimal test HTML file to the bug report.

more options

Thanks! I don't know how to file a bug report.

more options
more options

Thanks, bug submitted to Bugzilla as #795784.

more options

It is best to attach a (minimal) test page to the bug report.
That ensures that the test page keeps available even if you remove your web page in the future (the bug may not get fixed quickly).
You can make a shorter video and convert that to base64.

more options

Done! Bug #795784 submitted to Bugzilla now has an attachment, a single htm file, that shows the bug. Thanks.