Ready to get started?Download WordPress


[resolved] slideshow plugin - add rel=0 to end of src (2 posts)

  1. pybiru
    Posted 1 year ago #


    I am using wordpress slideshow plugin...


    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?


  2. pybiru
    Posted 1 year ago #

    I just hardcoded it in the end here...


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

Topic Closed

This topic has been closed to new replies.

About this Topic