Skip to content

Commit 855b839

Browse files
committed
Revert "Use react-youtube"
This reverts commit 1329780.
1 parent 5c9672d commit 855b839

File tree

3 files changed

+3
-63
lines changed

3 files changed

+3
-63
lines changed

apps/website/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@
3434
"prism-react-renderer": "^1.3.5",
3535
"react": "^17.0.2",
3636
"react-ace": "^10.1.0",
37-
"react-dom": "^17.0.2",
38-
"react-youtube": "^10.1.0"
37+
"react-dom": "^17.0.2"
3938
},
4039
"devDependencies": {
4140
"@docusaurus/module-type-aliases": "^2.2.0",

apps/website/src/pages/playground.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import CreateNewFolderIcon from "@mui/icons-material/CreateNewFolder";
66
import RefreshIcon from "@mui/icons-material/Refresh";
77
import UploadFileIcon from "@mui/icons-material/UploadFile";
88
import UploadIcon from "@mui/icons-material/Upload";
9-
import YouTube from "react-youtube";
109

1110
# Playground
1211

@@ -37,8 +36,7 @@ development!
3736
ffmpeg.wasm fundamentals.
3837

3938
Demo Video:
40-
41-
<YouTube videoId="F01B0fV20QA" />
39+
<iframe style={{"aspect-ratio": "16 / 9", width: "100%"}} src="https://youtube.com/embed/F01B0fV20QA" title="YouTube video player" frameborder="0" allowfullscreen></iframe>
4240

4341
[YouTube Video Link](https://www.youtube.com/watch?v=F01B0fV20QA)
4442

package-lock.json

Lines changed: 1 addition & 58 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)