Flash components › Flash files › Video Players
Flash video (FLV) player
|
Posted on 2009 Jan 06 |
Hi,
I just purchased this file and need instructions on how to put in the video file. I am fairly new to flash.
I just purchased this file and need instructions on how to put in the video file. I am fairly new to flash.
|
Posted on 2009 Jan 06 |
Hi. It appears that BSF have removed the XML example from my message above... odd but not a problem. :) Open the videoPlayer.xml file and write the name of the video file inside the video node. So for example:
<root>
<videoPlayer autoPlay="true" loop="true">
<videos>
<video file="videos/saturdays.flv"/>
</videos>
</videoPlayer>
</root>
The video I have here is the saturdays.flv video. Change that path/name to whatever you want. To add more vidoes, simply duplicate that line underneath and put in the new video file so that it becomes:
<videos>
<video file="videos/video1.flv"/>
<video file="videos/video2.flv"/>
</videos>
Hope that helps. :)
<root>
<videoPlayer autoPlay="true" loop="true">
<videos>
<video file="videos/saturdays.flv"/>
</videos>
</videoPlayer>
</root>
The video I have here is the saturdays.flv video. Change that path/name to whatever you want. To add more vidoes, simply duplicate that line underneath and put in the new video file so that it becomes:
<videos>
<video file="videos/video1.flv"/>
<video file="videos/video2.flv"/>
</videos>
Hope that helps. :)




















The player can be set to auto-start playing the first clip or to wait for the user to press play from a simple true/false setting.
It can also be set to loop back to the beginning after the final clip with another simple true/false setting.
You can add as many videos as you like to the playlist and cycle through them with the next/previous buttons.
The XML for this example can be seen below: