• klynam

    (@klynam)


    For everyone else wanting to know how to use the YouTube embed parameters with Smart YouTube PRO, the following information helped me quite a bit…

    https://developers.google.com/youtube/player_parameters (this has ALL the parameters for AS3 and HTML5 embeds – *You need a Google account to see the page)

    Here’s another page with some of the same info: http://www.wickedmoo.com/youtube-code-secrets/

    To use these in Smart YouTube PRO do this…

    1. Open your page/post in the HTML editor
    2. Put your video link inside the standard p tags
    3. At the end of your video link, before the closing p tag, add the following: “?version=3&parameter=X”

    Example:

    <p>httpvh://www.youtube.com/watch?v=uOkE15rSw-Y?version=3&autohide=1&showinfo=0&modestbranding=1&color=white&border=1&color1=56867f&color2=56867f</p>

    Notes…

    “version=3” calls the AS3 player(not sure what calls HTML5 player)
    “autohide=1” hides the player controls until user mouseover
    “showinfo=0” turns off the video info (title, etc.)
    “modestbranding” reduces the YouTube branding
    “color=white” changes to progress bar from red to white (those are the only two options I think)
    “border=1” supposed to create a border around the player (didn’t work for me in FF)
    “color1=56867f” supposed to set the color of the border (didn’t work for me in FF)
    “color2=56867f” supposed to set some other color (didn’t work for me in FF)

    Although the link above says all the listed parameters work with both players, I could not get the “border” and “color1” and “color2” parameters to work in FF.

    As usual, your mileage may vary and various themes and plugins could affect the results. The above info is offered purely in the hopes of helping your day go just a little better. 🙂

    PS. If you’re not using Smart YouTube PRO, here’s how to call the player directly:

    https://google-developers.appspot.com/youtube/iframe_api_reference#Loading_a_Video_Player

    And two more pages with good info here (some redundant w/ above):

    http://www.kevinrape.com/how-to-embed-youtube-video-code-iframe/

    http://www.makemyvision.com/2011/06/youtube-video-most-embedded-iframe.html

    Good luck!!!

    http://wordpress.org/extend/plugins/smart-youtube/

  • The topic ‘Smart YouTube PRO video embed parameters’ is closed to new replies.