Closed Bug 803516 Opened 12 years ago Closed 12 years ago

loop attribute not working with video and base64

Categories

(Core :: Audio/Video, defect)

16 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 795784

People

(Reporter: ubitux, Unassigned)

References

Details

Attachments

(1 file)

32.67 KB, application/octet-stream
Details
Attached file video.webm
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20100101 Firefox/16.0
Build ID: 20121010144125

Steps to reproduce:

Generated a normal 2 second webm/vp8 video (attached):
  ffmpeg -f lavfi -i testsrc=d=2 video.webm

And a HTML page with:

  % python2
  [...]
  >>> import base64
  >>> data = base64.b64encode(open('video.webm','rb').read())
  >>> open('videob64.html','wb').write('<!doctype html><html><body><video src="data:video/webm;base64,%s" loop="loop" autoplay="autoplay"></video></body></html>' % data)
  >>> 



Actual results:

The loop attribute is not honored.

Without the base64, the attribute works:
  <!doctype html><html><body><video src="video.webm" loop="loop" autoplay="autoplay"></video></body></html>



Expected results:

The video should have looped. It works fine with the audio (base64 or not).
Component: General → Video/Audio
This is probably a dupe of bug 583444 and/or bug 795784.
Depends on: 795784
This is now fixed, because seeking in data uri is fixed.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: