Skip to content

Commit

Permalink
Backport #12840 to branch/v9 (#13420)
Browse files Browse the repository at this point in the history
* Fix resource links

Fixes #12839

Some video links still refer to the outdated "/teleport/" path.
This change adds the videos these links refer to to the "img"
directory and updates the links.

Note that two of the three MDX files that are changed here do not
actually render the video. I've changed the links here anyway in
case someone uses these as a reference for the link format.

* Apply suggestions from code review

Co-authored-by: Ben Arent <[email protected]>
Co-authored-by: Roman Tkachenko <[email protected]>

Co-authored-by: Ben Arent <[email protected]>
Co-authored-by: Roman Tkachenko <[email protected]>
  • Loading branch information
3 people authored Jun 14, 2022
1 parent d97ecae commit 0e40558
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Binary file added docs/img/database-access/dbaccessdemo.mp4
Binary file not shown.
Binary file added docs/img/database-access/dbaccessdemo.webm
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/pages/contributing/documentation/reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,8 @@ Any Markdown and MDX components can be included within a `ScopedBlock`.
To embed a video in a docs page, use the `video` tag:
```html
<video autoPlay loop muted playsInline>
<source src="https://goteleport.com/teleport/videos/database-access-preview/dbaccessdemo.mp4" type="video/mp4" />
<source src="https://goteleport.com/teleport/videos/database-access-preview/dbaccessdemo.webm" type="video/webm" />
<source src="../../img/database-access/dbaccessdemo.mp4" type="video/mp4" />
<source src="../../img/database-access/dbaccessdemo.webm" type="video/webm" />
Your browser does not support the video tag.
</video>
```
4 changes: 2 additions & 2 deletions docs/pages/database-access/introduction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ with GitHub, execute a few SQL queries and observe them in the audit log:
controls
>
<source
src="https://goteleport.com/teleport/videos/database-access-preview/dbaccessdemo.mp4"
src="../../img/database-access/dbaccessdemo.mp4"
type="video/mp4"
/>

<source
src="https://goteleport.com/teleport/videos/database-access-preview/dbaccessdemo.webm"
src="../../img/database-access/dbaccessdemo.webm"
type="video/webm"
/>

Expand Down
4 changes: 2 additions & 2 deletions docs/pages/machine-id/introduction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ Let's create a bot and use the machine identity to connect to a server.
controls
>
<source
src="https://goteleport.com/teleport/videos/database-access-preview/dbaccessdemo.mp4"
src="../../img/database-access/dbaccessdemo.mp4"
type="video/mp4"
/>
<source
src="https://goteleport.com/teleport/videos/database-access-preview/dbaccessdemo.webm"
src="../../img/database-access/dbaccessdemo.webm"
type="video/webm"
/>
Expand Down

0 comments on commit 0e40558

Please sign in to comment.