Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

docs: Use LiteYouTube instead of iframes (#39239)

Chrisda54fcca4319
diff --git a/docs/src/release-notes-csharp.md b/docs/src/release-notes-csharp.md
index 23a4750116..8b91c0a67d 100644
--- a/docs/src/release-notes-csharp.md
+++ b/docs/src/release-notes-csharp.md
@@ -4,6 +4,8 @@ title: "Release notes"
toc_max_heading_level: 2
---
+import LiteYouTube from '@site/src/components/LiteYouTube';
+
## Version 1.58
### UI Mode and Trace Viewer Improvements
@@ -1264,9 +1266,10 @@ This version was also tested against the following stable channels:
## Version 1.24
-<div className="embed-youtube">
-<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/9F05o1shxcY" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
-</div>
+<LiteYouTube
+ id="9F05o1shxcY"
+ title="Playwright 1.24"
+/>
### πŸ‚ Debian 11 Bullseye Support
diff --git a/docs/src/release-notes-java.md b/docs/src/release-notes-java.md
index f907564084..62d9a84369 100644
--- a/docs/src/release-notes-java.md
+++ b/docs/src/release-notes-java.md
@@ -4,6 +4,8 @@ title: "Release notes"
toc_max_heading_level: 2
---
+import LiteYouTube from '@site/src/components/LiteYouTube';
+
## Version 1.58
### UI Mode and Trace Viewer Improvements
@@ -1297,9 +1299,10 @@ This version was also tested against the following stable channels:
## Version 1.24
-<div className="embed-youtube">
-<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/9F05o1shxcY" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
-</div>
+<LiteYouTube
+ id="9F05o1shxcY"
+ title="Playwright 1.24"
+/>
### πŸ‚ Debian 11 Bullseye Support
diff --git a/docs/src/release-notes-python.md b/docs/src/release-notes-python.md
index da3b69fa86..806d7621ea 100644
--- a/docs/src/release-notes-python.md
+++ b/docs/src/release-notes-python.md
@@ -4,6 +4,8 @@ title: "Release notes"
toc_max_heading_level: 2
---
+import LiteYouTube from '@site/src/components/LiteYouTube';
+
## Version 1.58
### UI Mode and Trace Viewer Improvements
@@ -1208,9 +1210,10 @@ This version was also tested against the following stable channels:
## Version 1.24
-<div className="embed-youtube">
-<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/9F05o1shxcY" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
-</div>
+<LiteYouTube
+ id="9F05o1shxcY"
+ title="Playwright 1.24"
+/>
### πŸ‚ Debian 11 Bullseye Support