You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: An amazing video explaining the string theory
5660
+
language: en
5610
5661
public: false
5611
5662
panoramic: false
5612
5663
tags:
@@ -14886,6 +14937,8 @@ components:
14886
14937
videoId: vi4k0jvEUuaTdRAEjQ4Jfrgz
14887
14938
title: Maths video
14888
14939
description: An amazing video explaining the string theory
14940
+
language: en
14941
+
languageOrigin: api
14889
14942
tags:
14890
14943
- maths
14891
14944
- string theory
@@ -14957,6 +15010,22 @@ components:
14957
15010
description: Returns `true` for videos you discarded when you have the Video
14958
15011
Restore feature enabled. Returns `false` for every other video.
14959
15012
type: boolean
15013
+
language:
15014
+
description: Returns the language of a video in [IETF language tag](https://en.wikipedia.org/wiki/IETF_language_tag)
15015
+
format. You can set the language during video creation via the API, otherwise
15016
+
it is detected automatically.
15017
+
type: string
15018
+
languageOrigin:
15019
+
description: |-
15020
+
Returns the origin of the last update on the video's `language` attribute.
15021
+
15022
+
- `api` means that the last update was requested from the API.
15023
+
- `auto` means that the last update was done automatically by the API.
15024
+
enum:
15025
+
- api
15026
+
- auto
15027
+
nullable: true
15028
+
type: string
14960
15029
tags:
14961
15030
description: "One array of tags (each tag is a string) in order to categorize\
14962
15031
\ a video. Tags may include spaces. \n"
@@ -15705,6 +15774,8 @@ components:
15705
15774
- videoId: vi4k0jvEUuaTdRAEjQ4Jfrgz
15706
15775
title: Maths video
15707
15776
description: An amazing video explaining the string theory
15777
+
language: en
15778
+
languageOrigin: api
15708
15779
tags:
15709
15780
- maths
15710
15781
- string theory
@@ -15726,6 +15797,8 @@ components:
15726
15797
- videoId: vi4k0jvEUuaTdRAEjQ4Jfrgz
15727
15798
title: Maths video
15728
15799
description: An amazing video explaining the string theory
15800
+
language: en
15801
+
languageOrigin: api
15729
15802
tags:
15730
15803
- maths
15731
15804
- string theory
@@ -15777,6 +15850,8 @@ components:
15777
15850
panoramic: false
15778
15851
mp4Support: true
15779
15852
playerId: pl45KFKdlddgk654dspkze
15853
+
language: en
15854
+
transcript: true
15780
15855
tags:
15781
15856
- maths
15782
15857
- string theory
@@ -15847,6 +15922,55 @@ components:
15847
15922
$ref: '#/components/schemas/video-clip'
15848
15923
watermark:
15849
15924
$ref: '#/components/schemas/video-watermark'
15925
+
language:
15926
+
description: |-
15927
+
Use this parameter to set the language of the video. When this parameter is set, the API creates a transcript of the video using the language you specify. You must use the [IETF language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
15928
+
15929
+
`language` is a permanent attribute of the video. You can update it to another language using the [`PATCH /videos/{videoId}`](https://docs.api.video/reference/api/Videos#update-a-video-object) operation. This triggers the API to generate a new transcript using a different language.
15930
+
enum:
15931
+
- ar
15932
+
- ca
15933
+
- cs
15934
+
- da
15935
+
- de
15936
+
- el
15937
+
- en
15938
+
- es
15939
+
- fa
15940
+
- fi
15941
+
- fr
15942
+
- he
15943
+
- hi
15944
+
- hr
15945
+
- hu
15946
+
- it
15947
+
- ja
15948
+
- ko
15949
+
- ml
15950
+
- nl
15951
+
- nn
15952
+
- "false"
15953
+
- pl
15954
+
- pt
15955
+
- ru
15956
+
- sk
15957
+
- sl
15958
+
- te
15959
+
- tr
15960
+
- uk
15961
+
- ur
15962
+
- vi
15963
+
- zh
15964
+
example: fr
15965
+
type: string
15966
+
transcript:
15967
+
description: "Use this parameter to enable transcription. \n\n- When `true`,\
15968
+
\ the API generates a transcript for the video.\n- The default value is\
15969
+
\ `false`.\n- If you define a video language using the `language` parameter,\
15970
+
\ the API uses that language to transcribe the video. If you do not define\
15971
+
\ a language, the API detects it based on the video. \n- When the API\
15972
+
\ generates a transcript, it will be available as a caption for the video."
15973
+
type: boolean
15850
15974
required:
15851
15975
- title
15852
15976
title: VideoCreationPayload
@@ -15897,6 +16021,8 @@ components:
15897
16021
title: String theory
15898
16022
description: An amazing video explaining the string theory
15899
16023
public: false
16024
+
language: en
16025
+
reanscript: true
15900
16026
panoramic: false
15901
16027
mp4Support: true
15902
16028
tags:
@@ -15951,6 +16077,55 @@ components:
15951
16077
items:
15952
16078
$ref: '#/components/schemas/metadata'
15953
16079
type: array
16080
+
language:
16081
+
description: |-
16082
+
Use this parameter to set the language of the video. When this parameter is set, the API creates a transcript of the video using the language you specify. You must use the [IETF language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
16083
+
16084
+
`language` is a permanent attribute of the video. You can update it to another language using the [`PATCH /videos/{videoId}`](https://docs.api.video/reference/api/Videos#update-a-video-object) operation. This triggers the API to generate a new transcript using a different language.
16085
+
enum:
16086
+
- ar
16087
+
- ca
16088
+
- cs
16089
+
- da
16090
+
- de
16091
+
- el
16092
+
- en
16093
+
- es
16094
+
- fa
16095
+
- fi
16096
+
- fr
16097
+
- he
16098
+
- hi
16099
+
- hr
16100
+
- hu
16101
+
- it
16102
+
- ja
16103
+
- ko
16104
+
- ml
16105
+
- nl
16106
+
- nn
16107
+
- "false"
16108
+
- pl
16109
+
- pt
16110
+
- ru
16111
+
- sk
16112
+
- sl
16113
+
- te
16114
+
- tr
16115
+
- uk
16116
+
- ur
16117
+
- vi
16118
+
- zh
16119
+
example: fr
16120
+
type: string
16121
+
transcript:
16122
+
description: "Use this parameter to enable transcription. \n\n- When `true`,\
16123
+
\ the API generates a transcript for the video.\n- The default value is\
16124
+
\ `false`.\n- If you define a video language using the `language` parameter,\
16125
+
\ the API uses that language to transcribe the video. If you do not define\
16126
+
\ a language, the API detects it based on the video. \n- When the API\
16127
+
\ generates a transcript, it will be available as a caption for the video."
Copy file name to clipboardExpand all lines: docs/Video.md
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,8 @@ Name | Type | Description | Notes
15
15
**discardedAt** | **OffsetDateTime** | The date and time the video was discarded. The API populates this field only if you have the Video Restore feature enabled and discard a video. Date and time are provided using ATOM UTC format. | [optional]
16
16
**deletesAt** | **OffsetDateTime** | The date and time the video will be permanently deleted. The API populates this field only if you have the Video Restore feature enabled and discard a video. Discarded videos are pemanently deleted after 90 days. Date and time are provided using ATOM UTC format. | [optional]
17
17
**discarded** | **Boolean** | Returns `true` for videos you discarded when you have the Video Restore feature enabled. Returns `false` for every other video. | [optional]
18
+
**language** | **String** | Returns the language of a video in [IETF language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format. You can set the language during video creation via the API, otherwise it is detected automatically. | [optional]
19
+
**languageOrigin** | [**LanguageOriginEnum**](#LanguageOriginEnum) | Returns the origin of the last update on the video's `language` attribute. - `api` means that the last update was requested from the API. - `auto` means that the last update was done automatically by the API. | [optional]
18
20
**tags** | **List<String>** | One array of tags (each tag is a string) in order to categorize a video. Tags may include spaces. | [optional]
19
21
**metadata** | [**List<Metadata>**](Metadata.md) | Metadata you can use to categorise and filter videos. Metadata is a list of dictionaries, where each dictionary represents a key value pair for categorising a video. | [optional]
@@ -25,6 +27,15 @@ Name | Type | Description | Notes
25
27
**mp4Support** | **Boolean** | This lets you know whether mp4 is supported. If enabled, an mp4 URL will be provided in the response for the video. | [optional]
0 commit comments