addVideo

addVideo(Video video) function

Adds a copy of an video file from an another presentation.

Parameters

NameTypeDescription
videoVideoSource video.

Result

Video


addVideoFromStream (VideoCollection videocollection, ReadStream stream, Function callback) function

Creates and adds a video to a presentation from stream.

Parameters

NameTypeDescription
videocollectionVideoCollectionlink to self
streamReadStreamStream to add video file from.
callbackFunctioncallback(error, result) - Callback to be called when the method has completed

Result

Video


addVideoFromStream (VideoCollection videocollection, ReadStream stream, int loadingStreamBehavior, Function callback) function

Creates and adds a video to a presentation from stream.

Parameters

NameTypeDescription
videocollectionVideoCollectionlink to self
streamReadStreamStream to add video file from.
loadingStreamBehaviorintThe behavior which will be applied to the stream.
callbackFunctioncallback(error, result) - Callback to be called when the method has completed

Result

Video


addVideo(byte[] videoData) function

Creates and adds a video to a presentation from byte array.

Parameters

NameTypeDescription
videoDatabyte[]Video bytes.

Result

Video