[Plugin: VideoJS – HTML5 Video Player for WordPress] IE8 ID Fix for VideoJS WordPress Plugin
-
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/E7HJG1v8Important:
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/
- The topic ‘[Plugin: VideoJS – HTML5 Video Player for WordPress] IE8 ID Fix for VideoJS WordPress Plugin’ is closed to new replies.