[This is preliminary documentation and subject to change.]
Resolves a given
Namespace: MediaMallTechnologies.Plugin
Assembly: Util (in Util.dll)
Syntax
| Visual Basic (Declaration) |
|---|
| Function Resolve( _ ByVal fileInfo As SharedMediaFileInfo _ ) As String |
| C# |
|---|
| string Resolve( SharedMediaFileInfo fileInfo ) |
| C++ |
|---|
| String Resolve( SharedMediaFileInfo fileInfo ) abstract |
| J# |
|---|
| string Resolve( SharedMediaFileInfo fileInfo ) |
| JScript |
|---|
|
function Resolve( fileInfo : SharedMediaFileInfo ) : String |
Parameters
- fileInfo
- The SharedMediaFileInfo object that should be resolved.
Return Value
The XML description of URL's for video playback.
Remarks
The main video URL must include a "type" param that is either "wmp" (for Windows Media Player) or "fp" (for Flash Player) to indicate what type of player is used to display the given source media. The optional "startTime" param indicates a start time for the source media, in 100-nanoseconds. Note that the "startTime" param only works when the "type" is "wmp". Advertisments must include the timestamp in 100-nanoseconds for when they should be shown, relative to the main media playback, and also include a "type" parameter. The XML format is as follows:
Copy Code
| |
|---|---|
<media>
<url type="wmp|fp" [startTime="100-nanos"]>...</url>
<ad timestamp="100-nanos" type="wmp|fp">...</ad>
<ad timestamp="100-nanos" type="wmp|fp">...</ad>
</media>
| |