Video.js - HTML5 Video Player for WordPress
[Plugin: VideoJS - HTML5 Video Player for WordPress] IE8 ID Fix for VideoJS WordPress Plugin (3 posts)

  1. tiscover
    Posted 4 years ago #


    i ran into a few problems with the current videojs plugin 3.0 on IE8.
    Found out the code needed a unique ID to work:

    I added two lines to the video-js.php file (plugin folder/videojs):

    Just under the 'poster' array - line 29.

    'id' => '',

    Replace line67 with this line:

    <video class="video-js vjs-default-skin" id="{$id}" width="{$width}" height="{$height}"{$poster_attribute} controls {$preload_attribute}{$autoplay_attribute} data-setup="{}">

    I copied the edited video-js.php file to pastebin:

    you need to provide a ID-Tag in your article post - like this:
    [video mp4="video.mp4" ogg="video.ogg" poster="video.jpg" id="video1" width="640" height="360"]

    Worked for me!


  2. sheff555
    Plugin Author

    Posted 4 years ago #

    Awesome, thanks! I've added an id to the github source, and just need to update the wordpress database version.


  3. Scott Hendison
    Posted 4 years ago #

    This plugin was updated ten days ago but it will still not play the video correctly or show controls in IE8. Was this fix not implemented?

    I looked at the code, and tried what was listed here because I saw that the line was not changed, but it didn't fix the problem...

    The only way to get the browser to play is to go into "compatibility mode" but then a user still can't see the controls or pause the video.

    Any chance this will ever work right for users with Windows XP who have no upgrade past IE8? It's still a BIG portion of the users out there...

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Video.js - HTML5 Video Player for WordPress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic