Featured Video & Solution to Stop Related Video Recommendations

Posted in: Newspaper
Post count: 23

Hi, I’m not seeing a solution to this and I’ve been reading through the forum (promise)! When using featured video and YouTube I need to stop these random related videos from showing in my blog like many others have stated. I’ve modified the code in the YouTube settings but since this isn’t embedded, it doesn’t appear to work. Neither does adding the rel=0 code to the link. Is there a work around that I’m missing to stop the irrelevant YouTube videos from appearing at the end of the featured video? Thanks.

Post count: 22421

Hi,
Please follow this topic as the solution posted there works:
https://forum.tagdiv.com/topic/how-to-turn-off-suggested-videos-on-youtube/
Thank you!

Post count: 23

I checked out the screencast and I do not have a file named td_videosupport.php. Which file should I look in with my theme to make this change to the code? Thanks.

Update: never mind I see this needs to be done via FTP let me try that. Thanks!

Post count: 23

Okay, I added the code in the file itself and it did not stop the video recommendations. Here’s how I added the code following your directions. http://www.screencast.com/t/rId6cZ3LB6

Any other thoughts?

Thanks,
Tenaya

Post count: 22421

Hi,
Please also clear your cache after this modification as it could be loading from cache. In this case you will only see the modification once the cache is reset.
Thank you!

Post count: 23

Hi, WP cache said 0 files but I hit delete anyway to clear and cleared browser cache. Still seeing recommended videos although they are more relevant than before they won’t go away. Thanks.

Post count: 22421

Hi,
Are you sure you are adding the rel=0 properly like shown in the screenshots? I just tested this again and it works properly. Are you adding it like so: &rel=0? There is a little & symbol in there as well.
This is how it worked on my end: http://screencast.com/t/J6Ry6JmPyqA
Thanks.

Post count: 23

Yes you can see its here http://www.screencast.com/t/rId6cZ3LB6

Not sure what’s wrong.

Post count: 22421

Hi,
I’m not sure either. Please provide a link to a post with such a video so I can inspect it, but I will only be available on monday as we do not work on weekends.
Thank you!

Post count: 23
Post count: 22421

Hi,
I have checked your site and rel=0 seems to appear twice inside the code so that is what is happening: http://screencast.com/t/ub8K1ByhVuu. Please remove the first rel=0 and only leave the second one.
Thanks.

Post count: 23

Hi, that code that you’ve shown doesn’t even appear that way in the td_video_support file. It looks like this:

<iframe id=”td_youtube_player” width=”600″ height=”560″ src=”‘ . td_global::$http_or_https . ‘://www.youtube.com/embed/’ . self::get_youtube_id($videoUrl) . ‘?enablejsapi=1&feature=oembed&wmode=opaque&vq=hd720&rel=0’ . self::get_youtube_time_param($videoUrl) . ‘” frameborder=”0″ allowfullscreen=””></iframe>

So how can I remove that first rel=0 that you’re showing in your screenshot?

Thanks,
Tenaya

Post count: 23

Bogdan, I finally found it. Thanks!

I had to go back into the post itself and remove it from the link copied from YouTube into the featured video space within the post. It’s working now. 🙂

Post count: 22421

Hi,
Glad you solved it and is finally working.
Have a nice day.

Viewing 14 posts - 1 through 14 (of 14 total)
The forum ‘Newspaper’ is closed to new topics and replies.