From ea7723b9aa3a29fc190d34c18839706a70e9d4de Mon Sep 17 00:00:00 2001 From: Mohammad Shafiee Date: Fri, 9 Aug 2024 13:02:57 +0200 Subject: [PATCH] Update player.html --- templates/player.html | 134 +++++++++++++++++++++++++++++++++++------- 1 file changed, 112 insertions(+), 22 deletions(-) diff --git a/templates/player.html b/templates/player.html index 457d6ae..d5262d5 100644 --- a/templates/player.html +++ b/templates/player.html @@ -15,6 +15,9 @@ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: #222; color: #fff; + overflow: hidden; /* Prevent scrolling */ + position: relative; /* Establish stacking context */ + height: 100vh; } h1 { color: #00aaff; @@ -22,6 +25,9 @@ font-weight: 700; margin: 20px 0; text-align: center; + z-index: 2; /* Position above the background */ + position: relative; + text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.7); /* Add shadow to the title */ } #videoPlayer, #audioPlayer, #imageViewer { max-width: 90%; @@ -29,6 +35,8 @@ display: none; border-radius: 12px; box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4); + z-index: 2; /* Position above the background */ + position: relative; } .button-container { display: flex; @@ -36,6 +44,8 @@ width: 100%; margin: 20px 0; gap: 15px; + z-index: 3; /* Increased z-index to ensure it's above other elements */ + position: relative; } .button { padding: 15px 30px; @@ -47,6 +57,8 @@ border-radius: 8px; cursor: pointer; transition: background-color 0.3s; + z-index: 3; /* Increased z-index to ensure it's above other elements */ + position: relative; } .button:hover { background-color: #0056b3; @@ -56,6 +68,18 @@ margin: 15px 0; text-align: center; color: #aaa; + z-index: 3; /* Increased z-index to ensure it's above other elements */ + position: relative; + text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6); /* Add shadow to the status text */ + } + #audioMotionContainer { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + z-index: 1; /* Ensure it is behind all other content */ + pointer-events: none; /* Allow clicks to pass through */ } @@ -70,7 +94,10 @@

WebBridgeBot

-