Newsletter: Learn More ||| Multimedia Presentation Software |||
How to build a basic video/audio jukebox using WildPresenter
This tutorial applies to WildPresenter Pro 2+.
Top
Introduction
This tutorial will show you how to make this basic video/audio jukebox:
Top
Opening WildPresenter
In order to make a Flash video jukebox you need some Flash videos. For this jukebox we are going to use a source video and encode it at 2 different bitrates: 56k and 300k. We typically advise customers to post their video using at least 2 bitrates and we suggest using 56k for people on dial up modems and 300k for the broadband viewers, though many people opt for broadband only media and/or set their broadband videos to a higher bitrate such as 500k.

The video we're going to use is the King Kong movie trailer.

Open WildPresenter and at the start screen click "Create New Project." We will label this project, "King Kong".
Your WildPresenter program will now open.
Open the Slide Settings window (View>Slide Settings) and set the slide navigation to "None".
Top
Importing your video
There are several ways to import video into WildPresenter. You can use the import wizard, you can use the import menu, or you can simply use the Video, Audio, Image Converter button. For this tutorial we are going to use the Video, Audio, Image Converter button.
The Import Video, Audio, Image box will appear.
Once you have selected the video file you want to encode, you may bring it into WildPresenter by clicking on the Browse button to the right of the Input box in the File tab.

Select the file you wish to encode from your hard drive and click open. You will now see the name of your selected file located in the Input box in the file menu.

Next I will select the 300K Broadband video (Flash 8 SWF) preset. This will automatically create a Flash 8 video (the best quality) at the 300k bitrate I want. I encode the larger video (the 300K video) first, because I will later match the 56K project dimensions to the 300K project dimensions.
Because the video I'm using is in the widescreen format (the aspect ratio is wider than the standard TV aspect ratio) I'm going to adjust the aspect ratio to match the source video.

I will also want to make sure the video framerate of my output is a factor of the source video framerate. A factor of Number A is a number that can be divided into Number A without leaving any remainder – so the factors of the source 24 fps framerate are 1, 2, 4, 6, 8, 12, and 24.

Click the Vid/Aud tab to make necessary adjustments.
If you are unsure what settings to use, it's a good idea to start off with the presets that come with WildPresenter and adjust your settings from there.
Top
Add play controls to your videos
We can also add a player to our project. WildPresenter has a very useful player feature that enables you to output your WildPresenter Flash SWF with a player automatically.

To include a player click the Player tab.
Check the "Export player while encoding" box.

Select a player from the menu. We are going to select the player "Minimal2 A".

View skin: By clicking on this button, you can preview the player skin you have selected. In the preview mode the controls of the player will blink and may appear slightly distorted. This is normal. Once the player is created, the controls will appear correctly.
Top
Adding a Preloader
You may want to add a preloader to the 300k video for better viewing.

To add a preloader to a project select the Player tab. In the Settings section check the Preload box.

The purpose of using preloaders is to ensure smooth playback of larger Flash files for users on slower connections. In this way, users on slower speed connections (e.g., dial up modems) can view larger Flash files without buffering or the Flash stopping and starting. This is for web streaming purposes only. Preloaders will not work on Flash files played locally from a hard drive or CD. As a general rule we recommend using the Adaptive preloader with a 1.1 buffer factor.

Return to the File tab and click the Encode & Insert button.
Open the Object Settings window, select the Appearance tab and in the Transform Options section view the object dimensions.
Note: Since the video dimensions of this 300k video are 326x215 we will want to change the dimensions of our project, in the Project Settings window, to that size. I will also want to keep the background transparent since I am going to use this video in a larger project (the jukebox itself).

Export your project.

To export your project click File>Export File
Play your exported file to view your project in a player.

Repeat the same process for a 56k version of the video. Export the 56k version using the same project dimensions as the 300k video. By centering the 56k video in the project and using a transparent background you can later load the 56k video (which is smaller) into the same area where you load the 300k video.
Top
Creating the Jukebox
Now that I have my project set up, the next thing I'm going to do is set the dimensions of my jukebox. I know that the larger video is 326x215. Allowing space for my logo, menus, and the video, I decide to make the jukebox 520x372, however you can make it any size you want. We recommend making it no larger than 800x600. You can also change this as you go along if you find you haven't left yourself enough room or if you need to cut it down.

I enter the 520x372 in the Output tab of the Project Settings window.
Next I'm going to create a background. To change the stage background color right click the stage area, click Properties, then Fill. Click the Gradient tab and select a design.
Top
Creating Jukebox Text
We now need to create text boxes for various controls, messages and logos.

I'm going to use the text animation tool because it exports separate files so it is very easy to use to create roll-over text components, but I could also use WildPresenter's text tool.

Create 'King Kong Trailer 56k', 'King Kong Trailer 300k', 'Wildform', 'Reload', 'Video Requires Flash 8 Player', and 'Select Video to Start'. We're going to use white as the Fill color for the following: 'King Kong Trailer 56k', 'King Kong Trailer 300k', 'Reload', and 'Video Requires Flash 8 Player'. We will also create 'King Kong Trailer 56k' and ‘King Kong Trailer 300k' effects with the exact same formatting but with a red Fill color to use for the mouseovers (so when you mouse-over that text it will change color from white to red).

We will use the plain effect on all except 'Select Video to Start', for that you may choose any effect you wish. The plain text effect is really no text effect.

Click the Insert Text Effect button.
Enter in the Text, Effect, Font and Fill.
Click Save & Insert when completed.

Repeat until you have completed all the text effects.
Mouse-overs
I will now add mouse-overs to King Kong Trailer 56k and King Kong Trailer 300k. To add the mouse-overs I use the "Mouse Events" tab of the Object Settings window.

Click on your red King Kong Trailer 56k text; note the name of the file in the timeline.
Once you have noted the timeline name, delete the red King Kong Trailer 56k text on the stage.

Click on a .swf to activate it. I start with the white King Kong Trailer 56k file. Next I open the Mouse Events tab of the Object Settings window.
To create the mouse-over effects check the "Add mouse over" box and open the Source Files subfolder within the King Kong project. In the Source Files folder select the text effect that we just deleted from the stage (the red version).

After generating a preview you should be able to see that if you place your mouse over the white King Kong Trailer 56k text, it turns into the red King Kong Trailer 56k text. This is just a nice way to show viewers when they have activated a clickable area of your jukebox. You could also create this jukebox without mouse-overs.
 
Top
Inserting transparent object
You need an object to load the videos into, so we will now insert a transparent object where the videos will play.

Right click in the timeline and select Insert Transparent Object.
Once completed arrange jukebox to look like this:
Note: Do not scale (change the dimensions of) the transparent object. If you scale the
transparent object, any SWF you load into the object will scale in the same way.
Top
Timeline layers
WildPresenter will automatically assign each object its own layer and will name the layer automatically as well.
To insert an extra space before each of these .swf's (I want to start all the .swf's on frame 2 so my "reload" will work properly when it goes to frame 1). Select a layer, then right click on the selected layer and select the "Insert Frames" option.
Insert 1 blank frame.
This shifts the selected frame over one frame. Repeat for remaining timeline layers.
Top
Adding mouse-events and links
Next, I will add the on-click mouse actions to King Kong Trailer 56k and King Kong Trailer 300k. To add the on-click mouse actions I again use the "Mouse Events" tab of the Object Settings window.

To make the text link to the video, check the "Add on click" checkbox and select the "Load Flash SWF Movie" radio button. I then browse to the folder where I have the "KingKong56k.swf" file and select it. I specify the transparent SWF as the target. (The "target" is where the SWF will be placed when it is loaded.)
Now when you click on the "King Kong Trailer 56k" text it will load the King Kong 56k trailer into the transparent sprite.

Repeat this step for King Kong Trailer 300k.

Note: The videos are automatically placed in the Load_Extrenal_Files folder of your WildPresenter project. All files loaded into your project are automatically placed in this folder. You will need this folder (and the videos in it) when you post your jukebox on the Internet or distribute it.

I will now add a link to the "Video Requires Flash 8 Player" .swf. I will embed a link to the Adobe Flash Player download page.
Finally I will also add a "Jump to frame 0" action. This will restart the jukebox when clicked.
Top
Adding fade effects
Now that your jukebox is completed and functional you may want to add some finishing touches. For the King Kong Trailer 56k, King Kong Trailer 300k, Wildform logo, Video Requires Flash 8 Player, and Reload text effects we are going to add a fade in. This will help smooth in the transition when opening the jukebox.

First select an object by clicking on it on the stage or on the timeline. Then open the Object Settings window, select the Play tab, then check the Image Fade In box and choose 6.
Repeat for all the other objects you wish to add a fade to.

We also want the Select Video to Start effect to fade out after it plays.

Open the Object Settings window, select the Play tab, then check the Image Fade Out box and choose 6.
Top
Exporting your video jukebox
I am now ready to export my final file.

You may export your final SWF by clicking the "Export" button in the Output Tab of the Project Settings window, or you may click the "Export File" icon in the toolbar.
To play your exported SWF, click the "Play Output" icon in the toolbar.
Export HTML: If you wish to deploy your SWF in a web page, you may select "Export HTML", in the Project Settings window HTML tab which will produce an HTML file with the code you need to play your Flash SWF output in a web page. Simply copy that HTML into whatever page you wish.

When you wish to publish your video jukebox on the Internet or distribute it you will need the jukebox SWF file and you will also need the "Load_External_Files" folder where your videos are located.

Top
Conclusion
So that covers how to create a basic video and audio jukebox using WildPresenter. With a little imagination you can do a lot of things with WildPresenter. It is also possible to create more complex jukeboxes with multiple videos and bitrates or jukeboxes for images and audio files as well. This tutorial provides a good way to get started.
Top
 
©2010 Wildform, Inc | Policies | Contact Us | Newsletter Options
 
Wildform provides a 100% satisfaction guarantee on all our Flash software. If you are not completely satisfied with our Flash multimedia software for any reason you may request a refund within 15 days of purchase.