add_video method

add_video

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

Returns

Added video.

def add_video(self, video):
    ...
ParameterTypeDescription
videoIVideoSource video.

add_video

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

Returns

Added video.

def add_video(self, video_data):
    ...
ParameterTypeDescription
video_databytesVideo bytes.

add_video

Creates and adds a video to a presentation from stream.

Returns

Added IVideo.

def add_video(self, stream, loading_stream_behavior):
    ...
ParameterTypeDescription
streamio.RawIOBaseStream to add video file from.
loading_stream_behaviorLoadingStreamBehaviorThe behavior which will be applied to the stream.

See Also