Skip to content

Commit 93b89f9

Browse files
authored
Merge pull request #6365 from opsmill/pmc-20250426-videos
improve video player appearance
2 parents 7ceb878 + 0b6d612 commit 93b89f9

File tree

15 files changed

+56
-29
lines changed

15 files changed

+56
-29
lines changed

docs/docs/guides/artifact.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Creating an Artifact
33
---
44

5-
import ReactPlayer from 'react-player/youtube'
5+
import VideoPlayer from '../../src/components/VideoPlayer';
66

77
# Creating an artifact in Infrahub
88

@@ -60,7 +60,7 @@ Create a Standard Group with the name `DeviceGroup` and add `NetworkDevice` `swi
6060
More information can be found in the [Creating a group guide](./groups.mdx).
6161

6262
<center>
63-
<ReactPlayer url='https://www.youtube.com/watch?v=ASGMKZVLCbY' light />
63+
<VideoPlayer url='https://www.youtube.com/watch?v=ASGMKZVLCbY' light />
6464
</center>
6565

6666
## Creating an artifact definition

docs/docs/guides/create-schema.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Creating a Schema
33
---
44

55
import CodeBlock from "@theme/CodeBlock";
6-
import ReactPlayer from 'react-player/youtube'
6+
import VideoPlayer from '../../src/components/VideoPlayer';
77
import Tabs from '@theme/Tabs';
88
import TabItem from '@theme/TabItem';
99

@@ -32,7 +32,7 @@ To help with the development process of a schema definition file, you can levera
3232
:::
3333

3434
<center>
35-
<ReactPlayer url='https://www.youtube.com/watch?v=f3jtGm0_IxQ' light />
35+
<VideoPlayer url='https://www.youtube.com/watch?v=f3jtGm0_IxQ' light />
3636
</center>
3737

3838
## 1. Adding nodes and attributes

docs/docs/guides/installation-enterprise.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Installing Infrahub Enterprise
44

55
import Tabs from '@theme/Tabs';
66
import TabItem from '@theme/TabItem';
7-
import ReactPlayer from 'react-player/youtube'
7+
import VideoPlayer from '../../src/components/VideoPlayer';
88
import ReferenceLink from "../../src/components/Card";
99

1010
# Installing Infrahub Enterprise

docs/docs/guides/installation.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Installing Infrahub
44

55
import Tabs from '@theme/Tabs';
66
import TabItem from '@theme/TabItem';
7-
import ReactPlayer from 'react-player/youtube'
7+
import VideoPlayer from '../../src/components/VideoPlayer';
88
import ReferenceLink from "../../src/components/Card";
99

1010
# Installing Infrahub
@@ -16,7 +16,7 @@ Infrahub is deployed as a container-based architecture, and can be deployed for
1616
* [K8s with Helm charts](#k8s-with-helm-charts)
1717

1818
<center>
19-
<ReactPlayer url='https://www.youtube.com/watch?v=onVhaTVFkrM' light />
19+
<VideoPlayer url='https://www.youtube.com/watch?v=onVhaTVFkrM' light />
2020
</center>
2121

2222
## Hardware requirements

docs/docs/guides/resource-manager.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Using Resource Managers
33
---
44

5-
import ReactPlayer from 'react-player/youtube'
5+
import VideoPlayer from '../../src/components/VideoPlayer';
66
import Tabs from '@theme/Tabs';
77
import TabItem from '@theme/TabItem';
88

@@ -17,7 +17,7 @@ But if you have load the demo schema skip the section regarding loading schema.
1717
:::
1818

1919
<center>
20-
<ReactPlayer url='https://www.youtube.com/watch?v=sVU4OKi9_9o' light />
20+
<VideoPlayer url='https://www.youtube.com/watch?v=sVU4OKi9_9o' light />
2121
</center>
2222

2323
## Loading a schema

docs/docs/release-notes/infrahub/release-1_0_0.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Release 1.0.0
33
---
44

5-
import ReactPlayer from 'react-player/youtube'
5+
import VideoPlayer from '../../../src/components/VideoPlayer';
66

77
<table>
88
<tbody>
@@ -32,7 +32,7 @@ We are thrilled to announce the general availability release of Infrahub, versio
3232
We greatly appreciate all the time and efforts of our dedicated community of developers and beta testers!
3333

3434
<center>
35-
<ReactPlayer url='https://www.youtube.com/watch?v=BR9yZzC9CVg' light />
35+
<VideoPlayer url='https://www.youtube.com/watch?v=BR9yZzC9CVg' light />
3636
</center>
3737

3838
## Main changes

docs/docs/topics/artifact.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Artifact
33
---
44

5-
import ReactPlayer from 'react-player/youtube'
5+
import VideoPlayer from '../../src/components/VideoPlayer';
66

77
# Artifact
88

@@ -36,7 +36,7 @@ While it's always possible to generate [Transformations](./transformation.mdx) o
3636
While the content of an artifact can change, its identifier will remain the same over time.
3737

3838
<center>
39-
<ReactPlayer url='https://www.youtube.com/watch?v=ASGMKZVLCbY' light />
39+
<VideoPlayer url='https://www.youtube.com/watch?v=ASGMKZVLCbY' light />
4040
</center>
4141

4242
## High level design

docs/docs/topics/generator.mdx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
title: Generator
33
---
44

5-
import ReactPlayer from 'react-player/youtube'
6-
7-
# Generator
5+
import VideoPlayer from '../../src/components/VideoPlayer';
86

97
A `Generator` is a generic plugin that queries data and creates new nodes and relationships based on the result.
108

@@ -39,21 +37,21 @@ In this video series we’re diving into the concept of generators and services,
3937
The first video will highlight what generators are and how they can be used to deliver services.
4038

4139
<center>
42-
<ReactPlayer url='https://www.youtube.com/watch?v=TSqY0caGb0A' light />
40+
<VideoPlayer url='https://www.youtube.com/watch?v=TSqY0caGb0A' light />
4341
<br />
4442
</center>
4543

4644
In the second video we will will look at how to plan a generator from coming up with a use case and then finally what the workflow may look like in pseudocode.
4745

4846
<center>
49-
<ReactPlayer url='https://www.youtube.com/watch?v=7oM2W8Kn2-U' light />
47+
<VideoPlayer url='https://www.youtube.com/watch?v=7oM2W8Kn2-U' light />
5048
<br />
5149
</center>
5250

5351
In the third video we will look at how a generator can be created and run in Infrahub. Looking at the `.infrahub.yml` file the GraphQL query the generator will run against and finally the logic that will be run against Infrahub to create objects and bring the service to life.
5452

5553
<center>
56-
<ReactPlayer url='https://www.youtube.com/watch?v=HSUVWm3Se28' light />
54+
<VideoPlayer url='https://www.youtube.com/watch?v=HSUVWm3Se28' light />
5755
</center>
5856

5957
## Known limitations

docs/docs/topics/ipam.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: IP address management
33
---
44

5-
import ReactPlayer from 'react-player/youtube'
5+
import VideoPlayer from '../../src/components/VideoPlayer';
66

77
# IP address management
88

@@ -15,7 +15,7 @@ Building an IPAM serves a different purpose as using the `IPHost` or `IPNetwork`
1515
:::
1616

1717
<center>
18-
<ReactPlayer url='https://www.youtube.com/watch?v=vF7dUftSDBs' light />
18+
<VideoPlayer url='https://www.youtube.com/watch?v=vF7dUftSDBs' light />
1919
</center>
2020

2121
## IPAM generics

docs/docs/topics/proposed-change.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
title: Proposed change
33
---
4-
import ReactPlayer from 'react-player/youtube'
4+
import VideoPlayer from '../../src/components/VideoPlayer';
55

66
# Proposed change
77

88
A proposed change provides a way to review and discuss how two branches differ from each other and to merge a source branch into the target branch. For people with a development background, this will sound very familiar. It’s like a pull or merge request. The proposed change lets you compare two branches, run tests, and finally merge one branch into another.
99

1010
<center>
11-
<ReactPlayer url='https://www.youtube.com/watch?v=OAXk3dKKgf0' light />
11+
<VideoPlayer url='https://www.youtube.com/watch?v=OAXk3dKKgf0' light />
1212
</center>
1313

1414
## Discussions and issues as part of the review

0 commit comments

Comments
 (0)