The video assets are always displayed using a flash player for every provider, nowadays it's more recommended to use an alternative HTML5 player to support playback on mobile devices.
A way to do this would be to use an <iframe> instead of an <object> tag to render the asset.
Is anyone working on this ?
Thanks
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | asset-youtube-video-2174613-6--beta4.patch | 1.87 KB | grndlvl |
| #5 | asset-youtube-video-2174613-5.patch | 1.86 KB | joscar |
| #2 | dailymotion_html5_video_player-2174613-2.patch | 1.24 KB | gurvan |
| #1 | youtube_html5_video_player-2174613-1.patch | 828 bytes | gurvan |
Comments
Comment #1
gurvan commentedHere is a patch to use the youtube embed code.
Comment #2
gurvan commentedThe patch for dailymotion
Comment #3
joscar commentedI was having trouble getting Youtube videos to render on Firefox and this Youtube patch didn't quite work for me but with a few tweaks that I added it did. I also added an update function changing the saved youtube URLs that emvideo uses for rendering the Youtube videos.
Comment #4
joscar commentedPosting revised patch
Comment #5
joscar commentedLast patch revision. Was having issues with embed links using http rather than https so I changed the patch and the update hook. Tested on multiple browsers and assets render properly.
Comment #6
grndlvl commentedCreating youtube patch for beta4 in case people need it.
Comment #7
IRuslan commentedComment #8
gmclelland commentedJust a quick look... In the patch in #5 and #6 it references http://www.youtube.com/embed/, shouldn't that be https://www.youtube.com/embed/. Notice the https
Comment #9
tostinni commentedI updated the patch for 7.x-1.0
Comment #10
tostinni commentedOk it seems this patch seems no longer useful, for 1.0, I'm removing this patch and maybe someone could confirm and this issue ?