Fix resource links (#12840)

* 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 <ben@goteleport.com>
Co-authored-by: Roman Tkachenko <roman@goteleport.com>

Co-authored-by: Ben Arent <ben@goteleport.com>
Co-authored-by: Roman Tkachenko <roman@goteleport.com>
This commit is contained in:
Paul Gottschling 2022-06-10 16:59:59 -04:00 committed by GitHub
parent 9b843bad0c
commit 0fcaf92d25
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 6 deletions

Binary file not shown.

Binary file not shown.

View file

@ -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>
```

View file

@ -37,12 +37,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"
/>

View file

@ -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"
/>