Labels

P.S. Blog visitors interested in K-pop/Korea-related matters:

Thank you for visiting. However, kindly refrain from asking questions through my chatbox, which is dedicated for personal friends ONLY. Any questions, please post it on the relevant blog posts, or at the following link. I'll definitely try my best to help answer your questions ^^
http://musical-bell.blogspot.com/2012/01/faq-everything-and-anything-about-korea.html

Monday, December 5, 2011

Youtube playlist

Have been trying to loop my youtube playlist endlessly
but keep failing and i thought youtube restricts the function
well
it ends up to be my own mistake for getting the codes wrong >.<
To loop infinitely, it's loop=1, instead of the usual wmp loop=99 =.=
So a brief tutorial here, to autoplay and to loop youtube video/playlist...

Step 1:
- Locate specific video/playlist URL within embed code (bolded and underlined in examples below)
- Ignore extra codes behind the URL (if any), eg shown in Example 2

Step 2:
- To autostart, add: &autopstart=1
- To loop infinitely, add: &loop=1
- Additional codes to be added right after the specific URL (note Example 2), without any space, within the apostrophes.

Example 1:
Standard YT video embed code:
<iframe width="420" height="315" src="http://www.youtube.com/embed/cKmBQI4VASQ" frameborder="0" allowfullscreen></iframe>

Autoplay and loop added:
<iframe width="420" height="315" src="http://www.youtube.com/embed/cKmBQI4VASQ&autopstart=1&loop=1" frameborder="0" allowfullscreen></iframe>


Example 2:
Standard YT playlist embed code:
<iframe width="560" height="315" src="http://www.youtube.com/embed/videoseries?list=PL69BEEF3977D875C5&amp;hl=en_US&amp;hd=1" frameborder="0" allowfullscreen></iframe>


Autoplay and loop added:

<iframe width="560" height="315" src="http://www.youtube.com/embed/videoseries?list=PL69BEEF3977D875C5&autopstart=1&loop=1&amp;hl=en_US&amp;hd=1" frameborder="0" allowfullscreen></iframe>




Enjoy my autostarted and infinitely looped Xmas songs
MERRY JELLY CHRISTMAS ^^

No comments: