Videos
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
동영상
동영상을 나타내는 PageElement
종류입니다.
JSON 표현
|
{
"url": string,
"source": enum (Source ),
"id": string,
"videoProperties": {
object (VideoProperties )
}
}
|
필드
|
url
|
string
동영상의 URL입니다. URL은 원본 동영상이 존재하고 공유 설정이 변경되지 않는 한 유효합니다.
|
source
|
enum (Source )
동영상 소스입니다.
|
id
|
string
이 동영상에 대한 동영상 소스의 고유 식별자입니다.
|
videoProperties
|
object (VideoProperties )
동영상의 속성입니다.
|
소스
열거형
|
SOURCE_UNSPECIFIED
|
동영상 소스가 지정되지 않았습니다.
|
YOUTUBE
|
동영상 소스가 YouTube입니다.
|
DRIVE
|
동영상 소스가 Google Drive인 경우
|
VideoProperties
JSON 표현
|
{
"outline": {
object (Outline )
},
"autoPlay": boolean,
"start": integer,
"end": integer,
"mute": boolean
}
|
필드
|
outline
|
object (Outline )
동영상의 개요입니다. 기본 개요는 Slides 편집기에서 만든 새 동영상의 기본값과 일치합니다.
|
autoPlay
|
boolean
페이지가 현재 모드로 표시될 때 동영상 자동재생을 사용할지 여부입니다. 기본값은 false입니다.
|
start
|
integer
재생을 시작할 시간으로, 동영상 시작 부분부터 초 단위로 측정됩니다. 설정된 경우 시작 시간은 종료 시간보다 일찍여야 합니다. 이 값을 동영상 길이(단위: 초)를 초과하는 값으로 설정하면 동영상이 마지막 초부터 재생됩니다. 설정하지 않으면 동영상이 처음부터 재생됩니다.
|
end
|
integer
재생을 종료할 시간으로, 동영상 시작 부분부터 초 단위로 측정됩니다. 설정된 경우 종료 시간은 시작 시간 이후여야 합니다. 이 값을 설정하지 않거나 동영상 길이를 초과하는 값으로 설정하면 동영상이 끝날 때까지 재생됩니다.
|
mute
|
boolean
동영상 재생 중에 오디오를 음소거할지 여부입니다. 기본값은 false입니다.
|
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-03-21(UTC)
[null,null,["최종 업데이트: 2025-03-21(UTC)"],[],[],null,["# Videos\n\n### Video\n\n\nA\n[PageElement](/workspace/slides/api/reference/rest/v1/presentations.pages#Page.PageElement)\nkind representing a video.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"url\": string, \"source\": enum (/workspace/slides/api/reference/rest/v1/presentations.pages/videos#Page.Source), \"id\": string, \"videoProperties\": { object (/workspace/slides/api/reference/rest/v1/presentations.pages/videos#Page.VideoProperties) } } ``` |\n\n| Fields ||\n|-------------------|------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `url` | `string` An URL to a video. The URL is valid as long as the source video exists and sharing settings do not change. |\n| `source` | `enum (`[Source](/workspace/slides/api/reference/rest/v1/presentations.pages/videos#Page.Source)`)` The video source. |\n| `id` | `string` The video source's unique identifier for this video. |\n| `videoProperties` | `object (`[VideoProperties](/workspace/slides/api/reference/rest/v1/presentations.pages/videos#Page.VideoProperties)`)` The properties of the video. |\n\n### Source\n\n\nThe video sources.\n\n| Enums ||\n|----------------------|-----------------------------------|\n| `SOURCE_UNSPECIFIED` | The video source is unspecified. |\n| `YOUTUBE` | The video source is YouTube. |\n| `DRIVE` | The video source is Google Drive. |\n\n### VideoProperties\n\n\nThe properties of the\n[Video](/workspace/slides/api/reference/rest/v1/presentations.pages/videos#Page.Video).\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"outline\": { object (/workspace/slides/api/reference/rest/v1/presentations.pages/other#Page.Outline) }, \"autoPlay\": boolean, \"start\": integer, \"end\": integer, \"mute\": boolean } ``` |\n\n| Fields ||\n|------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `outline` | `object (`[Outline](/workspace/slides/api/reference/rest/v1/presentations.pages/other#Page.Outline)`)` The outline of the video. The default outline matches the defaults for new videos created in the Slides editor. |\n| `autoPlay` | `boolean` Whether to enable video autoplay when the page is displayed in present mode. Defaults to false. |\n| `start` | `integer` 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. |\n| `end` | `integer` 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. |\n| `mute` | `boolean` Whether to mute the audio during video playback. Defaults to false. |"]]