YR Tutos

ENTRY ABOUT QUOTES STUFFS FESBUK TWITTER NEWER OLDER

Youtube Player Without Video
Annyeong haseyo chingu. Today amoy nak ajar youtube player without video. Mulakan dengan bismillah takut tak menjadi pulak, hikss. Amoy bagi code autoplay punya. Contoh macam nie :


Dashboard > Design > Add A Gadget > HTML/Javascript

Copy code nie and paste dekat HTML/Javascript 
<center><object width="30" height="25"><param name="movie" value="http://www.youtube.com/v/Y1xs_xPb46M?fs=1&amp;autoplay=1&amp;hl=en_US&amp;rel=0" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><embed src="http://www.youtube.com/v/Y1xs_xPb46M?fs=1&autoplay=1&amp;hl=en_US&amp;rel=0" type="application/x-shockwave-flash" width="30" height="25" allowscriptaccess="always" allowfullscreen="true"></embed></object></center>
Chup chup :
SWIFT : tukar size youtube korang. Boleh tengok dekat SINI.
SWIFT : tukar dengan code URL youtube korang.
# if tak nak center korang boleh buang code <center></center> kay.

Cara Nak Ambil URL Youtube

Bagi yang tak tahu nak amik url youtube follow step ini kay. First korang bukak YOUTUBE. Then cari lah lagu yang korang nak letak dalam blog.


Share > Embed > Tick Use old embed code
Then korang ambik code http://www.youtube.com/..... sampai dekat tanda '?'  Tak paham erk? Contoh code youtube korang macam nie :

<object width="560" height="315"><param name="movie" value="http://www.youtube.com/v/Y1xs_xPb46M?version=3&amp;hl=en_US&amp;rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/Y1xs_xPb46M?version=3&amp;hl=en_US&amp;rel=0" type="application/x-shockwave-flash" width="560" height="315" allowscriptaccess="always" allowfullscreen="true"></embed></object>

Ambil code yang warna biru tu okay? : )

Label:


1 comment[s] | back to top