html5 playback of .ogg and .ogv fails in firefox
-
if you provide a videofile with extension ogg or ogv and a mp4 too, firefox will show only flash-fallback and no html5-video-tag for that video.
The reason is in line 1787 of sh5vp-functions.php:
else if ($secure_html5_video_player_is_firefox && $mp4 && !($ogv || $webm))
$ogv is never defined. change “$ogv” to “$ogg” in that line and you will get html5-playback in firefox too. finally.
Multi-compatible browsers such as chrome will choose the first offered videosource in a videotag. I decided to place the mp4-source at first, because mp4 in my case provides better quality in lower bandwith. You can alter the order of sources in lines 1790 to 1800 of sh5vp-functions.php.
Greets
B.https://www.ads-software.com/plugins/secure-html5-video-player/
- The topic ‘html5 playback of .ogg and .ogv fails in firefox’ is closed to new replies.