First , Dashboard > Design > Add A Gadget > HTML/Javascript
Second , cari kod di youtube pastekan. contoh
<iframe title="YouTube video player" width="560" height="349" src="http://www.youtube.com/embed/QGJuMBdaqIw" frameborder="0" allowfullscreen></iframe>caranya ..
pergi kt YouTube .. Search lagu yg kita nk letak dlm blog . Tekan button SHARE > Embed > amek code yg kt bwh uh ..untuk replay lagu just tambahkan code merah nih
?rel=0&autoplay=1contoh :
<iframe title="YouTube video player" width="560" height="349" src="http://www.youtube.com/embed/QGJuMBdaqIw?rel=0&autoplay=1" frameborder="0" allowfullscreen></iframe>
untuk buat button kecik mcm kyna just tukarkan width n height nya kpd width=30 , height=30
kalau nk player yg kecik tukar jdy width=180 , height=180
save .. SIAP ! kalau jdy bgtaw kyna taw :)
No comments:
Post a Comment