On Jul 22, 2012 8:24 AM, "Nikos Chantziaras" <rea...@gmail.com> wrote: > > On 22/07/12 08:11, Nilesh Govindrajan wrote: >> >> So yeah, the question is clear. >> How do I force Firefox to play webm videos using gecko-mediaplayer? >> Compile firefox without webm support? >> >> Or there's some other way around? > > > You misunderstand the job GM is doing. It's a video player for embedded video objects and its plugin registers itself as such. If the embedded video is WebM, GM will play it. If it's HTML5 video (both WebH and H.264), then it will not, and Firefox will play it directly. > > So your question should rather be: How do I force Firefox to play HTML5 videos using gecko-mediaplayer? :-) (I don't know the answer. I suspect it is not possible, since the whole point of HTML5 video is to have the browser play the video.) > > Actually it seems just going to the .webm file in firefox will automatically render as an HTML5 video, even though the mimetype is video/webm. Firefox doesn't do this for other videos, as near as I can tell -- I only tried it with a .mp4, and it played using gecko-mediaplayer. I tested both of these files with "file://". So I think the issue isn't HTML5 at all, but firefox deciding what to do with "video/webm" files, but it's possible I don't understand exactly what firefox does. I admittedly don't know much about the internals of firefox nor html.
I would agree the simple workaround would be to compile without webm support but it almost seems like a bug in firefox (or perhaps an intended feature). Alecks Gates, sent from Android on an HTC G2