Hafiz Zulkafly
Memaparkan catatan dengan label Player. Papar semua catatan
Memaparkan catatan dengan label Player. Papar semua catatan

Tutorial : Music Player Mine Version #2

Khamis, Ogos 22, 2013

Assalamualaikum

Short update . Nah another tutorial related to music player for your blog . Compatible for all template . Nothing special . I  just add up some hover . Feel free to use it . Mind to comment first before you take it . I suggest , to do not change any code other than the bold one for the best view result . Thank You .


The Code ;

<style>
.player {
position:fixed;
bottom:0px;
left:-190px;
background:black;
width:200px;
height:12px;
overflow:hidden !important;
padding:10px 10px 5px 10px;
border-radius:0px 100px 0px 0px;
color:white;
font:11px consolas;
text-transform:uppercase;
letter-spacing:1px;
-webkit-transition-duration:1s;
-moz-transition-duration:1s;
-ms-transition-duration:1s;
-o-transition-duration:1s;
transition-duration:1s;
}
.player:hover {
left:0px;
}
</style>
<br />
<div class="player">
nuest - loving you more ;<embed align="" height="15" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://www.strangecube.com/audioplay/online/audioplay.swf?file=PASTEYOURMP3URLHERE&amp;auto=yes&amp;sendstop=yes&amp;repeat=0&amp;buttondir=http://www.strangecube.com/audioplay/online/alpha_buttons/classic_small&amp;bgcolor=0x000000&amp;mode=playpause" style="margin: -14px 5px 0px 185px;" type="application/x-shockwave-flash" width="15" wmode="transparent"></embed>
</div>


Tutorial : Player for Blog (Mine Version)

Rabu, Februari 06, 2013

Assalamualaikum


Yoo , hari nak bagi satu tutorial . haritu ade godek godek sikit coding macam mana nak bagi music player nampak berhias sikit . cuba punya cuba , jadi lah macam ni :




Okay , macam tu lah yang apis berjaya buat . hehehe . macam , nak buat macam tu jugak tak ? jom apis ajar :)


Template Designer

Layout > Add a Gadget > HTML / JavaScript

Classic Template

Template > Edit HTML

Kemudian copy and paste code bawah ni .



<center>
<div style="color:#eee;border:4px solid fff;box-shadow:0px 0px 5px #000;width:25px; height:22px;text-align:center;padding-top:6px;padding-left:1px;padding-right:2px;border-radius:333px;background:#000;">
<embed src="http://www.strangecube.com/audioplay/online/audioplay.swf?file=http://media.irondj.net/mix/file/31464/Owl_City_and_Carly_Rae_Jepsen_-_Good_Time.mp3&auto=yes&sendstop=yes&repeat=0&buttondir=http://www.strangecube.com/audioplay/online/alpha_buttons/classic_small&bgcolor=0x000000&mode=playstop" quality=high wmode=transparent width="14" height="14" align="" TYPE="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
</embed>
</div>
</center>

*yang apis bold tu gantikan dengan URL lagu yang korang nak :)


Kemudian SAVE and siap . amacam jadi tak ? kalau jadi bagitau . kalau tak jadi pon bagitau . hehe . player ni apis design sendiri , so make sure kalau korang nak guna wajib komen and wajib credit okay ? kbai o/



© 2017 HAFIZ ZULKAFLY ALL RIGHTS RESERVED