Skip to content

Commit e454dd9

Browse files
authored
Update video-indexer-embed-widgets.md
1 parent 381e4d3 commit e454dd9

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

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

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,16 @@ You can use the Editor widget to create new projects and manage a video's insigh
6060

6161
<sup>*</sup>The owner should provide `accessToken` with caution.
6262

63-
## Embedding public content
63+
## Embedding videos
64+
65+
This section discusses embgedding the public and pirvate content into apps.
66+
67+
Make sure to add the `location` parameter to the link, if your resource is not in the **trail** region. The parameter should be set to the [Azure regions in which Video Indexer exists](regions.md). For example: `https://www.videoindexer.ai/accounts/00000000-0000-0000-0000-000000000000/videos/b2b2c74b8e/?location=trial`.
68+
69+
> [!IMPORTANT]
70+
> Sharing the widget link will include the access token and grant the read-only permissions to your account.
71+
72+
### Public content
6473

6574
1. Sign in to the [Video Indexer](https://www.videoindexer.ai/) website.
6675
1. Select the video that you want to work with and press **Play**.
@@ -69,9 +78,7 @@ You can use the Editor widget to create new projects and manage a video's insigh
6978
5. Copy the embed code (appears in **Copy the embedded code** in the **Share & Embed** dialog).
7079
6. Add the code to your app.
7180

72-
Make sure to add the `location` parameter to the link, if your resource is not in the **trail** region. The parameter should be set to the [Azure regions in which Video Indexer exists](regions.md). For example: `https://www.videoindexer.ai/accounts/00000000-0000-0000-0000-000000000000/videos/b2b2c74b8e/?location=trial`.
73-
74-
## Embedding private content
81+
## Private content
7582

7683
To embed a private video, you must pass an access token in the `src` attribute of the iframe:
7784

0 commit comments

Comments
 (0)