ActionScript 2.0 Components Language Reference |
|
|
|
| FLVPlayback Component > Using a SMIL file > <switch> | |||
Flash Professional 8.
<switch>...child tags... <switch/>
None
<video>,<ref>
<body>
Used with either the <video> or <ref> child tags to list the FLV files for multiple bandwidth video streaming. The <switch> tag supports the system-bitrate attribute, which specifies the minimum bandwidth as well as the src and dur attributes.
The following example specified three FLV files, two using the video tag, and one using the ref tag:
<switch>
<video src="myvideo_mdm.flv" system-bitrate="56000" dur="3:00.1">
<video src="myvideo_isdn.flv" system-bitrate="128000" dur="3:00.1">
<ref src="myvideo_cable.flv" dur="3:00.1"/>
</switch>
|
|
|
|