إذا كان الفيديو يتضمّن فاصلاً إعلانيًا (مثل فاصل إعلاني)
الشركة المصنِّعة
استراحة
new
Break(id, breakClipIds, position)
المَعلمة
id
سلسلة
المعرّف الفريد لفاصل إعلاني
breakClipIds
مصفوفة من السلسلة
قائمة بمعرّفات مقاطع الفواصل المضمّنة في هذا الفاصل.
يجب ألا تكون القيمة فارغة.
الموضع
الرقم
موضع هذا الفاصل ضمن الفيديو الرئيسي
أماكن إقامة
breakClipIds
مصفوفة غير فارغة من السلسلة
قائمة بمعرّفات مقاطع الفواصل المضمّنة في هذا الفاصل.
المدة
(رقم أو غير محدد)
مدة الراحة بالثواني.
id
سلسلة
المعرّف الفريد لفاصل إعلاني
isEmbedded
(منطقية أو غير محدّدة)
تشير هذه العلامة إلى ما إذا كان الفاصل مضمّنًا في البث الرئيسي.
isWatched
boolean
ما إذا تمت مشاهدة استراحة ويتم وضع علامة "صحيح" عند بدء تشغيل الفاصل. يمكن للمرسِل تغيير لون محدِّد شريط التقدم المقابل لهذا الفاصل بعد تغيير هذا الحقل من "خطأ" إلى "صحيح"، ما يشير إلى أنّ
المستخدم النهائي سبق أن شاهد هذا الفاصل.
الموضع
الرقم
موضع الفاصل ضمن الفيديو الرئيسي. يمثّل الرقم 1- نهاية
الفيديو الرئيسي بالثواني.
تاريخ التعديل الأخير: 2023-12-02 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","easyToUnderstand","thumb-up"],["ساعَدني المحتوى في حلّ مشكلتي.","solvedMyProblem","thumb-up"],["غير ذلك","otherUp","thumb-up"]],[["لا يحتوي على المعلومات التي أحتاج إليها.","missingTheInformationINeed","thumb-down"],["الخطوات معقدة للغاية / كثيرة جدًا.","tooComplicatedTooManySteps","thumb-down"],["المحتوى قديم.","outOfDate","thumb-down"],["ثمة مشكلة في الترجمة.","translationIssue","thumb-down"],["مشكلة في العيّنات / التعليمات البرمجية","samplesCodeIssue","thumb-down"],["غير ذلك","otherDown","thumb-down"]],["تاريخ التعديل الأخير: 2023-12-02 (حسب التوقيت العالمي المتفَّق عليه)"],[[["The `chrome.cast.media.Break` class represents an ad break or similar interruption within a main video stream."],["Breaks are identified by a unique ID and contain a list of break clip IDs, along with their position in the main video."],["Key properties of a Break include its duration, whether it's embedded within the stream, and if it has been watched by the user."],["Developers can use the `Break` object to manage and track breaks within their Cast-enabled applications."]]],["The `Break` class represents a video break, such as an ad break, within a main video. It requires an `id`, a list of `breakClipIds`, and a `position`. Key properties include `breakClipIds` (list of clip IDs), `duration` (break length), `id` (unique identifier), `isEmbedded` (embedded status), `isWatched` (watched status, toggled when playback starts), and `position` (location within the video, -1 for the end). The constructor `Break` is used to instantiate breaks, given the id, breakClipIds, and position.\n"]]