addVideo
Contents
[
Hide
]addVideo(Video video) function
Adds a copy of an video file from an another presentation.
Parameters
Name | Type | Description |
---|---|---|
video | Video | Source video. |
Result
addVideoFromStream (VideoCollection videocollection, ReadStream stream, Function callback) function
Creates and adds a video to a presentation from stream.
Parameters
Name | Type | Description |
---|---|---|
videocollection | VideoCollection | link to self |
stream | ReadStream | Stream to add video file from. |
callback | Function | callback(error, result) - Callback to be called when the method has completed |
Result
addVideoFromStream (VideoCollection videocollection, ReadStream stream, int loadingStreamBehavior, Function callback) function
Creates and adds a video to a presentation from stream.
Parameters
Name | Type | Description |
---|---|---|
videocollection | VideoCollection | link to self |
stream | ReadStream | Stream to add video file from. |
loadingStreamBehavior | int | The behavior which will be applied to the stream. |
callback | Function | callback(error, result) - Callback to be called when the method has completed |
Result
addVideo(byte[] videoData) function
Creates and adds a video to a presentation from byte array.
Parameters
Name | Type | Description |
---|---|---|
videoData | byte[] | Video bytes. |