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:
-
fileFile
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:
-
dataArrayBufferData to be loaded.
-
encodingStringVideo enconding (mp4, webm, etc).
toJSON
(
Object
-
meta
Serialize resource to json.
Video data is stored in Base64.
Parameters:
-
metaObject
Returns:
Object:
json
