WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Viper's Video Quicktags] BUG – with pagination, videos doesn't show on the first

[Resolved] [Plugin: Viper's Video Quicktags] BUG – with pagination, videos doesn't show on the first

  • If you have more videos and use paging with:

    <!--nextpage-->

    it doesn’t work properly. The ending javascript like

    <script type="text/javascript">
        swfobject.embedSWF("http://www.youtube.com/v/JEVfidJRR2g&rel=0&fs=1&showsearch=0&showinfo=0", "vvq-203-youtube-1", "425", "344", "10", vvqexpressinstall, vvqflashvars, vvqparams, vvqattributes);
        swfobject.embedSWF("http://www.youtube.com/v/BoeuXk1j01c&rel=0&fs=1&showsearch=0&showinfo=0", "vvq-203-youtube-2", "425", "344", "10", vvqexpressinstall, vvqflashvars, vvqparams, vvqattributes);
    </script>

    is generated only on the last page, so there are just thumbnails and hrefs on first pages, not embedded video.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Alex Mills (Viper007Bond)

    @viper007bond

    I dug into the <!--nextpage--> code — it looks like I’m going to have to move those swfobject calls to the footer in order to fix this bug.

    Thanks for the report, I don’t ever use this tag.

    Ok, this can be easily solved (patched). Go to vipers-video-quicktags.php to line 309 and change it to:

    add_action( 'wp-footer', array(&$this, 'SWFObjectCalls'), 50 );

    Plugin Author Alex Mills (Viper007Bond)

    @viper007bond

    Fixed in v6.4.0. Your fix was on the right track but required further changes. 😉

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] [Plugin: Viper's Video Quicktags] BUG – with pagination, videos doesn't show on the first’ is closed to new replies.