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

Comments

gurvan’s picture

StatusFileSize
new828 bytes

Here is a patch to use the youtube embed code.

gurvan’s picture

The patch for dailymotion

joscar’s picture

StatusFileSize
new1.73 KB

I 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.

joscar’s picture

StatusFileSize
new1.71 KB

Posting revised patch

joscar’s picture

StatusFileSize
new1.86 KB

Last 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.

grndlvl’s picture

StatusFileSize
new1.87 KB

Creating youtube patch for beta4 in case people need it.

IRuslan’s picture

Status: Active » Needs review
gmclelland’s picture

Just 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

tostinni’s picture

StatusFileSize
new1.98 KB

I updated the patch for 7.x-1.0

tostinni’s picture

Ok it seems this patch seems no longer useful, for 1.0, I'm removing this patch and maybe someone could confirm and this issue ?