Videos
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Video
R
PageElement
che rappresenta un video.
Rappresentazione JSON
|
{
"url": string,
"source": enum (Source ),
"id": string,
"videoProperties": {
object (VideoProperties )
}
}
|
Campi
|
url
|
string
Un URL che rimanda a un video. L'URL è valido finché esiste il video sorgente e le impostazioni di condivisione non vengono modificate.
|
source
|
enum (Source )
L'origine del video.
|
id
|
string
L'identificatore univoco della sorgente video per questo video.
|
videoProperties
|
object (VideoProperties )
Le proprietà del video.
|
Origine
Enum
|
SOURCE_UNSPECIFIED
|
L'origine del video non è specificata.
|
YOUTUBE
|
L'origine del video è YouTube.
|
DRIVE
|
L'origine del video è Google Drive.
|
VideoProperties
Rappresentazione JSON
|
{
"outline": {
object (Outline )
},
"autoPlay": boolean,
"start": integer,
"end": integer,
"mute": boolean
}
|
Campi
|
outline
|
object (Outline )
La trama del video. La struttura predefinita corrisponde a quella predefinita per i nuovi video creati nell'editor di Presentazioni.
|
autoPlay
|
boolean
Indica se attivare la riproduzione automatica dei video quando la pagina viene visualizzata in modalità Presentazione. Il valore predefinito è false.
|
start
|
integer
Il momento in cui iniziare la riproduzione, misurato in secondi dall'inizio del video. Se impostato, l'ora di inizio deve essere antecedente a quella di fine. Se imposti un valore superiore alla durata del video in secondi, il video verrà riprodotto dall'ultimo secondo. Se non viene impostato, il video verrà riprodotto dall'inizio.
|
end
|
integer
Il momento in cui terminare la riproduzione, misurato in secondi dall'inizio del video. Se impostata, l'ora di fine deve essere successiva all'ora di inizio. Se il valore non è impostato o se lo imposti su un valore superiore alla durata del video, il video verrà riprodotto fino alla fine.
|
mute
|
boolean
Indica se disattivare l'audio durante la riproduzione video. Il valore predefinito è false.
|
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-03-21 UTC.
[null,null,["Ultimo aggiornamento 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. |"]]