WordPress.org

Support

Support » Plugins and Hacks » Doesn't work in IE9

Doesn't work in IE9

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

    Thanks tinysauce, I will try that.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Doesn't work in IE9’ is closed to new replies.