ZOMBiE's Blog
This Blog is best viewed in 1024x786, in Firefox 3.0, Internet Explorer 6.0 or Opera 8.0 or above. Flash Player 9 or above required... That was for 10 years ago, most modern browsers can view my blog.

You accept the Terms and Conditions of cygig.blogspot once you start accessing this blog. Else, please leave immediately.

I Call Myself

"Educated" At
Maha Bodhi School, Victoria School, Anderson JC, LASALLE College of the Arts

What I Do
Lazing, Hobby Crafting, DIY, Graphic Design, Computer Stuff that you don't get it

What I Avoid
Hipsters, Soccer, Apple Brand, Outings

How Am I Like
Logical, Practical, Off-Beat, Anti-Social, Sarcastic

Number of Views

View My Stats

Talk Cock

Check This Out!
ZOMBiE's Theorem
My Dark Literature(Poems, Songs, Short Stories)

Classic Enteries

zB BlogLock

This Blog...
Theme: Glass Core METAL

No using of my blog skin and zB Blog Tools without my permission. Some music streamed to blog can be freely distributed under Creative Commons. Others are linked from external websites.

Current Posts
January 2004
September 2004
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
July 2008
August 2008
September 2008
October 2008
November 2008
December 2008
January 2009
February 2009
March 2009
April 2009
May 2009
June 2009
July 2009
August 2009
September 2009
October 2009
November 2009
December 2009
January 2010
February 2010
March 2010
April 2010
May 2010
June 2010
July 2010
August 2010
October 2010
November 2010
January 2011
February 2011
May 2011
June 2011
December 2011
January 2012
February 2012
March 2012
June 2012
July 2012
September 2012
July 2013
August 2013
October 2013
January 2014
March 2014
April 2014

Creative Commons License
This work is licensed under a
Creative Commons Attribution
Non Commercial
No Derivs
2.5 License

Saturday, September 09, 2006
zB Player 2.0 Candy Bar
[ZOMBiE CyGiG] ranted at 7:08 PM --- Post#115780009001348127

Yes lah! Music and Videos and album art all in your blog and Friendster! Introducing the zB Player 2.0 Candy Bar. Written in Flash ActionScript, this player required Flash Player 8 to work properly.

-Controls (play, pause, stop, next track, previous track, mute/unmute, loading indication on the seek slider)
-Plays FLV and mp3
-Able to display picture when playing mp3 in place of video (album art lah)
-Text file playlist (alter a text file to change the playlist including the URL to the media and the album art and the song name to be displayed)
-customisable default screen (the sceen to show at first and when no album art is displayed)
-Stream-on-click (it does not stream the media and play auto until user click play,which i find can be quite annoying and lag the loading of the rest of the page.)
-Selectable playlist (click on the screen to show a scrollable playlist within the video area size)
-media download (can download mp3 and flv ONLY IF they are hosted on the same of lower level domain as the player SWF file due to Flash's security, its might be possible to load other domain with a security XML file, still under testing. Note that media can be streamed and played over any unrestricted domain)

How to use
Simply host this player in a webhost like Awardspace, FreeWebs, or any web hosting on free-webhosts (I do have any affliates with these sites) together with LIST.txt (configuration file). Remeber to host your LIST.txt in the same directory as the the SWF file (ie http://myhost.com/zB Player CB.swf and http://myhost.com/LIST.txt).

After you hosted the two files (the SWF and the TXT file), embed them on your blog or Friendster using the following code:
<embed src="YOUR SWF URL HERE" height="180" width="160" wmode="transparent" />

You can configure your play list through LIST.txt. Instructions are given inside. Any problem just email me or post comments on my blog.

The size isnt fixed! zB player CB is designed to be put on sidebars. The minium width of your blog's side bar is 160. If you wish it bigger, simple alter the values of the height and width within the embed tag. Remember to follow propotion (ie 160x180 240x270 320x360). The buttons are drawn in vector so meaning no quality loss when resizing the player. Remeber as you resize the player, the buttons will grow big as well.

You can see it here:
- My friendster: http://www.friendster.com/11239315 (160*180 orginal size)
- My Blog: http://cygig.blogspot.com (240*270 stretched)
- Kiat's blog: http://weikiatblog.blogspot.com/ (160*180 orginal size)
- Mato's friendster: http://www.friendster.com/5044807 (320*360 stretched)

zB Player is totally free for personal use! Just download and use it. But i will not be responsible for for anything, any damage or infringement of copyrights. For companies and organisation, im still considering, just email me rubbish52 [at] hotmail [dot com] and ask.

Download the ZIP file (Last Updated 9/9/06)

rubbish52 [at] hotmail [dot com]

You prolly wun wanna read all these. Ok actually im no pro programmer or smthing, i just always wanted to have music on my blog. in year 2005 March, after JC1 1st three months, i started to blog. Recording all my lousy and despressed life story. I started making my own blog skins. Then i wanted to stream music over. I used to wma embed but well...it looks sucky and can have onyl one song a time. Nearing the end of 2005 (cant remb well), i started learning Action Script after my C++ lessons in school. I started creating the very first player, which need to embed the song into another SWF. Later on, i read on tutorials on how to use the Sound object to play music. And i used photoshop to make the skin and simple buttons. Things went quite smoothly. I released the first 0.1 version of zB Player together with my Glass Core metal blog skin. It has a fixed 3 songs. It took me months to develop it as im total noob then.

Then later on, i used array to give it more songs and did random playing of songs and changed from auto play to press-then-play so that users wun be irritated by the music if they dun like it. The 0.5 version of zB Player is much stable with less bugs and was released in about March of 2006 with my new blog skin Glass Core METAL. The player was given a new look on the same glassy theme. Buttons were properly done as well.

Then i was thinking of using XML to dynamically load my playlist but failed. There is a delay before the loading of playlist and the initialising of arrays and playing the 1st song. Thus there was a lot of conflicts and songs never get played. I tried lumping the whole code into a function which will only execute when the playlist is loaded. Cos the player was quite complex by then. Things dint work well, lumping all the codes, events, handlers togeter simply wun do it. Then i gave up on it. Since then and went to work in the BlogLock and zB Clock.

Until September 2, when Kiat told me he wanna re-skin his blog, then i was thinking of re doing zB Player. This time i used the Media Object which supports video as well. Its easier to control also. Suddenly some common sense knocked into my head that only the array need to be their URLs when the playlist load in. Meanwhile while loading the playlist the control buttons are disabled to prevent the user from messing up with the trackers and counters or accessing smthing not defined yet. I used a text file instead of XML from the previous experience with zB Clock.

All these were rushed in a day.The player was still in the long horizontal form then, and i merely put the small video area for testing. And i showed Kiat the player. He requested for a side bar version 160 pixel in width on Sunday (next day). So i ripped off all the codes and plucked them into a new look. And i tot it looks great! So i abandoned the orginal long horizontal player and work on this side bar version. I remb rectangular phones with no sliding or flipping or turning or watever are call Candy Bars, and thus i named it "zB Player 2.0 Candy Bar" I tot its good enough to jump from 0.9 to 2.0 with all the new features. The second nite was spent with skinning it and the rest of the week (its september holidays) was spent debugging and asking ppl to try!

Its call "zB Player" cos "zB" is the initial for my nick, ZOMBiE. As Tomato mentioned, it means "Zhi Bi" 自闭.

View/Post Comments (1)