Revert "Use react-youtube"

This reverts commit 1329780cfe9058071858499e6800405d26350000.
This commit is contained in:
Jerome Wu
2023-08-05 16:36:24 +08:00
parent 5c9672d7c2
commit 855b839a08
3 changed files with 3 additions and 63 deletions

View File

@@ -34,8 +34,7 @@
"prism-react-renderer": "^1.3.5",
"react": "^17.0.2",
"react-ace": "^10.1.0",
"react-dom": "^17.0.2",
"react-youtube": "^10.1.0"
"react-dom": "^17.0.2"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "^2.2.0",

View File

@@ -6,7 +6,6 @@ import CreateNewFolderIcon from "@mui/icons-material/CreateNewFolder";
import RefreshIcon from "@mui/icons-material/Refresh";
import UploadFileIcon from "@mui/icons-material/UploadFile";
import UploadIcon from "@mui/icons-material/Upload";
import YouTube from "react-youtube";
# Playground
@@ -37,8 +36,7 @@ development!
ffmpeg.wasm fundamentals.
Demo Video:
<YouTube videoId="F01B0fV20QA" />
<iframe style={{"aspect-ratio": "16 / 9", width: "100%"}} src="https://youtube.com/embed/F01B0fV20QA" title="YouTube video player" frameborder="0" allowfullscreen></iframe>
[YouTube Video Link](https://www.youtube.com/watch?v=F01B0fV20QA)