slideshow plugin – add rel=0 to end of src
-
Hi,
I am using wordpress slideshow plugin…
https://www.ads-software.com/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)
Viewing 1 replies (of 1 total)
- The topic ‘slideshow plugin – add rel=0 to end of src’ is closed to new replies.