<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d8556557661831598361\x26blogName\x3dWanie\x27s+Blog\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttps://waniegreen.blogspot.com/search\x26blogLocale\x3den\x26v\x3d2\x26homepageUrl\x3dhttp://waniegreen.blogspot.com/\x26vt\x3d3009106814724248370', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe", messageHandlersFilter: gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER, messageHandlers: { 'blogger-ping': function() {} } }); } }); </script>
monyet
OBLIVIATE;
Muse
Specs
Way Out
Credits
+ follow Dashboard
Tutorial : Tukar new code Youtube player to Youtube player yg lama
23 July 2011 2:36 PM 0 comments

Holla Assalamualaikum :) I know uolss having a problem bila guna code baru youtube neh. Nampak semak + buruk + cacat kan? Haha okey wanie tolong korang fix youtube player tu ;)

Follow the steps ;)


1. Like usual, ambil embed code lagu yg korang nak.

2. Paste code lagu tu dekat Design > Page Element > Add a gadget > HTML/JavaScript.


3. Then korang akan dapat code macam neh. #memang tak sama dgn korang punya sebab neh lagu lain, tak sama macam korang tau tau.
Contoh code yg korang dapat :
<object width="425" height="349"><param name="movie" value="http://www.youtube.com/v/CN0qNKWbVc4?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/CN0qNKWbVc4?version=3&amp;hl=en_US&amp;rel=0" type="application/x-shockwave-flash" width="425" height="349" allowscriptaccess="always" allowfullscreen="true"></embed></object>

4. Okey tukar code yg neh. #sejibik tau!
version=3&amp;hl=en_US&amp;rel=0"></param>
Dengan yang neh :
fs=1&amp;autoplay=1&amp;hl=en_US&amp;color1=0x00cccc&amp;color2=0x00cccc" />

5. Next code yang neh. #sejibik tau!
version=3&amp;hl=en_US&amp;rel=0"
Dengan yang neh :
fs=1&amp;autoplay=1&amp;hl=en_US&amp;color1=0x00cccc&amp;color2=0x00cccc"

6. Next, nampak tak code yang neh dekat code baru tu? #sejibik tau!
color1=0x00cccc&amp;color2=0x00cccc
Okey itu warna untuk youtube player korang tau. Replace semua 00cccc dengan code warna yg korang nak. Ada 4 code tau! Tertinggal 1, tak jadi lah warna nya nanti ;) Tengok code dekat sini. P/S : ambil code warna je, NO symbol *#*, NO capslock.

7. Okey done? Next, 
width="425" height="349"
Tukar lah dengan width and height yg korang nak eh? ;)

8. Neh hasil contoh Wanie :) Btw, neh lagu Selepas Kau Pergi by Laluna. Kalau nak guna lagu neh pon bolehh~ ;)
<object width="200" height="25"><param name="movie" value="http://www.youtube.com/v/CN0qNKWbVc4?fs=1&amp;autoplay=1&amp;hl=en_US&amp;color1=0x00cccc&amp;color2=0x00cccc" /><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/CN0qNKWbVc4?fs=1&amp;autoplay=1&amp;hl=en_US&amp;color1=0x00cccc&amp;color2=0x00cccc" type="application/x-shockwave-flash" width="200" height="25" allowscriptaccess="always" allowfullscreen="true"></embed></object>
9. Annnnnnnd done :) #kalau tak jadi tanya wanie dekat page Wanie Green.