libquvi
 All Files Functions Typedefs Enumerations Enumerator Macros Groups Pages
Checking whether an URL is supported

Checking whether the available Media script or Playlist script collection accepts the URL may be done either with or without an internet connection.

Note, however, that most checks will return the "no support" error with the Shortened URL and the QUVI_SUPPORTS_MODE_OFFLINE, as this would normally require resolving the URL over the Internet, first.

QUVI_SUPPORTS_TYPE_MEDIA);

Similar to the above but do an online check, instead:

QUVI_SUPPORTS_TYPE_MEDIA);

The above two examples limit the check to Media script support only. The example below tells the library to check the URL against Media script and Playlist script collections.

QUVI_SUPPORTS_TYPE_ANY);
See Also
QuviSupportsMode
QuviSupportsType

The available Media script and Playlist script collection determines which websites are supported by the library.