mirror of
https://github.com/divkit/divkit.git
synced 2026-06-06 20:07:59 +00:00
Added pause and fatal actions to DivVideo schema
This commit is contained in:
@@ -47,6 +47,14 @@
|
||||
"minItems": 1,
|
||||
"$description": "translations.json#/div_video_resume_actions"
|
||||
},
|
||||
"pause_actions": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "div-action.json"
|
||||
},
|
||||
"minItems": 1,
|
||||
"$description": "translations.json#/div_video_pause_actions"
|
||||
},
|
||||
"end_actions": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
@@ -63,6 +71,14 @@
|
||||
"minItems": 1,
|
||||
"$description": "translations.json#/div_video_buffering_actions"
|
||||
},
|
||||
"fatal_actions": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "div-action.json"
|
||||
},
|
||||
"minItems": 1,
|
||||
"$description": "translations.json#/div_video_fatal_actions"
|
||||
},
|
||||
"player_settings_payload": {
|
||||
"type": "object",
|
||||
"additionalProperties": true,
|
||||
|
||||
@@ -1999,6 +1999,14 @@
|
||||
"en": "Actions that are performed when playback resumes.",
|
||||
"ru": "Действия, которые выполняются, когда проигрывание возобновляется."
|
||||
},
|
||||
"div_video_pause_actions": {
|
||||
"en": "Actions that are performed when a playback is paused.",
|
||||
"ru": "Действия, которые выполняются при приостановке воспроизведения."
|
||||
},
|
||||
"div_video_fatal_actions": {
|
||||
"en": "Actions that are performed when it is impossible to continue playback due to an error in the player.",
|
||||
"ru": "Действия, которые выполняются, когда невозможно продолжить воспроизведение из-за ошибки плеера."
|
||||
},
|
||||
"div_video_stream": {
|
||||
"en": "Data for stream display.",
|
||||
"ru": "Данные для показа видео."
|
||||
|
||||
Reference in New Issue
Block a user