WordPress.org

Ready to get started?Download WordPress

Forums

Video.js - HTML5 Video Player for WordPress
What about VIMEO and YOUTUBE? (16 posts)

  1. spideep
    Member
    Posted 1 year ago #

    Does it support embedding YOUTUBE and VIMEO videos?
    Thanks,

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

  2. Dustin Lammiman
    Member
    Plugin Author

    Posted 1 year ago #

    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

  3. sonyxperiageek
    Member
    Posted 8 months ago #

    Does YouTube and Vimeo work now?

  4. Dustin Lammiman
    Member
    Plugin Author

    Posted 8 months ago #

    YouTube, yes. Vimeo, no.

  5. sonyxperiageek
    Member
    Posted 8 months ago #

    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.

  6. owen.hoskins
    Member
    Posted 8 months ago #

    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!

  7. sonyxperiageek
    Member
    Posted 8 months ago #

    Where do I find this: video-js-for-wordpress/videojs ?

    Thanks.

  8. Dustin Lammiman
    Member
    Plugin Author

    Posted 8 months ago #

    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.

  9. sonyxperiageek
    Member
    Posted 8 months ago #

    Yay, thanks! Saves me from adding stuff to the code! :)

  10. Dustin Lammiman
    Member
    Plugin Author

    Posted 8 months ago #

    Okay, commited the update to SVN so you should see the option to update any time now.

  11. sonyxperiageek
    Member
    Posted 8 months ago #

    Got it. Works now.. Thanks!

  12. onetrev
    Member
    Posted 7 months ago #

    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"

  13. fizadmin
    Member
    Posted 7 months ago #

    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"}'>

  14. fizadmin
    Member
    Posted 7 months ago #

    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?

  15. onetrev
    Member
    Posted 7 months ago #

    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.

  16. fizadmin
    Member
    Posted 7 months ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic