Cody Bonney
Cody Bonney

Reputation: 1658

Removing the related videos from an embedded youtube video

Is there an easy way to do this still? This snippet used to work but it appears to be broken now.

      <iframe title="YouTube video player" width="640" height="510" src="http://www.youtube.com/embed/5yle1USyhCY&rel=0" frameborder="0" allowfullscreen></iframe>

Thanks!

Upvotes: 2

Views: 2669

Answers (1)

Cody Bonney
Cody Bonney

Reputation: 1658

Ahh, silly me. Should have been a question mark instead of an ampersand.

That url needs to be:

http://www.youtube.com/embed/5yle1USyhCY?rel=0

instead of:

http://www.youtube.com/embed/5yle1USyhCY&rel=0

Upvotes: 4

Related Questions