28 May 2011

Tutorial : YouTube Player.


Assalamualaikum semua. Salam Sabtu. Salam hujung Minggu. Salam cuti sekolah! Hahaha. Sebelum ni, Kihah ada buat Tutorial You Tube Player, Tapi tak jadi. So, Kihah buat lain. Yang ni wajib jadi. Kalau tak jadi, salahkan Mr. YouTube!. Haha

1. Go to YouTube
2. Search your song.
3. Tekan Button Share dan tekan Embade. Tak tahu? Rujuk gambar buruk bawah ni.


4. Copy code.
5. Dashbord > Design > Add a Gadget > HMTL/JavaScript
6. Pastekan. *jangan save lagi!*
7. Jom kita edit kod.

Contoh kod ni.
Sebelum edit :

<object width="425" height="349"><param name="movie" value="http://www.youtube-nocookie.com/v/7M76rbFJ0yc?fs=1&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-nocookie.com/v/7M76rbFJ0yc?fs=1&amp;hl=en_US&amp;rel=0" type="application/x-shockwave-flash" width="425" height="349" allowscriptaccess="always" allowfullscreen="true"></embed></object>

KataKunci :
*Merah - tukarkan width -200. Height - 20.
*Biru - Ok. Ini adalah untuk autoplay. kalau tak nak autoplay, tak yah tukar. Kalau nak, tukarkan jadi &autoplay=1&loop=1
*Pink - tukarkan jadi false


Contoh kod.
Selepas edit.


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


8. Save.


p/s : kalau tak jadi, komen tau!

15 comments:

  1. kihah, akk k tnya siked ni. knapa kihah punya kod tu brulang ? kod akk tk berulang.

    kod akk tk der yg value an ps tu ..
    nanti akk bgi kod kat fb k ? ce tgok.

    ReplyDelete
  2. Kihah . Ape function warna pink tu erk ?

    ReplyDelete
  3. @Nur Syamimie Ouh. Yang pun tu ek?. Yang tu untuk disable besarkan video

    ReplyDelete
  4. kenape dia x autoplay pown hah ?
    my link _ http://yellowblaki.blogspot.com/

    ReplyDelete
  5. kihah . kenapa ade video ehh ? -_-

    ReplyDelete
  6. kalau kod dia tak ada pon fs tuy , mcam mna nk tukar jd autoplay ?

    ReplyDelete
  7. This comment has been removed by the author.

    ReplyDelete
  8. kihah, mcm mna nak letak youtube's music kat blog sya? takde 'design' word pun.

    ReplyDelete
  9. Macam mana nak buat dia tak de video ?

    ReplyDelete
  10. kihah mcm mane nak pergi design tuh? kat akk punya takda pon

    ReplyDelete

Your words defines you