WordPress.org

Ready to get started?Download WordPress

Forums

Video.js - HTML5 Video Player for WordPress
Doesn't work in IE9 (3 posts)

  1. MasterBen
    Member
    Posted 1 year ago #

    I like this video player and WP plugin, and it plays perfectly in all browsers except IE9. Here is an example:

    http://www.g510keyboard.net/?p=115

    the shortcode is:

    [video mp4="http://www.g510keyboard.net/wp-content/videos/space_invaders.mp4" poster="http://www.g510keyboard.net/wp-content/videos/space_invaders.jpg" preload="auto" width="500" height="281"]

    Could someone suggest what can be done to make it work in IE9 as well?

    http://wordpress.org/extend/plugins/videojs-html5-video-player-for-wordpress/

  2. tinysauce
    Member
    Posted 1 year ago #

    I had the same issue in IE8. My solution was to not use the shortcode and put in the HTML in the editor instead.

    IMPORTANT: The HTML must all be on one line for this to work.

    Example:
    <video id="my_video_1" class="video-js vjs-default-skin" controls preload="auto" width="597" height="339" data-setup="{}"><source src="video_src.m4v" type='video/mp4'></video>

    ...rather than:

    <video id="my_video_1" class="video-js vjs-default-skin" controls preload="auto" width="597" height="339" data-setup="{}">
    <source src="video_src.m4v" type='video/mp4'>
    </video>

    When I used the shortcode in the editor, or if the above code was on multiple lines, there were <p> tags in the middle of everything which made the markup invalid and IE just doesn't like that sort of thing.

  3. MasterBen
    Member
    Posted 1 year ago #

    Thanks tinysauce, I will try that.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.