addVideo

addVideo(Video video) method

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

Parameters

NameTypeDescription
videoVideoSource video.

Returns

Video


addVideo(InputStream stream) method

Creates and adds a video to a presentation from stream.

Parameters

NameTypeDescription
streamInputStreamStream to add video file from.

Returns

Video


addVideo(InputStream stream, int loadingStreamBehavior) method

Creates and adds a video to a presentation from stream.

Parameters

NameTypeDescription
streamInputStreamStream to add video file from.
loadingStreamBehaviorintThe behavior which will be applied to the stream.

Returns

Video


addVideo(byte[] videoData) method

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

Parameters

NameTypeDescription
videoDatabyte[]Video bytes.

Returns

Video