video page responsive

This commit is contained in:
2025-04-08 09:41:02 +04:00
parent 2c8de68d20
commit 295e83e1d6
2 changed files with 130 additions and 91 deletions
+2 -2
View File
@@ -195,7 +195,7 @@ if (empty($videoData) || isset($videoData['error'])) {
<div class="video-page">
<div class="video-player-container">
<div class="video-player">
<iframe src="<?php echo $video['url']; ?>" frameborder="0" allowfullscreen></iframe>
<iframe src="<?php echo $video['url']; ?>" frameborder="0" allowfullscreen="allowfullscreen" allow="autoplay; fullscreen" title="<?php echo htmlspecialchars($video['title']); ?>"></iframe>
</div>
</div>
@@ -259,9 +259,9 @@ if (empty($videoData) || isset($videoData['error'])) {
<a href="video.php?id=<?php echo $suggestedVideo['id']; ?>" class="suggested-video">
<div class="suggested-video-thumbnail">
<img src="<?php echo $suggestedVideo['thumbnail']; ?>" alt="<?php echo $suggestedVideo['title']; ?>">
<span class="suggested-video-duration"><?php echo formatDuration($suggestedVideo['duration']); ?></span>
</div>
<div class="suggested-video-info">
<span class="suggested-video-duration"><?php echo formatDuration($suggestedVideo['duration']); ?></span>
<h4 class="suggested-video-title"><?php echo $suggestedVideo['title']; ?></h4>
<div class="suggested-video-channel"><?php echo $suggestedVideo['channel']; ?></div>
<div class="suggested-video-metadata">