libquvi uses a Media script to parse the media properties for a Media URL. You should make a note of the difference of Media property and Media stream property. There may be >1 of the latter. See the next section (Media stream properties below) for an example of handling those.
These examples use an abort_if_error function which could do nothing more than check quvi_ok return value and exit if the function returned QUVI_FALSE. We do not define this function in these examples.
There may be >1 Media stream available. These may be accessed using the quvi_media_stream_* function set. The one exception to this is the quvi_media_get function which is used to query the values from the library.
For example:
Where as:
Alternatively, call quvi_media_stream_reset after the quvi_media_get call.