add_video method
Contents
[
Hide
]add_video
Adds a copy of an video file from an another presentation.
Returns
Added video.
def add_video(self, video):
...
| Parameter | Type | Description |
|---|---|---|
| video | IVideo | Source video. |
add_video
Creates and adds a video to a presentation from byte array.
Returns
Added video.
def add_video(self, video_data):
...
| Parameter | Type | Description |
|---|---|---|
| video_data | bytes | Video bytes. |
add_video
Creates and adds a video to a presentation from stream.
Returns
Added IVideo.
def add_video(self, stream, loading_stream_behavior):
...
| Parameter | Type | Description |
|---|---|---|
| stream | io.RawIOBase | Stream to add video file from. |
| loading_stream_behavior | LoadingStreamBehavior | The behavior which will be applied to the stream. |
See Also
- class
IVideo - class
IVideoCollection - enumeration
LoadingStreamBehavior - module
aspose.slides - library
Aspose.Slides