Flash, Javascript and HTML
I am not a big fan of flash in web pages, but I wanted to let the
user start playing some music on my personal blog,
and while searching for a player, I found a very small
one,
only 6 KB. I took a look at the code, to see if I could customize it,
but I realized it was easier to start from scratch and write my own. My
first attempt is VERY small - only 375 bytes! That's extremly
small.
Okay, the only thing it does, is playing a mp3 file. It has no user interface, so I use javascript to start it, and the only way to stop it, is to completely unload it from the web page. Very low-tech, but fast and simple.
Okay, the only thing it does, is playing a mp3 file. It has no user interface, so I use javascript to start it, and the only way to stop it, is to completely unload it from the web page. Very low-tech, but fast and simple.