HTML5 video formats

djvicker

Joined: 2008-11-23
Posts: 5
Posted: Tue, 2014-06-17 20:00

Hi everyone,

I've been having issues with flash video lately (can't get them to play on linux). I would love to use org vorbis or webm formats in my gallery to show videos since most of the major browsers support this now. The Movie Tools module gets me most of the way there. I've installed the module and can now upload webm and ogv formats. After updating ffmpeg (what I had on the server was pretty old) I even get thumbnails too. But the actual video won't play - I just get the "Click here to download item" link. I'm using firefox 30 as the browser and a simple html page I made with a <video> element plays the video just fine (on my local machine). I think this means that the module is working fine but gallery3 doesn't recognize the format. Is there way to enable gallery3 to play HTML5 video? I'm using gallery 3.0.9.

Thanks,
Darby

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Tue, 2014-06-17 22:51

Since firefox decided to join the mp4 bandwagon, that would be the format of choice.

I should update this page http://www.flashyourweb.com/gallery3/FYW-Demo/Video

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
djvicker

Joined: 2008-11-23
Posts: 5
Posted: Thu, 2014-06-19 05:00

Thanks for the pointer to your site - very cool. It looks like you made these modifications based on gallery 3.0.1. I tried using your movieplayer.html.php with 3.0.9 but couldn't get it to work - it breaks the existing flv videos I have and I still get just a download link for a webm/oog. But a lot has changed from 3.0.1 to 3.0.9 so that's probably expected. I think the movie tools module takes care of most of the changes needed to get gallery to recognize the different extensions. So I think a mod to movieplayer.html.php (or perhaps an extension of the movie tools module?) could get webm/oog playing with 3.0.9. I started to attempt this but I got lost pretty quickly. Anyone want to take a shot? :)