Open LightIllusion opened 4 years ago
As above, when Lity is use to open a iframe based YouTube video there is no 'rel=0' parameter. That means when the video ends a bunch of 'random' videos are shown.
With 'rel=0' used, just related videos from the same channel are show,
How cal I add that parameter?
You can force it by modifying the YouTube code starting on line 209 by adding:
{ rel: 0 },
under
$.extend( { autoplay: 1 },
Perfect - that worked a charm!
As above, when Lity is use to open a iframe based YouTube video there is no 'rel=0' parameter. That means when the video ends a bunch of 'random' videos are shown.
With 'rel=0' used, just related videos from the same channel are show,
How cal I add that parameter?