I can't play this simple WebM video in Epiphany Tech Preview (WebKitGTK+ 2.19.91):
I think it's different from bug #182653 because that video starts to play and only seek is broken, whereas this video does not play at all.
Add it to an html file in a <video> element and it plays.
Ummmm that should not be required, and was not required in the past. We are even showing media controls for it and everything. They're just broken.
If we did not support directly playing media files, we would need to start a download instead of displaying broken media controls. But I'm pretty sure this used to work. I see it is also broken in 2.18.6, though.
Carlos, any chance you know how this is supposed to work?
I giess we are doing something different in case of MediaDocument
The problem seems to be that loop5.webm is thought to be audio/webm by the DOMImplementation and MediaDocument seems to handle only <video> elements, so an empty page is displayed, only controls are visible.
The HTTP response header has the wrong content-type set, so not sure what to do about this. One thing to consider, maybe don't set the type attr on the video element created by the MediaDocument. I tried that and got a bunch of XSS errors afterwards :S
Another example video that fails to play: