WordPress.org

Ready to get started?Download WordPress

Forums

Viper's Video Quicktags
[resolved] BUG - with pagination, videos doesn't show on the first (4 posts)

  1. novakpeter
    Member
    Posted 2 years ago #

    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/

  2. Alex Mills (Viper007Bond)
    Moderator
    Plugin Author

    Posted 2 years ago #

    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.

  3. novakpeter
    Member
    Posted 2 years ago #

    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 );

  4. Alex Mills (Viper007Bond)
    Moderator
    Plugin Author

    Posted 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic