HIDDEN_SEO

CSS_OVERWRITE

HIDDEN_MUSIC

Music Embedded with YouTube

Get embeded URL from YouTube



Click into Share button and choose Embed. From there customize your configuration and copy the URL.




Modify the direct URL

Paste it into ur javascript gadget. Then start modify the code. at the end of the url u can add several parameter. The parameter can be found in iframe player parameter. Add to
the last character of the url. For example,
https://www.youtube.com/embed/JGwWNGJdvx8
become
https://www.youtube.com/embed/JGwWNGJdvx8?&autoplay=1

Make loop in a single video
To enable infinite loop into it, make a playlist with your YouTube account. Then click edit button on your playlist.










Get your source code by click the share button > embed.










Lastly modify the URL.
For example,
https://www.youtube.com/embed/videoseries?list=PLH7VE933TYYXVKQhAWty_oLqjUO6JPWVZ

become
https://www.youtube.com/embed/videoseries?list=PLH7VE933TYYXVKQhAWty_oLqjUO6JPWVZ&loop=1

Changing embed sizing 
To apply different size in embedding, note that the size is declared in px for width and height. Standard sizing ratio will be follow the 1:1, 4:3, 16:9 :16:10 and etc.

For example,
<iframe width="300" height="300" ...> </iframe> which is a 1:1 ratio.

End Result 


<!-- YOUTUBE VIDEO EMBED -->



<iframe width="300" height="200"

src="https://www.youtube.com/embed/videoseries?list=PLH7VE933TYYXVKQhAWty_oLqjUO6JPWVZ&autoplay=1&loop=1" allow="autoplay; encrypted-media">

</iframe>




NIT FOR ALL - FACEBOOK
Please stay with us, more about Arduino will be publishing in the up coming post. Feel free to share this article around and do like & follow at our Facebook page.   Music Embeded with YouTube

2 comments: