To start exporting a complete web FLV player or a standalone player with one step,
just choose the option Export Web FLV Player from the Export menu
or use the shortcut Ctrl + E. You can enter the file name for the output SWF and HTM files. If you add Preloader component or Effect component to the player, you can watch the effects with exporting web FLV player. The only thing you need to do is connect player with FLV video. Two kinds of FLV player will be introduced here, one without Playlist component and the other with Playlist component.
For exporting web FLV player without playlist, you will get a player like below.

To add FLV video and first image with query string:
Have a look at the HTML code below and it is for embedding FLV player with video on web page.
<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="480" height="400">
<param name="movie" value="testing.swf?videoFile=moyea.flv&firstFrame=moyea.jpg">
<param name="quality" value="high">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="True" />
<embed src="testing.swf?videoFile=moyea.flv&firstFrame=moyea.jpg" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="480" height="400" allowScriptAccess="sameDomain" allowFullScreen="True">
</embed>
</object>
Do you notice the character strings in red? They are to specify the video file and first image for player without playlist. You can add any file path or a direct HTTP/RTMP FLV URL after videoFile=. The video and image file path is the relative path, according to the folder of the player file .swf.
To add FLV video and first image with FlashVars param:.
The following HTML code is another coding method for player without playlist, i.e. only one video will be played on the video when specified.
<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="480" height="400">
<param name="movie" value="testing.swf">
<param name="FlashVars" value="videoFile=moyea.flv&firstFrame=moyea.jpg">
<param name="quality" value="high">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="True" />
<embed src="testing.swf" FlashVars="videoFile=moyea.flv&firstFrame=moyea.jpg" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="480" height="400" allowScriptAccess="sameDomain" allowFullScreen="True">
</embed>
</object>
Here a new line is added under Object tag, and a new option to the Embed tag. FlashVars must be added, and the videoFile= is for the FLV file path or HTTP/RTMP URL, the firstFrame (optional) is for the first image to display before video is playing.
For exporting web FLV with playlist, you can get a player to multiple videos with an image list for instruction.
The playlist file is the XML file that defines the caption, file path (URL) and thumbnail of each FLV video. Moyea PlayerBox only recognizes the XML file saved with .mmpl as extension in accordance of certain syntax. If you are familiar with coding, you may create one playlist file using Moyea FLV Player, and modify the playlist file. Otherwise, you can create playlist file with the bundled Moyea FLV Player version 2.0, which can be found under the installation folder, or Start > All Programs > Moyea > PlayerBox > Moyea FLV Player. Choose to open several FLV videos and choose to view playlist. Save playlist in .mmpl for Export Player and load playlist file in the above window.
To add playlist file with query string:
Use the code like below on HTML page to specify paylist file for FLV player.
<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="480" height="400">
<param name="movie" value="testing.swf?playList=moyea.mmpl">
<param name="quality" value="high">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="True" />
<embed src="testing.swf?playList=moyea.mmpl" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="480" height="400" allowScriptAccess="sameDomain" allowFullScreen="True">
</embed>
</object>
The character string moyea.mmpl is the relative path of the playlist file to the FLV player file. The absolute file path also works. You may also refer to the guide on how to edit playlist file.
To add playlist file and first image with FlashVars param:
This is another option to pass playlist file to the player.
<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="480" height="400">
<param name="movie" value="testing.swf ">
<param name="FlashVars" value="playList=moyea.mmpl&firstFrame=moyea.jpg">
<param name="quality" value="high">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="True" />
<embed src="testing.swf" FlashVars="playList=moyea.mmpl&firstFrame=moyea.jpg" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="480" height="400" allowScriptAccess="sameDomain" allowFullScreen="True">
</embed>
</object>
The value of FlashVars could be a combination of different attributes.
Learn More About Moyea PlayerBox
Free Trial



