Beloggadisbiru here
YOUTUBE music player
March 18, 2011 • 4:11 PM • 5 comments

Assalamualaikum ,, ade sehat ini hari ? da mkan belom ? *byk tny je nysa nih . okok,,rmai gak yg nak letak youtube music player kat blog ..tp tak tau rite how nk bwt ? let's do together  .
*heyy !baca Bismillah dulu  .

1  design > page element > add a gadget > HTML javascript
  2 pegi bkak youtube dan cari laa lagu fav korang ke apa ke .
3 dah dapat lagu pilihan korang ? ambil embed code .
contoh mcm ni ;


<object width="425" height="349"><param name="movie" value="http://www.youtube.com/v/ni4wyRB9bx8?fs=1&amp;hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/ni4wyRB9bx8?fs=1&amp;hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="349"></embed></object> 


4 korang ubah ;
    425(width) = 200
349 (height) = 25




AUTOPLAY youtube music player


 <object width="200" height="25"><param name="movie" value="http://www.youtube.com/v/ni4wyRB9bx8?fs=1&amp;hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/ni4wyRB9bx8?fs=1&amp;hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="200" height="25"></embed></object> 


okok ,,kalau korang nk music tu autoplay .. 
tukarkan ; 


fs = autoplay


akan jadi mcm ni ;


 <object width="200" height="25"><param name="movie" value="http://www.youtube.com/v/ni4wyRB9bx8?autoplay=1&amp;hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/ni4wyRB9bx8?autoplay=1&amp;hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="200" height="25"></embed></object> 




DONE ! 

Kalau nk copypaste tuto ni kredit dkt nysa

Owner ;)


Assalamualaikum
I'm Niesa ;) Instagram: Anna.nisaa
Profile
Stuff
Tagboard



Followers





Rewind



Credits


Template By: Nurul Afiqah
Big helped: Aulia Septiya
Edited: Niesa Rahim