You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* make youtube videos play in website embedded
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* make youtube video play
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* fix spell check for youtube video iframe
Signed-off-by: Carlos Santana <csantana23@gmail.com>
Copy file name to clipboardExpand all lines: docs/adopting/best-practices/devops.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,7 @@
4
4
5
5
This short video introduces the concepts of DevOps with Red Hat OpenShift:
6
6
7
-
Click the image below to launch the video
8
-
9
-
[](https://youtu.be/GOPWObjFTsI"DevOps concepts with Red Hat OpenShift"){: target=_blank}
7
+
<iframewidth="100%"height="500"src="https://www.youtube-nocookie.com/embed/GOPWObjFTsI"title="YouTube video player"frameborder="0"allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"allowfullscreen></iframe>
You can use `{: target=_blank}` to create clickable images that launch to another site: `[](target URL "hover text"){: target=_blank}`
126
+
124
127
#### YouTube videos
125
128
126
-
It is not possible to embed a YouTube video and have it play in place using pure markdown. You can use HTML to embed a video:
129
+
It is possible to embed a YouTube video and have it play in place using pure markdown. You can use HTML to embed a video:
<iframewidth="100%"height="500"src="https://www.youtube-nocookie.com/embed/V-BFLaPdoPo"title="YouTube video player"frameborder="0"allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"allowfullscreen></iframe>
136
133
```
137
134
138
-
where:
139
-
140
-
- alt-content is the content used if the image cannot be displayed by the browser
141
-
- img URL is the URL for the thumbnail image for the video. For YouTube this is usually `http://img.youtube.com/vi/<video ID>/0.jpg`
142
-
- video URL is the URL used to launch the video in a new tab (this can be found by opening the video on YouTube and capturing the URL from the browser address bar - this also provides the video ID to be used in the image). It typically looks like `https://youtu.be/u3PTRqkd94k` or `https://www.youtube.com/watch?v=u3PTRqkd94k`
143
-
- video title is a string that is displayed to the viewer when they hover over the video image
144
135
145
-
!!!info
146
-
You can also use the same technique to create clickable images that launch to another site: `[](target URL "hover text"){: target=_blank}`
147
136
148
137
### Tabs
149
138
@@ -278,15 +267,15 @@ To use inline you simply enclose the text using a single back quote **\`** chara
278
267
279
268
When you want to include a block of code you use a *fence*, which is 3 back quote character at the start and end of the block. After the opening quotes you should also specify the content type contained in the block.
280
269
281
-
**\`\`\` shell**
282
-
**oc get pods**
283
-
**\`\`\`**
270
+
**\`\`\` shell**
271
+
**oc get pods**
272
+
**\`\`\`**
284
273
285
274
which will produce:
286
275
287
-
```shell
288
-
oc get pods
289
-
```
276
+
```shell
277
+
oc get pods
278
+
```
290
279
291
280
Notice that the block automatically gets the *copy to clipboard* link to allow easy copy and paste.
Copy file name to clipboardExpand all lines: docs/learning/devops.md
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,7 @@
4
4
5
5
This short video introduces the concepts of DevOps with Red Hat OpenShift:
6
6
7
-
Click the image below to launch the video
8
-
9
-
[](https://youtu.be/GOPWObjFTsI"DevOps concepts with Red Hat OpenShift"){: target=_blank}
7
+
<iframewidth="100%"height="500"src="https://www.youtube-nocookie.com/embed/GOPWObjFTsI"title="YouTube video player"frameborder="0"allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"allowfullscreen></iframe>
10
8
11
9
## Continuous Delivery
12
10
@@ -60,9 +58,9 @@ For the full end-to-end build and delivery process, both the CI and CD pipelines
60
58
!!!Note
61
59
It is also possible to trigger a process when a new image is available in the image registry or a new artifact is available to the artifact management system.
62
60
63
-
In this case, the CI process could be split into two parts:
64
-
65
-
1. create the container image and artifacts, and
61
+
In this case, the CI process could be split into two parts:
62
+
63
+
1. create the container image and artifacts, and
66
64
2. update the GitOps repo with the available artifacts.
67
65
68
66
4. Changes to the GitOps repository trigger the CD pipeline to run
Copy file name to clipboardExpand all lines: docs/overview/overview.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
Cloud-Native Toolkit is an open-source collection of assets that provide an environment for developing
6
6
cloud-native applications for deployment within Red Hat OpenShift and Kubernetes. It embodies IBM Garage Method principles and practices for consistently developed applications, incorporating best practices that increase developer velocity for efficient delivery of business value.
7
7
8
-
<iframewidth="640"height="360"src="https://www.youtube-nocookie.com/embed/u3PTRqkd94k?controls=0"title="YouTube video player"frameborder="0"allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"allowfullscreen></iframe>
8
+
<iframewidth="100%"height="500"src="https://www.youtube-nocookie.com/embed/u3PTRqkd94k"title="YouTube video player"frameborder="0"allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"allowfullscreen></iframe>
<iframewidth="100%"height="500"src="https://www.youtube-nocookie.com/embed/eayMGvkLZmI"title="YouTube video player"frameborder="0"allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"allowfullscreen></iframe>
20
18
21
19
This article explains the concepts described in the video. You can access the presentation in the [Office Hours](https://ibm.box.com/v/Office-Hours) folder in Box. The scripts described in the [reference section](../../reference/iteration-zero/terraform.md){: target=_blank}.
22
20
@@ -202,6 +200,4 @@ This video presentation shows how to perform this process:
202
200
- 13:16 -- Configure Account
203
201
- 27:44 -- Demo the access groups
204
202
205
-
Click the image below to launch the video
206
-
207
-
[](https://youtu.be/EF-gN0WRhE8"Configure an IBM Cloud account using IAM"){: target=_blank}
203
+
<iframewidth="100%"height="500"src="https://www.youtube-nocookie.com/embed/EF-gN0WRhE8"title="YouTube video player"frameborder="0"allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"allowfullscreen></iframe>
Copy file name to clipboardExpand all lines: docs/resources/workshop/cd.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,7 @@
2
2
3
3
Promote an Application using CD with GitOps and ArgoCD
4
4
5
-
Click on image below to launch video:
6
-
7
-
[](https://youtu.be/Fr85xbcM_es"Workshop: CD/GitOps with ArgoCD"){: target=_blank}
5
+
<iframewidth="100%"height="500"src="https://www.youtube-nocookie.com/embed/Fr85xbcM_es"title="YouTube video player"frameborder="0"allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"allowfullscreen></iframe>
8
6
9
7
1. Prerequisites
10
8
- Complete lab [Deploy an Application using CI Pipelines with Tekton](ci.md).
Copy file name to clipboardExpand all lines: docs/resources/workshop/ci.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,7 @@
2
2
3
3
<!--- cSpell:ignore userx -->
4
4
5
-
Click on image below to launch video:
6
-
7
-
[](https://youtu.be/V-BFLaPdoPo"Workshop: CI Pipelines with Tekton"){: target=_blank}
5
+
<iframewidth="100%"height="500"src="https://www.youtube-nocookie.com/embed/V-BFLaPdoPo"title="YouTube video player"frameborder="0"allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"allowfullscreen></iframe>
8
6
9
7
1. Prerequisites
10
8
- The instructor should [Setup Workshop Environment](setup.md)
0 commit comments