• Hi,

    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:
    http://pastebin.com/E7HJG1v8

    Important:
    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!

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

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

    (@sheff555)

    Awesome, thanks! I’ve added an id to the github source, and just need to update the wordpress database version.
    https://github.com/zencoder/video-js-for-wordpress

    Cheers,
    -heff

    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…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: VideoJS – HTML5 Video Player for WordPress] IE8 ID Fix for VideoJS WordPress Plugin’ is closed to new replies.