Support » Plugin: Viper's Video Quicktags » [Plugin: Viper's Video Quicktags] Vimeo Embed Failing if using HTTPS in Vimeo URL

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi,

    Sorry to post the topic off topic, but I tried the last activity in order to interact with you.

    REF: Post Content Shortcodes

    I checked the log for version 0.3. I found very interesting the option of using posts from other blogs in a multisite environment ..

    [post-content blog_id = 12 id = 25]

    Any predictions for this version 0.3 release?

    Thank’s

    Fernando Eduardo Lourenço
    Brazil

    ninnypants

    (@ninnypants)

    The issue is that the plugin currently only checks for http urls to enable https you can modify the file and replace
    'http://' == substr( $content, 0, 7 )
    with
    preg_match( '#^https?://#i', $content )

    KaraLeah

    (@karaleah)

    Need a bit more instruction… modify which file and which line of code is ‘http://’ == substr( $content, 0, 7 )?

    Thanks!

    Plugin Author Alex Mills (Viper007Bond)

    (@viper007bond)

    ninnypants sent me a patch — I’ll push the fix out to my plugin soon.

    KaraLeah

    (@karaleah)

    Alex,

    You rock, thank you!

    Have just come across the same issue.
    Does anyone know when the update/fix will be released?
    Thanks

    Hey DanWell,

    My impression was that Alex was going to have it done a few weeks ago. I’ve given up waiting though – needed to get my Vimeo videos embedded. Found a different plug-in which works perfectly. Seems to work alongside Alex’s with no issues either. Although I went back and transferred all my other embeds to the new plug-in, just so I only have one running.

    It’s called “TentBlogger Vimeo, YouTube, RSS Embed”

    Thanks KaraLeah
    I also went and found another plugin imaginatively called ‘wordpress video plugin’ which seems to do the job fine. It doesn’t have the same level of control as Viper’s though so I’ll keep an eye out for Alex’s update and will look at TentBlogger in the meantime.

    Plugin Author Alex Mills (Viper007Bond)

    (@viper007bond)

    Fixed in v6.4.2.

    4th of July and my 9 to 5 got in the way.

    Playing Vimeo videos from an HTTPS page still doesn’t work for me. The https URL passes verification (is_url function) within the plugin but the vimeo URLs don’t change to https (which is necessary for it to work).

    Here’s what I changed in the plugin to get it to work for Vimeo:

    Changed:
    $iframeurl = ‘http://player.vimeo.com/video/’ . $videoid;
    /* to */
    $protocol = ‘http’;
    if (strpos($content, ‘https://’) !== FALSE)
    $protocol = ‘https’;
    $iframeurl = $protocol.’://player.vimeo.com/video/’ . $videoid;

    and changed:
    return ‘<span class=”vvqbox vvqvimeo” style=”‘ . esc_attr( ‘width:’ . $atts[‘width’] . ‘px;height:’ . $atts[‘height’] . ‘px;’ ) . ‘”><iframe id=”‘ . esc_attr( $objectid ) . ‘” src=”‘ . esc_url( $iframeurl ) . ‘” width=”‘ . esc_attr( $atts[‘width’] ) . ‘” height=”‘ . esc_attr( $atts[‘height’] ) . ‘” frameborder=”0″>‘ . esc_url( ‘http://www.vimeo.com/’ . $videoid ) . ‘</iframe></span>’;

    to

    return ‘<span class=”vvqbox vvqvimeo” style=”‘ . esc_attr( ‘width:’ . $atts[‘width’] . ‘px;height:’ . $atts[‘height’] . ‘px;’ ) . ‘”><iframe id=”‘ . esc_attr( $objectid ) . ‘” src=”‘ . esc_url( $iframeurl ) . ‘” width=”‘ . esc_attr( $atts[‘width’] ) . ‘” height=”‘ . esc_attr( $atts[‘height’] ) . ‘” frameborder=”0″>‘ . esc_url( $protocol.’://www.vimeo.com/’ . $videoid ) . ‘</iframe></span>’;

    Hope this helps someone.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Plugin: Viper's Video Quicktags] Vimeo Embed Failing if using HTTPS in Vimeo URL’ is closed to new replies.