This is the last update of a skin that doesn’t play music or have all of the functions of the current player. By next week there should be a the XSPF 5.0 player will be available that anyone with a little bit of time can customize to their liking. This also calls for a web update, the current jukebox page will be updated to support the posting, displaying, and downloading of personal skins. Lastly, there will be instructions and documentation on using my “skinXML”. Download and start creating now, if you think you can do it without instructions. Here.
I haven’t really had a lot of time on my hands to post, but i’ve been working on both Gallery and the XSPF Skinner. I’ve uploaded a sample of the xml, and an example of how it is used. It is far from done, however, and many things are subject to change. This does not actually play music, just displays a skin. But for those looking to create skins, here is where you can start making ideas. Download the demo.
…And this time, no bugs! You are now able to use external variables in a text file with your players, to replace the long strings of variables in you html. One file can be used with however many players you need. Just replace the paragraph or two of ‘www.mydomain.com/xspf_player.swf?playlist_url=playlist.xml&alphabetize=true&autoplay=1′ etc. with ‘www.mydomain.com/xspf_player.swf?loadurl=variables.txt’, Using ‘loadurl’ as your sole variable. This finishes my planned work for the XSPF, but I still have a lot to do. I’m deciding on whether to build a skin formatter, for users to create their own layouts, or new downloadable versions with different looks, or both. See it here.
The playlist creator is now open-source and up for download. For those looking into the scripting side of flash, this is a good example of flash forms and text manipulation.
Updates everywhere. I’ve been doing some server cleaning. First off is that the documentation for the XSPF player has been updated for the first time in months. Next comes the player creator. It has been updated a few times in a few days, but I believe it will stay this way for a while. Lastly is player updates; The request for a start_track with shuffle has been filled, and works perfectly. Also, for the more technical of us, I have included a way to collect stats about your player usage through an external php file (or any language that can read POST variables). This is a dumbed down version of the player I created for IACMusic.com. It can collect the label (title and artist) for each track, as well as the annotation. The script can be customized to include such things as a date, referrer, and ip address. I’ve included some of these options in an included script. This data can be used however one wishes (for IAC, it was written to a text file, and processed into a database later on). The final player updates were pointed out to me by the ever-watchful eye of Lucas Gonze. These are XSPF validation errors. The trackList node needs a capitol ‘L’, the playlist should be in ‘.xspf’ format, and there is no such thing as a ‘type’ node in XSPF. This has been changed to meta rel=”http://lacymorrow.com/type/” to follow validation. Finally, ‘music’ is does not follow XSPF format. This has been changed to ‘audio’ (under the meta node). See it here.
The new version of the slim player is up and about, with the same external variables ability as it’s big brother. The new big thing here though is another innovation from my blossoming flash years and my jukebox, id3 tag support. id3 tags were not usable in the extended version because of the displaying of all artists and titles in the playlist. However, with id3 tags, no artist or title is needed. Information is stored is 98% of alll mp3′s, including artist and song titles. The tags show automatically when there is no titles present, or use the variable “&useId3=1″ to have them always show. As well as that, there have been the usual visual updates, and more updates to the loading script to timeout after five seconds.This is also the release of the Extended 4.1 version with a few bug fixes.Get ‘em.
A lot of people have been asking if there was a way to autoload, but show a beggining image as well. up until now there was no way, but just insert “image=http://www.you.com/yourpic.jpg” to load your starting image. new version here.
Viewr has it’s own page now. If you didn’t know, viewr is a flash slideshow viewer that collects photos from flickr.com It is customizable to browse tags, users, or photosets. The best part? It is entirely made of code, so it is less than 4kb. Viewr
Another moderately big update. Many tiny bug fixes, and one big update: Time Display! The variable to insert the display is “timedisplay” and the possible values are 1, 2, 3, or 4 for the three different types. This adds an iTunes-esque timedisplay on the music label bar, beside volume. The outcomes of the values are as follows: 2 = a countup timer, from 0:00 until the song is finished. 3 = a countdown, until 0:00. 4 displays the total time in the song/video (yes it works for video too). 1 will be the most used value, it creates a button that can be clicked to switch between the three display types. Just add “timedisplay=1″ to your url to see exactly what I mean.
New XSPF update, very minor changes.
The auto-update was checking version with an onEnterFrame function for the entire time the player is running, taking up a little more cpu than necessary. Also, the info tags from the playlist have been getting overwritten by a link to my site (the default if there is no info tag) before being loaded.
The news is out! The XSPF player does video! As well as loading external links, playlists, and files.
As of now only FLV video is supported, but soon there will be SWF support as well. All controls have been rewritten for video support, though some streaming FLV files (such as YouTube) will not show info or allow searching.
As well as video, there are many additions. An updater has been created to remind the webhost when there is a newer version of player available. This is turned on by passing “setup=1″ in the player URL, and when a newer version is available, an unobtrusive arrow begins to pulse in the bottom right corner of the player.
Radio Mode has been removed and replaced by all around playlist support. Give links between many playlists, or make directories for genre, artist, whatever. Playlists are either XML or XSPF.
Link support has been added to send your customers to any website, or provide urls such as song downloads, contact email links, etc.
All of this has been wrapped together with a new playlist variable, “type”. type can be either music, video, playlist, or link. type should only be used if the location is unusable, or the file is being served dynamically (google video being an example). There is a built in type detect, which will use 95 percent of files correctly.