0

I have a youtube player integrated into my site, the problem is if I'm logged into my google account, every time I pause the video an inline menu appears showing recommended videos. Using playerVars: {rel: 0} only removed the recommended videos from the end, so that doesn't work for this problem. I could be mistaken, but I think this is a new feature of the Youtube API.

So, my question is, is there an option to removed those related videos without logging out of my google account

Jacob
  • 524
  • 5
  • 18
  • This answer might help: https://stackoverflow.com/questions/13418028/youtube-javascript-api-disable-related-videos – kaushik94 Dec 20 '17 at 11:55
  • Like I said, using that code helps with the recommended videos that display after finishing the playback of the video. My problem is, that recommended videos pop up whenever I pause the video. – Jacob Dec 20 '17 at 11:58
  • 1
    Using `playerVars: {rel: 0},` seems to work fine for me. – NewToJS Dec 20 '17 at 12:05
  • Possible duplicate of [Youtube Javascript API - disable related videos](https://stackoverflow.com/questions/13418028/youtube-javascript-api-disable-related-videos) – coudy.one Dec 20 '17 at 12:18

0 Answers0