Video
A
PageElement
kind representing a video.
JSON representation |
---|
{ "url": string, "source": enum ( |
Fields | |
---|---|
url
|
An URL to a video. The URL is valid as long as the source video exists and sharing settings do not change. |
source
|
The video source. |
id
|
The video source's unique identifier for this video. |
videoProperties
|
The properties of the video. |
Source
The video sources.
Enums | |
---|---|
SOURCE_UNSPECIFIED
|
The video source is unspecified. |
YOUTUBE
|
The video source is YouTube. |
DRIVE
|
The video source is Google Drive. |
VideoProperties
The properties of the
Video
.
JSON representation |
---|
{
"outline": {
object ( |
Fields | |
---|---|
outline
|
The outline of the video. The default outline matches the defaults for new videos created in the Slides editor. |
autoPlay
|
Whether to enable video autoplay when the page is displayed in present mode. Defaults to false. |
start
|
The time at which to start playback, measured in seconds from the beginning of the video. If set, the start time should be before the end time. If you set this to a value that exceeds the video's length in seconds, the video will be played from the last second. If not set, the video will be played from the beginning. |
end
|
The time at which to end playback, measured in seconds from the beginning of the video. If set, the end time should be after the start time. If not set or if you set this to a value that exceeds the video's length, the video will be played until its end. |
mute
|
Whether to mute the audio during video playback. Defaults to false. |