You can play multiple clips in any sequence from
the same Clipstream® Video applet by employing the
VideoPlaylist
parameter and an external text file. In addition, you can specify when
certain clips will play according to server or local (user's) time.
An example of this can be seen
here.
Follow the instructions on this page to learn how.
Requirements
- HTML or Text editor (Notepad)
- FTP access to web server
- Newest clipstreamvideo.zip
- Three or more clips with separate content already encoded in Clipstream®
Video
- Experience editing Clipstream® Video applet / js code
What is a playlist?
A playlist is a sequence of video clips that you can arrange in order to
play one after another from the same spot.
An example of a single applet using the playlist parameter can be viewed
here.
Creating the playlist
To create and employ a playlist requires that you add the
VideoPlaylist
parameter to the applet code, create and upload a separate text file that
the parameter will call, and edit the existing VideoURL parameters.
In addition, you must ensure that all of the separate clips you are referring
to in the text file share the same bit rates options i.e. 500k, 350, 250k,
etc.
When completed the applet will refer to the external playlist text file
which will inform the applet which files to play and in what order.
Selecting separate video clips
The Clipstream® Video applet requires that each individual clip have
the same range of encoded bit rates. It also requires that each video file
name follow a similar format. This is because the applet will substitute
a common element - called a
token - in its referring code.
Ex.
The table below lists three videos that will be played in sequence,
Video A, B, C.
| Video |
Video A |
Video B |
Video C |
| Bit Rates |
500kbps, 350kbps, 256kbps |
500kbps, 350kbps, 256kbps |
500kbps, 350kbps, 256kbps |
| Files |
videoA_500.vcs, videoA_350.vcs, videoA_256.vcs |
videoB_500.vcs, videoB_350.vcs, videoB_256.vcs |
videoC_500.vcs, videoC_350.vcs, videoC_256.vcs |
1. Encode each video to be playlisted so that each video has the
same range of bit rates
2. Upload each to an easily located folder.
Note: Putting them all into the same folder will make
your job easier.
Next Step
Related topics