Make YouTube bigger than normal

This commit is contained in:
Maurice Parker
2023-04-04 07:26:28 -05:00
parent 366916571e
commit f21cd774db

View File

@@ -165,7 +165,7 @@ function addYouTubeVideos() {
// Dynamically add the YouTube frame
const bodyContainer = document.querySelector("#bodyContainer");
bodyContainer.setAttribute("style", "position: relative; padding-bottom: 56.25%; height: 100%; overflow: hidden;")
bodyContainer.setAttribute("style", "position: relative; padding-bottom: 56.25%; height: 100%; max-width: 100% !important; overflow: hidden;")
var youTubeFrame = document.createElement("iFrame");
youTubeFrame.setAttribute("src", "https://www.youtube.com/embed/" + titleURL.substring(youTubeLink.length));