Videos
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Vídeo
Um
PageElement
tipo que representa um vídeo.
Representação JSON
|
{
"url": string,
"source": enum (Source ),
"id": string,
"videoProperties": {
object (VideoProperties )
}
}
|
Campos
|
url
|
string
URL de um vídeo. O URL será válido desde que o vídeo de origem exista e as configurações de compartilhamento não sejam alteradas.
|
source
|
enum (Source )
É a fonte do vídeo.
|
id
|
string
O identificador exclusivo da fonte deste vídeo.
|
videoProperties
|
object (VideoProperties )
As propriedades do vídeo.
|
Origem
Enums
|
SOURCE_UNSPECIFIED
|
A origem do vídeo não foi especificada.
|
YOUTUBE
|
A origem do vídeo é o YouTube.
|
DRIVE
|
A origem do vídeo é o Google Drive.
|
VideoProperties
As propriedades do
Video
.
Representação JSON
|
{
"outline": {
object (Outline )
},
"autoPlay": boolean,
"start": integer,
"end": integer,
"mute": boolean
}
|
Campos
|
outline
|
object (Outline )
O resumo do vídeo. O esboço padrão corresponde aos padrões para novos vídeos criados no editor de slides.
|
autoPlay
|
boolean
Define se a reprodução automática de vídeo será ativada quando a página for exibida no modo de apresentação. O padrão é "false".
|
start
|
integer
O tempo no qual iniciar a reprodução, medido em segundos a partir do início do vídeo. Se definido, o horário de início precisa ser anterior ao horário de término. Se você definir um valor que exceda a duração do vídeo em segundos, ele será reproduzido a partir do último segundo. Se não for definido, o vídeo será reproduzido do início.
|
end
|
integer
O tempo em que a reprodução vai ser encerrada, medido em segundos a partir do início do vídeo. Se definido, o horário de término deverá ser posterior ao horário de início. Se não for definido, ou se você definir um valor que exceda a duração do vídeo, o vídeo será reproduzido até o fim.
|
mute
|
boolean
Se o áudio será silenciado durante a reprodução do vídeo. O padrão é "false".
|
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2025-03-21 UTC.
[null,null,["Última atualização 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. |"]]