Skip to content

Commit c58aff6

Browse files
Merge pull request #109455 from Juliako/patch-18
Update video-indexer-embed-widgets.md
2 parents c05475e + c46270a commit c58aff6

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

articles/media-services/video-indexer/video-indexer-embed-widgets.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ You can use the Player widget to stream video by using adaptive bit rate. The Pl
4343
|`showCaptions` | A Boolean value | Makes the player load with the captions already enabled.<br/> Example: `showCaptions=true`. |
4444
|`type`| | Activates an audio player skin (the video part is removed).<br/> Example: `type=audio`. |
4545
|`autoplay` | A Boolean value | Indicates if the player should start playing the video when loaded. The default value is `true`.<br/> Example: `autoplay=false`. |
46-
|`language` | A language code | Controls the player language. The default value is `en-US`.<br/>Example: `language=de-DE`.|
46+
|`language`/`locale` | A language code | Controls the player language. The default value is `en-US`.<br/>Example: `language=de-DE`.|
4747

4848
### Editor widget
4949

@@ -228,14 +228,14 @@ If you embed Video Indexer insights with your own [Azure Media Player](https://a
228228

229229
You can choose the types of insights that you want. To do this, specify them as a value to the following URL parameter that's added to the embed code that you get (from the API or from the web app): `&widgets=<list of wanted widgets>`.
230230

231-
The possible values are: **people**, **keywords**, **sentiments**, **transcript**, and **search**.
231+
The possible values are: `people`, `animatedCharacters` , `keywords`, `labels`, `sentiments`, `emotions`, `topics`, `keyframes`, `transcript`, `ocr`, `speakers`, `scenes`, and `namedEntities`.
232232

233-
For example, if you want to embed a widget that contains only people and search insights, the iframe embed URL will look like this:
233+
For example, if you want to embed a widget that contains only people and keywords insights, the iframe embed URL will look like this:
234234

235-
`https://www.videoindexer.ai/embed/insights/<accountId>/<videoId>/?widgets=people,search`
236-
237-
The title of the iframe window can also be customized by providing `&title=<YourTitle>` to the iframe URL. (It customizes the HTML \<title> value).
235+
`https://www.videoindexer.ai/embed/insights/<accountId>/<videoId>/?widgets=people,keywords`
238236

237+
The title of the iframe window can also be customized by providing `&title=<YourTitle>` to the iframe URL. (It customizes the HTML <title> value).
238+
239239
For example, if you want to give your iframe window the title "MyInsights", the URL will look like this:
240240

241241
`https://www.videoindexer.ai/embed/insights/<accountId>/<videoId>/?title=MyInsights`
@@ -252,15 +252,14 @@ For example:
252252

253253
By default, Video Indexer player has autogenerated closed captions that are based on the transcript of the video. The transcript is extracted from the video with the source language that was selected when the video was uploaded.
254254

255-
If you want to embed with a different language, you can add `&captions=< Language | "all" | "false" >` to the embed player URL. If you want captions in all available languages, use the value `all`. If you want the captions to be displayed by default, you can pass `&showCaptions=true`.
255+
If you want to embed with a different language, you can add &captions=< Language Code > to the embed player URL. If you want the captions to be displayed by default, you can pass &showCaptions=true.
256256

257257
The embed URL then will look like this:
258258

259-
`https://www.videoindexer.ai/embed/player/<accountId>/<videoId>/?captions=italian`
260-
261-
If you want to disable captions, you can pass the `captions` parameter value as `false`.
259+
`https://www.videoindexer.ai/embed/player/<accountId>/<videoId>/?captions=en-us`
262260

263261
#### Autoplay
262+
264263
By default, the player will start playing the video. you can choose not to by passing `&autoplay=false` to the preceding embed URL.
265264

266265
## Code samples

0 commit comments

Comments
 (0)