Skip to content

Commit ce83870

Browse files
committed
docs: play the test video only in the video container
Remove the YouTube thumbnail from the Introduction to Git markdown pages; the GitHub introduction to Git video is served by the public video route 11.
1 parent 0972b47 commit ce83870

10 files changed

Lines changed: 2 additions & 58 deletions

File tree

‎README.md‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -517,17 +517,15 @@ video id. The viewer renders the route inside the docs shell, and `?videofull=<l
517517
The video routes of this repository are GitHub channel videos. Routes `id=8` to `id=10` carry the
518518
demo `authorization` (`requireExternalAuth`) and stay hidden from the sidebar until the visitor signs
519519
in with a configured provider. Route `id=11` has no `authorization`, so the **Video** menu section and
520-
its player are always visible. The same test video is also embedded in the *Introduction to Git* page
521-
(`id=5`); markdown pages embed a video as a linked YouTube thumbnail, which renders both on GitHub and
522-
in the viewer.
520+
its video container are always visible. Videos are played only by the video container; markdown pages
521+
do not embed them.
523522

524523
Test video (GitHub channel, *A brief introduction to Git for beginners*):
525524

526525
[![A brief introduction to Git for beginners | GitHub](https://img.youtube.com/vi/r8jQ9hVA2qs/hqdefault.jpg)](https://www.youtube.com/watch?v=r8jQ9hVA2qs)
527526

528527
- Watch on YouTube: https://www.youtube.com/watch?v=r8jQ9hVA2qs
529528
- Video route: https://vidigal-code.github.io/git-page-docs/Vidigal-code/git-page-docs/v/0.0.7/?lang=en&menu=en&id=11
530-
- Open markdown page: https://vidigal-code.github.io/git-page-docs/Vidigal-code/git-page-docs/v/0.0.7/?lang=en&menu=en&id=5#video
531529
- Fullscreen: https://vidigal-code.github.io/git-page-docs/Vidigal-code/git-page-docs/v/0.0.7/?videofull=en&slug=r8jQ9hVA2qs
532530

533531
Route definition in `gitpagedocs/docs/versions/0.0.7/config.json`:

‎cli/content/docs-en.mjs‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -234,12 +234,6 @@ Basic Git concepts for beginners.
234234
- \`git add\` - Stage changes
235235
- \`git commit\` - Create a snapshot
236236
- \`git push\` - Send to remote
237-
238-
## Video
239-
240-
*A brief introduction to Git for beginners*, from the GitHub YouTube channel:
241-
242-
[![A brief introduction to Git for beginners | GitHub](https://img.youtube.com/vi/r8jQ9hVA2qs/hqdefault.jpg)](https://www.youtube.com/watch?v=r8jQ9hVA2qs)
243237
`,
244238
authorizedRoutes: `# Authorized Routes
245239

‎cli/content/docs-es.mjs‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -379,12 +379,6 @@ Conceptos basicos de Git para principiantes.
379379
- \`git add\` - preparar cambios
380380
- \`git commit\` - registrar commit
381381
- \`git push\` - enviar a remoto
382-
383-
## Video
384-
385-
*A brief introduction to Git for beginners*, del canal de GitHub en YouTube:
386-
387-
[![A brief introduction to Git for beginners | GitHub](https://img.youtube.com/vi/r8jQ9hVA2qs/hqdefault.jpg)](https://www.youtube.com/watch?v=r8jQ9hVA2qs)
388382
`,
389383
authorizedRoutes: `# Rutas autorizadas
390384

‎cli/content/docs-pt.mjs‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -379,12 +379,6 @@ Conceitos basicos de Git para iniciantes.
379379
- \`git add\` - preparar alteracoes
380380
- \`git commit\` - registrar commit
381381
- \`git push\` - enviar para remoto
382-
383-
## Video
384-
385-
*A brief introduction to Git for beginners*, do canal do GitHub no YouTube:
386-
387-
[![A brief introduction to Git for beginners | GitHub](https://img.youtube.com/vi/r8jQ9hVA2qs/hqdefault.jpg)](https://www.youtube.com/watch?v=r8jQ9hVA2qs)
388382
`,
389383
authorizedRoutes: `# Rotas autorizadas
390384

‎gitpagedocs/docs/versions/0.0.7/en/git-introduction.md‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,4 @@ Basic Git concepts for beginners.
1616
- `git commit` - Create a snapshot
1717
- `git push` - Send to remote
1818

19-
## Video
20-
21-
*A brief introduction to Git for beginners*, from the GitHub YouTube channel:
22-
23-
[![A brief introduction to Git for beginners | GitHub](https://img.youtube.com/vi/r8jQ9hVA2qs/hqdefault.jpg)](https://www.youtube.com/watch?v=r8jQ9hVA2qs)
24-
2519
> Version: 0.0.7

‎gitpagedocs/docs/versions/0.0.7/es/git-introduction.md‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,4 @@ Conceptos basicos de Git para principiantes.
99
- `git commit` - registrar commit
1010
- `git push` - enviar a remoto
1111

12-
## Video
13-
14-
*A brief introduction to Git for beginners*, del canal de GitHub en YouTube:
15-
16-
[![A brief introduction to Git for beginners | GitHub](https://img.youtube.com/vi/r8jQ9hVA2qs/hqdefault.jpg)](https://www.youtube.com/watch?v=r8jQ9hVA2qs)
17-
1812
> Version (ES): 0.0.7

‎gitpagedocs/docs/versions/0.0.7/pt/git-introduction.md‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,4 @@ Conceitos basicos de Git para iniciantes.
99
- `git commit` - registrar commit
1010
- `git push` - enviar para remoto
1111

12-
## Video
13-
14-
*A brief introduction to Git for beginners*, do canal do GitHub no YouTube:
15-
16-
[![A brief introduction to Git for beginners | GitHub](https://img.youtube.com/vi/r8jQ9hVA2qs/hqdefault.jpg)](https://www.youtube.com/watch?v=r8jQ9hVA2qs)
17-
1812
> Versao: 0.0.7

‎tools/gitpagedocs/docs/versions/0.0.7/en/git-introduction.md‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,4 @@ Basic Git concepts for beginners.
1616
- `git commit` - Create a snapshot
1717
- `git push` - Send to remote
1818

19-
## Video
20-
21-
*A brief introduction to Git for beginners*, from the GitHub YouTube channel:
22-
23-
[![A brief introduction to Git for beginners | GitHub](https://img.youtube.com/vi/r8jQ9hVA2qs/hqdefault.jpg)](https://www.youtube.com/watch?v=r8jQ9hVA2qs)
24-
2519
> Version: 0.0.7

‎tools/gitpagedocs/docs/versions/0.0.7/es/git-introduction.md‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,4 @@ Conceptos basicos de Git para principiantes.
99
- `git commit` - registrar commit
1010
- `git push` - enviar a remoto
1111

12-
## Video
13-
14-
*A brief introduction to Git for beginners*, del canal de GitHub en YouTube:
15-
16-
[![A brief introduction to Git for beginners | GitHub](https://img.youtube.com/vi/r8jQ9hVA2qs/hqdefault.jpg)](https://www.youtube.com/watch?v=r8jQ9hVA2qs)
17-
1812
> Version (ES): 0.0.7

‎tools/gitpagedocs/docs/versions/0.0.7/pt/git-introduction.md‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,4 @@ Conceitos basicos de Git para iniciantes.
99
- `git commit` - registrar commit
1010
- `git push` - enviar para remoto
1111

12-
## Video
13-
14-
*A brief introduction to Git for beginners*, do canal do GitHub no YouTube:
15-
16-
[![A brief introduction to Git for beginners | GitHub](https://img.youtube.com/vi/r8jQ9hVA2qs/hqdefault.jpg)](https://www.youtube.com/watch?v=r8jQ9hVA2qs)
17-
1812
> Versao: 0.0.7

0 commit comments

Comments
 (0)