Quote:
Originally Posted by yotsume
Is it possible to edit the Youtube main definition and Youtube Short URL definition so that when a video has finished playing no related videos show at the end?
What edits would I need to make?
|
Yes....Your Youtube replacement HTML should look like this:
<iframe width="$ameinfo[width]" height="$ameinfo[height]" src="http://www.youtube.com/embed/$p1?start=$p2" frameborder="0" allowfullscreen></iframe>
You want to add
&rel=0 to that output URL. (rel is the parameter for related, 0 means off).
I added that after the $p2, so it ends up being this:
<iframe width="$ameinfo[width]" height="$ameinfo[height]" src="http://www.youtube.com/embed/$p1?start=$p2&rel=0" frameborder="0" allowfullscreen></iframe>
Make the same change to the Youtube short URL definition.