This is the second edition of my dynamic Flash slideshow, Gallery. Not having been updated in a good five months, this version fills in the gaping holes in code missing from the last version. Many things have been tweaked and updated, the visuals and animations included. There are a couple off new transitions, and additions of easing tweens for 14 total transitions with subsets to give up to 101 possible effects. The control box is now working perfectly, along with keyboard control. Use the arrow keys and the spacebar to cycle through images, pause, and play. Add music, a watermark, and as many images as possible through an easily customizable XML interface. (the flash movie needs focus to enable keyboard control, this can be done through external scripts, or by the user clicking on the movie). Flickr support has now been added as well, fully customizable as to what pictures are shown, yet simple to implement. The documentation will be updated shortly.
A small Jukebox update to accompany my move to a new server, with a couple of bug fixes, and a couple of new features as well. The shuffle function now uses a randomized array, instead of a totally random number, which means that, while your music will come randomly, the order stays the same as you scroll through, much like in iTunes.
The fancier part of the update is the inclusion of almost full keyboard control over the player. The Left and Right arrow keys change tracks forward and backward, and when used in combination with the Shift key seeks through a track. The Up and Down arrow keys control the volume, the Spacebar Plays/Pauses, and the Control key (Command on a Mac) switches through combinations of Repeat and Shuffle. (the flash movie needs focus to enable keyboard control, this can be done through external scripts, or by the user clicking on the movie).
This post marks my first useful program for the Windows platform (besides Blackjack of course). The Xspf Jukebox Playlist Creator, as the name states, is used to create and edit Xspf and Xml playlist files for use with the Xspf Jukebox. Files are automatically parsed and labeled using their id3 tag info, both version 1 and 2 are supported. Images are also added automatically to the best fitting song, if the image name matches a songs Creator, Title, or Filename. The Creator supports both importing and exporting of playlist files. Feel free to leave any comments, suggestions, or criticisms. In the works is a Cocoa version for Mac OSX, and a Skin Creator to allow anyone to create visually appealing skins for the player.Updates for both the Xspf Jukebox and Gallery are coming soon.This project is no longer supported.
New updates for the Xspf Jukebox. I have fixed some minor bugs with skin processing, as well as adding a new option for aligning the track display text using the tag “align” inside the skin.xml file (options, of course, are “left”, “right”, and default is “center”).
Two new variables, one more exciting than the other. The first is the “midChar” variable, which gives you the option to change the character separating creator and title in the track label. The second controls the new Crossfade function, much like iTunes. Use the variable “crossFade”, set to either a boolean value (true or false), which will default to six seconds, or fill in a number (in seconds) 1 through 12.
Finally, a full writeup on using the Xspf Jukebox has been completed, and should help solve many problems that people have been having. Next to come is a “skin.xml” writeup, on how to create skins, and applications to automate embedding. On another note, a new version of the Jukebox has been released, with minor bug fixes and a couple of changes: the player will no longer connect to Amazon to retrieve images unless the “findImage” variable is set to true. Id3 tags will be used if no creator, title, or annotation is present. The “skin_url” is no longer the xml file, but the folder containing your skin. Single tracks now use the two parameters “track_url” and “track_title” in the place of “song_url” and “song_title”. The download should be available in the next few days with the skins, or if you can’t wait, it is already in the source download.
The Xspf Jukebox has been updated with a few new functions, including an autoresume feature based on Thomas Boutell‘s additions on my old player. The function works worse than would be appreciated, but works nonetheless. You can activate it by using the variable ‘autoresume’. A second addition is the ability to choose a highlight color for the currently playing song. Use the tag ‘selectedColor’ inside the skin.
This update fixes a large bug for any skin that includes an image display. If you have been hassling with this before you have noticed that images resize to their original size no matter what width and height you specify.
At this time the newly created XSPF Playlister has been released to assist in dynamically creating Xspf playlists to be used with the Jukebox. Just upload the playlist.php file to your server, fill in some settings, and link your .swf file to it to dynamically create playlist files. Id3 tags are supported for by uploading an included folder, or you can save loading time and bandwidth by organizing your tracks into sub-folders according to the artist, then label your .mp3 file with the track name. Images are also supported, rename an individual image the exact same as the correspinding track name, and place it inside the same folder.
On top of that is release 5.1 of the Xspf Jukebox, which no longer uses the mochibot code, and contains three new variables; ‘trackNumber’ specifies whether or not the playlist should be numbered, ‘activeDownload’ enables/disables downloading of mp3 files, and ‘useId3′, while being available previously for the slim player, is now available for any skin, although the new Playlister now grabs id3 tags (used only on a skin without a playlist, and with a regular playlist.xspf file).
Lastly, I have put together an automatic php embed script for the player, just edit the settings inside and call it from a php page using “require_once(“embed.php”);”. This takes much of the hassle out of embedding the player, although it only helps when loading the jukebox from a php page. For .html users, I am working on a similar helper script.
The download for the Xspf Jukebox has been posted. I have worked hard to create a dynamic php download session, so that instead of downloading every file, a .tar.gz package is created on-the-fly, containing only the requested skin file and the necessary swf file. I also created a php display to automatically find and display all skins on the site. As always, you can find a link to all of the source files, as well as an example on how to create your own skins. In the works is a skin upload page, for user-submitted skins, and a skin creator, to help in creating them. For right now, if you would like your skin displayed and available for download, email me the skin.xml and images folder, containing all used images. Remember to use relative urls when creating skins, (ex: image=”images/ipodblack.png”). XSPF Jukebox
The download to my Flash XML image slideshow has been posted. Gallery is open-source, and is one of the most advanced image slideshows on the web. Make use of titles, captions, audio, watermarks, alpha channels, and most of all, transitions. There are 13 current transitions, with more on the way, as well as subsets of some transitions, to make over 43 possible effects. Get it here.