Support » Plugin: Viper's Video Quicktags » Correct Youtube URL

  • Hello and thanks for the great support.

    After a few months using Viper’s Video Quicktags, all the youtube URL’s embedded in my website worked like this:

    I have recently updated wordpress and also updated Viper’s. After that, Viper’s not detecting my old Youtube URL’s and I have to insert them like this:

    In the other format I get an error message “Invalid URL”

    I don’t care using a different type of URL from now on but I have hundred of videos already embedded that won’t be viewable with the new version of Viper’s.

    So I had to downgrade and went back to the older version of Viper’s.

    Is there any solution to use new ViperĀ“s and it detect my old Youtube URL’s?


Viewing 1 replies (of 1 total)
  • I think I found the text to be modified in the new version of Viper’s to make it work with my old URLs.

    This code is in my actual Vipers Plugin (old version)

    // Parse the URL
    var PreviewID = jQuery(“#vvq-previewurl”).val().match(/http:\/\/www\.(|youtube|[A-Za-z]{2}.youtube)\.com\/(watch\?v=|w\/\?v=)([\w-]+)(.*?)/);

    How could I add it to the newest Viper’s version?


Viewing 1 replies (of 1 total)
  • The topic ‘Correct Youtube URL’ is closed to new replies.