- MC Classic
- Variables
Playlist Variables: Duration & Resolution
For each item in the playlist you can add optional dur (duration) and res (resolution) values. These are not required for video clips which contain valid metadata, as the metadata supplies the duration and resolution. However, if you experience problems with the seekbar failing or video clips not being centered, adding these variables should solve the problem.
dur: The dur variable is the duration in seconds, e.g. dur="130" means the clip is two minutes and ten seconds long.
res: The res variable indicates the pixel resolution in the format "widthxheight", e.g: res=320x240.
Notes:
- MP3 files always require the dur variable (but not the res variable).
- You only need to add these variables to video items which experience problems. For example, if only one clip in your playlist is causing problems then just add these variables to that item.
- For individual items you must use either both these variables or neither of them (e.g. if you decide to use the dur variable you must also use the res variable).
Example:
<file label="Clip 1" url="clip1.flv" desc="This is the first clip" dur="120" res="320x240" />