A chrome-less player for YouTube movies!


Use this player to show your favorite YouTube movies on your page! Or easily transform your Youtube movie into a HTML background!


Tips and tricks:

You can easily create a background video switcher as the button below:

The code for this is:


v. 2.9.1



Also available as WordPress® component.

You can find the WordPress plugin here: http://wordpress.org/extend/plugins/wpmbytplayer/ The WordPress component is internationalized and it’s available in English, Italian and Spanish (thanks to Andrew Kurtis http://www.webhostinghub.com). below a short tutorial on how to install and configure it on your WordPress site.


What’s new in 2.9.1:

  • Bug fix: if “showControls” was set to false there were errors due to a missed condition in the code.

What’s new in 2.9.0:

  • !Important fix: As Youtube API 2.0 has been removed the component moved to the API v.3; now if you want to get the video information (title, description, etc.) you need a Google API key that should be passed to the component as option. See the doc for more informations.
  • Improved the control that check if the video is ready to play.

 What’s new in 2.8.5:

  • Feature: Added the ability to apply CSS filters to the video.
  • Feature: Added the volume slider on the control bar.

What’s new in 2.8.0:

  • Feature: Reintroduced the “optimizeDisplay” option (default is true). If set to false the video will be played without any crop.

What’s new in 2.7.9:

  • Bug fix: When the player was instanced inside an iframe cross domain it was throwing an error.

578 Responses

  1. jb
    jb at · Reply

    Hey pupunzi,
    trying to get the video to play in background for a post on my site but nothing happens/shows…

    I deleted the background that i had placed in the theme hoping something would show but still nothing.
    Not savvy @ all with php and learning all htis at once, but willing to try…

    some help/direction PLEASE…

  2. lee
    lee at · Reply


    Can you use the plugin with multiple videos on one page ?

    Thanks Lee

  3. Thorin
    Thorin at · Reply

    Sorry, as I’ve seen you already described the issue in your docs. :)

    Thank you very much for such a great plugin!

  4. Thorin
    Thorin at · Reply

    Hey Matteo,

    I’m planning to use mb.ytplayer on my website. I read about the autoplay issue on mobile and that there’s a fallback for that by showing a bg image instead of the video.

    Now my question is: Is there a reason for it that an image is used as fallback instead of let’s say the embedded video with autoplay=0?

    Wouldn’t it be possible to show the iframe without autoplay for mobile users so that they have to press play before the video starts? Seems a better solution to me than to show only an image.

    Or am I missing something?

    Best regards

  5. AlThemist
    AlThemist at · Reply

    Hi Matteo,

    would this script work with the new YouTube API 3.0 or it would need to be reworked? If so – do you have plans to update it?

    1. AnyDog
      AnyDog at ·

      Hi Pupunzi,

      I just read somewhere that API key will be required … Do you know anything about that ? If yes, that will be really bad …

  6. geoffrey
    geoffrey at · Reply

    I’m trying to get the video to stop at a certain section — or only play a small duration. I tried using “stopAt:8″, but it doesn’t seem to work? Could you help?

    Here’s the code:

    My video

  7. Blaise
    Blaise at · Reply

    Hi Pupunzi,

    I finally found a component that uses your Ytplayer jquery for Joomla 3.4 and that’s amazing. By myself I was unable to implement this in Joomla it’s very hard cause security to override.

    I wonder how you do to have the fadeIn fadeOut on load page, on the videos that you diffuse on the pages of your website ?

    That’s incredible !!!! how do you do that, it’s not a Jquery ?


  8. Rich
    Rich at · Reply


    you are brilliant. getting me the share on fb to download. you earned it in every way. a true artist. I love the work

  9. Roy
    Roy at · Reply

    Hi, I was wondering if this plugin works for shopify?

  10. mahdi
    mahdi at · Reply

    Hi there

    Can I us of this plugin for playing video of self hosted ?

    If the answer is yes? How to?


1 30 31 32

Leave a Reply