Video Class
Video resources are used to store video.
Video data stored in base64.
Item Index
Methods
- fileIsVideo static
- loadArrayBufferData
- toJSON
Methods
fileIsVideo
(
Boolean
static
-
file
Check if a file name refers to a supported video file.
Parameters:
-
file
File
Returns:
Boolean:
True if the file refers to a supported video format.
loadArrayBufferData
(
-
data
-
encoding
Load arraybuffer data to this image.
Creates a blob with data to be stored on data atribute and used by external objects.
Parameters:
-
data
ArrayBufferData to be loaded.
-
encoding
StringVideo enconding (mp4, webm, etc).
toJSON
(
Object
-
meta
Serialize resource to json.
Video data is stored in Base64.
Parameters:
-
meta
Object
Returns:
Object:
json