Your plugin is causing a 404 on the following file to appear in the console if the skin is set to none:
/wp-content/plugins/videojs-pro/video-js/skins/none
This is happening because in video-js-pro.php, you have the following on lines 137-139:
if ($vjspro_preset['skin']) {
echo "<link rel=\"stylesheet\" href=\"$dir/video-js/skins/{$vjspro_preset['skin']}\">\n"; // Load custom skin
}
The problem is that you’re not checking whether the option is set to “none” before you go ahead and link the file. This causes the link to end with /none which of course doesn’t exist and causes the 404.
The fix is either to change line 114 (where the option is set) to:
$vjspro_preset['skin'] = ( get_option ('vjs_skin') === 'none' ) ? false : get_option( 'vjs_skin' );
Or change lines 136-139 to:
if ( $vjspro_preset['skin'] && ! $vjspro_preset['skin'] === 'none' ) {
echo "<link rel=\"stylesheet\" href=\"$dir/video-js/skins/{$vjspro_preset['skin']}\">\n"; // Load custom skin
}
Either of these will check whether the option is set to “none” before linking the file, and only link it if the option is not set to none.
Please consider adding this fix to your next release for this plugin.
Thank you.
]]>I have VideoJS Pro configured in a WP page for on-demand viewing of video from multiple devices. I have media encoded for .mp4, .m4v, .webm, and .ogv. This works on a wide range of devices including Mac and Windows browsers and iPhones. But it does not work on iPads. Any ideas?
Thanks.
I’m trying to make this work with .mov files but it doesn’t seem to work.
]]>great plugin, but the video is not working on smartphones like the iphone. I’m using ogg, mp4 and webm..
]]>Hi!
First and foremost, this plugin is simply awesome!
I am curious as to why this plugin creates a CSS file request for “wp-content/plugins/videojs-pro/video-js/skins/none”, when the skin is set to none. This returns a 404, which adds a small redundant loading time.
Cheers!
]]>I’m having a problem with the posterframe not being seen in the Flowplayer Flash fallback, even though it is showing up for the HTML5 versions.
Anyone else having this problem?
As video on my site is at the top, with a full 940px across, having a giant black Flowplayer UI for Firefox viewers kinda sucks.
]]>Hi,
I’ve installed the plugin but I don’t see the “easy interface for VideoJS”. I don’t see a menu item or any way to access this interface. Please point me in the right direction.
Thanks,
Mark
]]>Hi, in Firefox it only plays the audio, in Safari in squashes the video horizontally and it doesn’t work at all in Chrome.
I’m using mp4, m4v and mov file formats
]]>Great idea for a plugin. The community really needs a sleak non flash player.
Centering does not work however which is a big deal. I can text align center on the shortcode, but the video is left justified on the page.
I’m not sure why devs overlook this essential so often, but all the design perfection is pretty much null without being able to keep things looking tidy by centering the video in the post. Unless I’m just missing it.
Also there is nothing listed for .mov. I’m hoping this will read mov h.264 files just as it will mp4.
]]>