WordPress.org

Ready to get started?Download WordPress

Forums

Viper's Video Quicktags
HOW TO: Embed New YouTube Player (5 posts)

  1. Ralph83
    Member
    Posted 3 years ago #

    I guess more people are wondering about how to get VVQ to use the new YouTube player (v3), so here's how:

    1 - Open the following file: vipers-video-quicktags.php

    2 - FIND:

    'url' => 'http://www.youtube.com/' . $embedpath . $color1 . $color2 . $border . '&rel=' . $rel . '&fs=' . $fs . '&showsearch=' . $showsearch . '&showinfo=' . $showinfo . $autoplay . $loop . $hd,

    3 - REPLACE WITH:

    'url' => 'http://www.youtube.com/' . $embedpath . $color1 . $color2 . $border . '&rel=' . $rel . '&fs=' . $fs . '&showsearch=' . $showsearch . '&showinfo=' . $showinfo . $autoplay . $loop . $hd . '&version=3&modestbranding=1&autohide=1',

    4 - Save & Upload the file to your server

    5 - If you're using a cache plugin: delete cached files

    That's it!

    As you can see, I've also added modestbranding=1&autohide=1. The modestbranding parameter removes the YT logo from the control bar. And the autohide parameter, hides the control bar after a few seconds (after the video starts playing).

    For more player parameters, please visit: http://code.google.com/apis/youtube/player_parameters.html

    http://wordpress.org/extend/plugins/vipers-video-quicktags/

  2. riversatile
    Member
    Posted 3 years ago #

    Yeah !!! It's working very well !

    Thanks !

  3. Ralph83
    Member
    Posted 3 years ago #

    You're welcome! :)

  4. technabob
    Member
    Posted 3 years ago #

    Yes, works great - fixes some nagging issues with the still being all stretched in the old player too.

    I only wish there were support for the IFRAME code instead of the Flash code, but maybe that'll come at some point.

    Viper should at least merge your patch into the main code if he has time (which I know he doesn't :)

  5. Ralph83
    Member
    Posted 3 years ago #

    Good to read it worked for you!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic