Skip to content

Commit 4d04dc7

Browse files
author
Ishavyas9
committed
fix video issue
1 parent fb99687 commit 4d04dc7

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

custom.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,7 @@
324324
var iframe = document.createElement("iframe");
325325
iframe.setAttribute("frameborder", "0");
326326
iframe.setAttribute("allowfullscreen", "");
327+
iframe.setAttribute("referrerpolicy", "strict-origin-when-cross-origin");
327328
iframe.setAttribute("src", "https://www.youtube.com/embed/" + this.dataset.embed + "?rel=0&showinfo=0&autoplay=1");
328329
this.innerHTML = "";
329330
this.appendChild(iframe);

docs/getting-started-with-agent-to-agent-testing.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ It is the first platform to test chat, voice, phone, and image agents in one pla
6060
title="Agent Testing by TestMu AI: The QA Layer AI Agents Never Had"
6161
loading="lazy"
6262
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
63+
referrerPolicy="strict-origin-when-cross-origin"
6364
allowFullScreen
6465
></iframe>
6566
</div>

src/component/videoEmbed.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ const VideoEmbed = ({ src, title }) => (
1616
allowFullScreen
1717
allow="encrypted-media; fullscreen;"
1818
loading="lazy"
19+
referrerPolicy="strict-origin-when-cross-origin"
1920
/>
2021
</div>
2122
);

0 commit comments

Comments
 (0)