Namespace: Video

WebViewer. Video

My namespace.

Methods


<static> loadDocument(url [, thumbnail])

Loads a video.
Parameters:
Name Type Argument Description
url string The video url.
thumbnail string <optional>
The thumbnail url.

<static> registerDocument(instance, license)

Extends document class to support documents of type 'video'.
Parameters:
Name Type Description
instance object The WebViewer instance
license string The WebViewer Video license
Returns:
Type
Promise.<undefined>