WordPress.org

Forums

Viper's Video Quicktags
[resolved] How to play youtube video in HD (5 posts)

  1. Night Vision
    Member
    Posted 2 years ago #

    Youtube has changed some things on their side with embed videos.

    I have found a fix for this (you need to edit 1 file from the plugin)

    edit the file "vipers-video-quicktags.php"

    search for > if ( $atts['hd'] )
    $hd = '&hd=1';

    change/edit into > if ( $atts['hd'] )
    $hd = '&hd=1&vq=hd720';

    now all youtube vids are played in 720p

    don't forget to select "Enable HD video" in the plugins settings. I tested all video's on my site and its working great!

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

  2. pr0t0c0l
    Member
    Posted 2 years ago #

    if i change that file i got a fatal error.

  3. Night Vision
    Member
    Posted 2 years ago #

    Then youve changed it the wrong way.

    Dont forget the '; (at the end of the line)

    $hd = '&hd=1'; change into >>> $hd = '&hd=1&vq=hd720';

    It should be working, Ive changed the file on 2 of my sites and its working.

  4. pr0t0c0l
    Member
    Posted 2 years ago #

    no, i changed it fine.. got error all the time and the plugin is automaticaly deactivated.

  5. Night Vision
    Member
    Posted 2 years ago #

    could you post your source code on this site: http://pastebin.com from the file "vipers-video-quicktags.php"

    i have posted some RAW php code here: http://pastebin.com/raw.php?i=JQwhNqWU

    it should be working, if you get errors or plugin is automaticaly deactivated, you changed it the wrong way.

    i have changed thes files for more people (same code) and the video plays HD again.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Viper's Video Quicktags
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic