Video Tutorial-Flash Video in iWeb
Trying to get flash video into iWeb eh? You can’t bring it in like you do a regular flash .swf file. Flash video extension is .flv and it can’t work without some sort of .swf player to go with it. This video shows you some tricks to get flash video into iWeb. There are quite a few different options and this tutorial will show you how to get your flash video in iWeb in many different ways.
Here are the steps below:
Get video you desire to be a flash video and convert it to .flv format if it’s not already.
How do I convert my video to flash video you ask?
Well there are a number of different ways. You are going to need one of these converter below:
- Adobe Media Converter (comes with CS4 or Flash Video Encoder from CS3)
- Visual Hub (no longer in development, but if you got it while it was out, lucky you)
- Aimersoft Video Converter ($65)
- Perian QuickTime Plug-In + QuickTime Pro (Perian is free, QuickTime Pro is $29)
- SoThink FLV Converter ($45)
- FFMpegX (Free, but it requires some external file installations, they make it a little difficult to get, so here it is made easy by me. Click here to download the app and here to download the extra files. Your welcome ;-). You can get instructions and more info on the software here. After you open the .dmg file and drap application to your app folder and launch the app it will ask you to locate 3 files to add onto it. They are the ones I provided. I would recommend moving them to home folder/library/application support/ffmpegx (you’ll make this folder)/put 3 files here that were in the .zip folder here. Then in the FFMpegX App you’ll know where to find the 3 files to install and they’ll be in a safe place where no one will touch them. Hope that makes sense. If it sounds to complex, just go buy one of the other converters above to make life easier for you.)
Which ever converter you use, just convert that video file to a .flv format. So in a nutshell, step one is convert video to .flv
Download the Longtail Video JW player by clicking here»
You’ll be downloading a .zip file. Double-click to open and inside you will see 2 files; one called “player.swf” and the other “swfobject.js”. We will need these files to make this work. So now we should have a total of three files
- Our .flv flash video we converted in step one
- player.swf file
- swfobject.js file
We just need to do one more thing and we’re ready to roll
We’ll need to have an image that will sit there until the user decides to click play. So just export out a frame of your video.
It might be easier to go back to your original video to export out the frame. You can do this in QuickTime pro, iMovie, Final Cut, and many other apps. Or if you want to make it simple, just play your video, stop it on a frame that you would like to be your hold image and do a screen shot. You can do a screen shot by pressing “command + shift + 4” on your mac, then draw a box around the frame of video your holding on. When you let go you’ll have a new .png still frame on your desktop. We are going to use this to be the video preview.
You should now have four files. Fyew. These are all the files we need and we are ready to roll. So we should have these four files
- Flash Video (our .flv video we converted in step one)
- “player.swf” (file we downloaded in step 2)
- “swfobject.js” (file we downloaded in step3)
- Preview image (file we created in this step. You should name it preview.png)
For file size reasons you may want to open that image you created in step 3 in the application “Preview” and choose file>save as and save it as a jpeg image and bring the image quality down a bit so that the file loads quickly on the web. Just a suggestion, if you have photoshop you could choose file>save for web and size it down that way too. You can use a .png file or a .jpeg file for this
Now put those four files (.flv, .swf, .js,(.png or .jpeg)) onto the server, meaning your iDisk or your own ftp server. If your using MobileMe I’d recommend making a folder called flash in this location: iDisk/Web/Sites/flash/put 4 files here. Just make sure you have these 4 files on your iDisk or server all all will be well.
Almost done. All we need to do now is use the below code in an html snippet and replace the items in red with our own server path names.
Just replace the items in red with the path that goes to your files on the iDisk replacing the appropriate names to point to the right place. So be sure to put in your MobileMe username and your correct flash video name (yourflashvideo.flv) and your preview image (myimage.jpeg or myimage.png). Also be sure to adjust the width and height of your video with the 2 numbers that are red in the code. Once it’s all updated and you have all your links pointing to the right spot, hit “apply”.
We now have flash video in iWeb successfully! Yay!
Hope it wasn’t too complicated for ya. Just do it a couple times and you’ll have it down in no time. There is a video I made that will walk you through this too if you’d rather look at that. Just got the Video Tutorials section and it’s all about flash video.
Note: You can use Longtail Video JW Player on your site for free as long as your not selling anything, have ads on your site, etc. If you are doing those things you need to purchase a license. It’s €30 (Euro) which is about $41 dollars. You can purchase a license here»
If your wanting to customize the JW player, they have a nifty little embed code creator that you can tell it what paramaters you want to be set. Click here to go to it.