• Resolved TheCitizen

    (@thecitizen)


    When setting the hero Header with HTML 5 video background the resulting code has the ogg in the mime type webm and the webm is mimed ovg

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author livemesh

    (@livemesh)

    Thanks for bringing this to our attention (has been this way for years with no one else reporting and hence not sure if it really affects rendering on the page). We have this fixed internally – pls expect this to be part of upcoming update.

    Plugin Author livemesh

    (@livemesh)

    BTW, if you need your local installation to be fixed, you can change the relevant code at line number 34 and 36 of file includes/widgets/lsow-hero-image-widget/default.php file to –

                        <source src="<?php echo wp_get_attachment_url($background['html5_videos']['mp4_file']); ?>"
                                type="video/mp4">
                        <source src="<?php echo wp_get_attachment_url($background['html5_videos']['ogg_file']); ?>"
                                type="video/ogg">
                        <source src="<?php echo wp_get_attachment_url($background['html5_videos']['webm_file']); ?>"
                                type="video/webm">
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘HTML5 Video swapped file types’ is closed to new replies.