The player calls this function to determine if the plug-in supports a given media file.
|
Parameters |
Description |
|
medianame |
[in] string of the filename or stream URL (encoding determined by version setting) |
|
mediaInfo |
[in] plug-in provided information about medianame (members to be set by plug-in) |
|
Return Values |
Description |
|
0 |
medianame is not supported by this plug-in |
|
1 |
medianame is supported by this plug-in |
The plug-in should do a quick check to determine if it supports the media specified. This usually involves a file extension comparison, but for URLs can be more extensive. If determination of support is ambiguous, it is recommended to return 1, and do further investigation when Play is called. If the media turns out to be unsupported, Play can return the appropriate value to indicate this.
|
Copyright (c) Quinnware 2007. All rights reserved.
|