Support » Fixing WordPress » slideshow plugin – add rel=0 to end of src

  • Resolved pybiru

    (@pybiru)


    Hi,

    I am using wordpress slideshow plugin…

    http://wordpress.org/extend/plugins/slideshow-jquery-image-gallery/

    Works great, but for the videos I need to add “&rel=0” to the end of the src. I did a piece of jquery that works(if I just hardcode 2 youtube iframe’s onto a page), but it doesn’t work on the plugin videos/iframes.

    $('iframe').each(function () {
     	var videoSrc = $(this).attr('src');
    	$(this).attr('src', videoSrc + '&rel=0');
    });

    Anyone have any idea why it wouldn’t work on plugin iframes or if there’s a solution for this using this plugin?

    Thanks.

Viewing 1 replies (of 1 total)
  • I just hardcoded it in the end here…

    ‘/wp-content/plugins/slideshow-jquery-image-gallery/js/SlideshowPlugin/slideshow.min.js’

    Then just search in text editor for “&wmode=opaque” and add the rel=0 to the end. Not ideal but works.

Viewing 1 replies (of 1 total)
  • The topic ‘slideshow plugin – add rel=0 to end of src’ is closed to new replies.