Embedded Youtube video without related videos and with autoplay

Hi,

I want to embed a YouTube video into my Xibo layout, that autoplays but does not show related videos in the end. This doesn’t seem to work in combination.

I’ve tried:
<iframe width=”560″ height=”315″ src=”http://www.youtube.com/embed/42Je9HU0AXs?rel=0&autoplay=1″ frameborder=”0″ allowfullscreen></iframe>

and

<iframe width="1280" height="720" src="https://www.youtube.com/embed/saA0YNwQU0A?autoplay=1 rel=0&amp;controls=0&amp;showinfo=0" frameborder="0" ; encrypted-media" allowfullscreen></iframe>

and

<iframe width="1280" height="720" src="https://www.youtube.com/embed/saA0YNwQU0A?autoplay=1 rel="0" ;controls="0";showinfo=0" frameborder="0" ; encrypted-media" allowfullscreen></iframe>

Could someone tell me if this works?

Could you try the script that use YouTube API? ie Autoplay Embedded Youtube Videos

There is a list of playerVars that you can add there as well.