WordPress.org

Ready to get started?Download WordPress

Forums

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
    Member
    Posted 2 years ago #

    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/

  2. sheff555
    Member
    Plugin Author

    Posted 2 years ago #

    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

  3. Hendison Scott
    Member
    Posted 2 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

About this Topic