Skip to content

Commit 6a4efcf

Browse files
committed
link YouTube video
1 parent 15a2964 commit 6a4efcf

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

_docs/en/jms-request.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ Send action is used to send a JMS message into a queue.
2020

2121
You can do one-way/fire-and-forget style invocation, i.e. send message to queue and done.
2222

23+
<div class="video-container">
24+
<iframe width="560" height="315" src="https://www.youtube.com/embed/EZzxLVzw-vo?si=GUVb6urvdscrGHxU" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
25+
</div>
26+
2327
You can also do request-reply style invocation, i.e. send message to request queue and receive another message from reply queue. For example:
2428

2529
![Send Message and Also Receive](../../screenshots/jms/send-message-and-also-receive.png)

_includes/head.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
{%- include head/favicon.html -%}
1616

1717
<link rel="stylesheet" href="/assets/css/tabs.css">
18+
<link rel="stylesheet" href="/assets/css/video-container.css">
1819

1920
{%- include snippets/prepend-baseurl.html path='/assets/css/main.css' -%}
2021
<link rel="stylesheet" href="{{ __return }}">

assets/css/video-container.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/* Make the video responsive */
2+
3+
.video-container {
4+
position: relative;
5+
width: 100%;
6+
padding-bottom: 56.25%;
7+
height: 0;
8+
}
9+
10+
.video-container iframe {
11+
position: absolute;
12+
top: 0;
13+
left: 0;
14+
width: 100%;
15+
height: 100%;
16+
}

0 commit comments

Comments
 (0)