Added pause and fatal actions to DivVideo schema

This commit is contained in:
the-leo
2023-05-15 07:57:49 +03:00
parent a64c4ddf40
commit 855a882f96
2 changed files with 24 additions and 0 deletions
+16
View File
@@ -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,
+8
View File
@@ -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": "Данные для показа видео."