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 )
مخطّط محتوى الفيديو يتطابق المخطط التلقائي مع الإعدادات التلقائية للفيديوهات الجديدة التي يتم إنشاؤها في أداة تعديل "العروض التقديمية من Google".
|
autoPlay
|
boolean
لتحديد ما إذا كان سيتم تفعيل التشغيل التلقائي للفيديو عند عرض الصفحة في الوضع الحالي. القيمة التلقائية هي false.
|
start
|
integer
وقت بدء التشغيل، ويتم قياسه بالثواني من بداية الفيديو. إذا تم ضبطه، يجب أن يكون وقت البدء قبل وقت الانتهاء. وفي حال ضبط هذه القيمة على قيمة تتجاوز مدة الفيديو بالثواني، سيتم تشغيل الفيديو من آخر ثانية. وفي حال عدم ضبط هذه القيمة، سيتم تشغيل الفيديو من البداية.
|
end
|
integer
الوقت الذي يتم فيه إنهاء التشغيل، ويتم قياسه بالثواني من بداية الفيديو. وفي حال ضبطها، يجب أن يكون وقت الانتهاء بعد وقت البدء. إذا لم يتم ضبط السياسة أو إذا ضبطت هذه القيمة على قيمة تتجاوز مدة الفيديو، سيتم تشغيل الفيديو حتى نهايته.
|
mute
|
boolean
ما إذا كنت تريد كتم صوت الفيديو أثناء تشغيله القيمة التلقائية هي false.
|
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-03-21 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-03-21 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],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. |"]]