What about VIMEO and YOUTUBE?
-
Does it support embedding YOUTUBE and VIMEO videos?
Thanks,http://wordpress.org/extend/plugins/videojs-html5-video-player-for-wordpress/
-
No, this plugin is for self-hosted HTML5 videos. WordPress comes with built in support for YouTube and Vimeo. See http://codex.wordpress.org/Embeds
Does YouTube and Vimeo work now?
YouTube, yes. Vimeo, no.
That’s interesting.. I just tried a YouTube video and it wouldn’t work. There was just a play button in the middle but when I click on it nothing happens.
It looks like this file is missing from the plugin folder: https://github.com/schnere/video-js-for-wordpress/blob/f9bc7faf46bbcd8fd700eb22034787ebf74eea0d/videojs/vjs.youtube.js
Add it under video-js-for-wordpress/videojs in and it works.
By the way… Thanks for the awesome plugin!
Where do I find this: video-js-for-wordpress/videojs ?
Thanks.
Shoot, it looks like the .js file somehow didn’t get uploaded with the rest of the plugin. Pushing an update now to fix this, thanks for the heads up.
Yay, thanks! Saves me from adding stuff to the code! 🙂
Okay, commited the update to SVN so you should see the option to update any time now.
Got it. Works now.. Thanks!
I still seem to be having trouble with using a YouTube video, even with the latest version. I still have the play button in the middle but when I click on it nothing happens thing going on.
Looking at the source the plugin seems to have issues escaping slashes properly. Or I could be totally wrong and it’s doing exactly what it’s supposed to, but the HTML source code shows as this:
"src":"http:\/\/www.youtube.com\/watch?v=uN9tulBHr8Y"
I am seeing the exact same thing for YouTube:
<!– Begin Video.js –>
<video id=”example_video_id_1358534014″ class=”video-js vjs-default-skin” width=”100%” height=”56%” controls preload=”auto” data-setup='{“techOrder”:[“youtube”],”src”:”http:\/\/www.youtube.com\/watch?v=g8p3rcO8W7Q”}’>This is an issue, I believe, of servers running php 5.4, versus php 5.3.
I’m willing to bet that those having problems are running php 5.3?
No for me this bug exists on both a server running PHP 5.3 and 5.4.
The YouTube shortcode works great if I use it directly in the WordPress content editor. But if I put that exact same shortcode in a
do_shortcode()
function then that’s when the character escaping issues arise.Apparently the issue is related to a JSON function, beast as I can research – either way, it’s something the author will need to address, hopefully.
- The topic ‘What about VIMEO and YOUTUBE?’ is closed to new replies.