A few days ago one of my friends asked me how to convert his videos to SWF format so he can upload them to his website to broadcast his company. Actually it is simple what we need is a video to Flash converter. It is easy to say but find the best one is difficult as there are so many similar applications on the market. Here I recommend Moyea Flash Video MX Pro. This software can support imputing nearly any video format and export .flv file, .swf file and .html file. You can use the .html file as a webpage directly.
This article will tell you how to convert video to SWF directly.
After you install and launch the program, you can see this interface.
Step1. Import video
Let’s take an MP4 file for example. Import the video and you can see it in the preview panel.
Here you can edit your video like trimming and cropping, adding watermark on your video, setting brightness and contrast, even capture a snapshot of your video. Now I will teach you how to add a logo on your video. This software allows you to add an image watermark or a text watermark. Choose Watermark section, press add button, and you can choose add an image or a text watermark.
After you add the watermark, you can see the effect like this:
Step2. Output settings
In this section, you can choose the output folder and output formats. Here are three choices for you to choose "Generate Flash video (FLV)", "Embed the video in SWF and play in timeline", and "Generate HTML file".
If you want to convert your video to SWF file only please select Embed the video in SWF and play in timeline or do not select Generate Flash video (FLV). As a default this software can generate a FLV file, a SWF file and a HTML file, if you want to upload your video on your website please put all these three files in the same folder and the HTML file can be used directly as a web page.
Step3. Add player and preloader
As you see in above picture, you can add a player skin and preloader on your video and with beautiful special effects.
In the final interface, just press the Start button you can get your SWF file in a few minutes.
How to embed SWF into HTML page
You can code the page as follows:
<!--url's used in the movie-->
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/
swflash.cab#version=8,0,0,0" width="320" height="270">
<param name="movie" value=" file_name.swf?videoFile=christmas_1.flv">
<param name="quality" value="high">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="True" />
<embed src=" file_name.swf?videoFile=christmas_1.flv" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" width="320" height="270" allowScriptAccess="sameDomain" allowFullScreen="True">
Well, have you noticed the christmas_1.flv in blue?
This can be modified to the absolute path of the .flv file. For example:
<param name="movie" value="file_name.swf?videoFile=http://www.moyea.com/flv/
flvdownload_demo.flv"> (can support HTTP and RTMP)
The above only support IE, if you want it to support Firefox, please follow this:
Modify <embed src="file_name.swf?"...
The width="320" height="270" in black indicates the width and the height of your video.