The new main feature is the play list feature. With this you set most of your video information in an xml file named videos.xml. In the videos file you set the path of the video, the width and height, the title and the buffer. The buffer setting sets the amount of seconds are loaded before the video plays.
The other new xml file included with the VideoViewer is config.xml. As of now this file controls the delay between videos when using the play list feature to play more than one video. A percentage offset for when using the new Dynamic Progression Bar which will be released very soon. Lastly a video offset setting which offsets the slider when the position of your video isn't located at 0 on the x axis. This becomes useful in the new ProgressionBar.
The added function to use the play list is loadVideoList();. Where in previous versions you would put VideoViewer.file = "filepath"; you now put VideoViewer.loadVideoList();. Using the file property is still functional just in case you want to change the video in the code, but using the play list allows you to easily update your videos by changing the path in the xml file instead of having to open up Flash again.
There are some other added functions but they relate to other NEW classes that will be released in the near future. So they will be addressed when those new classes see the light of day. Other than the things mentioned above, everything else is the same. Below is an example the play list in use.
Things to Look forward to
DynamicProgressionBar
ProgressionBar
MediaTimer
Download New VideoViewer Class Here
No comments:
Post a Comment