-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
67e77f1
commit 14bf5f9
Showing
5 changed files
with
203 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>YouTube Shorts Mock</title> | ||
<link rel="stylesheet" href="style.css"> | ||
</head> | ||
<body> | ||
|
||
<!-- Top Bar: Back Arrow and Menu --> | ||
<div class="top-bar"> | ||
<div class="back-section"> | ||
<img src="https://img.icons8.com/ios-filled/50/ffffff/left.png" alt="Back" class="icon-back"> | ||
<p>Shorts</p> | ||
</div> | ||
<img src="https://img.icons8.com/ios-filled/50/ffffff/menu-2.png" alt="Menu" class="icon-menu"> | ||
</div> | ||
|
||
<!-- Video Container --> | ||
<div class="shorts-container"> | ||
<iframe src="https://www.youtube.com/embed/vEGVq4U1iQk?autoplay=1&mute=1&loop=1&playlist=vEGVq4U1iQk" | ||
frameborder="0" | ||
allowfullscreen | ||
allow="autoplay; encrypted-media" | ||
class="video-frame"> | ||
</iframe> | ||
|
||
<!-- Right Action Buttons --> | ||
<div class="actions"> | ||
<div class="icon"> | ||
<img src="https://img.icons8.com/?size=100&id=85608&format=png&color=FFFFFF" alt="Like"> | ||
<p>10.5K</p> | ||
</div> | ||
<div class="icon"> | ||
<img src="https://img.icons8.com/?size=100&id=87695&format=png&color=FFFFFF" alt="Dislike"> | ||
<p>Dislike</p> | ||
</div> | ||
<div class="icon"> | ||
<img src="https://img.icons8.com/?size=100&id=Bj1vcU6y7wT0&format=png&color=FFFFFF" alt="Share"> | ||
<p>Share</p> | ||
</div> | ||
</div> | ||
|
||
<!-- Video Description --> | ||
<div class="video-details"> | ||
<img src="cicon.png" alt="Profile" class="profile-icon"> | ||
<div> | ||
<p class="username">@charithya001</p> | ||
<p class="video-title">Ganesha Pancharatnam Stotram by Char...</p> | ||
<p class="views">Unlisted · 3 views</p> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<!-- Bottom Navigation Bar --> | ||
<div class="bottom-nav"> | ||
<img src="https://img.icons8.com/?size=100&id=86527&format=png&color=FFFFFF" alt="Home"> | ||
<img src="https://img.icons8.com/?size=100&id=ajczeHCWXbyR&format=png&color=FFFFFF" alt="Shorts"> | ||
<img src="https://img.icons8.com/?size=100&id=87581&format=png&color=FFFFFF" alt="Subscriptions"> | ||
<img src="cicon.png" alt="You"> | ||
</div> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
"https://www.youtube.com/embed/vEGVq4U1iQk?autoplay=1&mute=1&loop=1&playlist=vEGVq4U1iQk" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
// Placeholder for future interactive features | ||
console.log("YouTube Shorts Mock Loaded"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,135 @@ | ||
/* Reset styling */ | ||
* { | ||
margin: 0; | ||
padding: 0; | ||
box-sizing: border-box; | ||
font-family: 'Arial', sans-serif; | ||
} | ||
|
||
body, html { | ||
height: 100%; | ||
background-color: #000; | ||
} | ||
|
||
.shorts-container { | ||
position: relative; | ||
height: 100vh; | ||
width: 100%; | ||
overflow: hidden; | ||
} | ||
|
||
.video-frame { | ||
width: 100%; | ||
height: 100%; | ||
object-fit: cover; | ||
} | ||
|
||
/* Action buttons on the right */ | ||
.actions { | ||
position: absolute; | ||
right: 10px; | ||
bottom: 25%; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
gap: 20px; | ||
} | ||
|
||
.icon { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
color: white; | ||
text-align: center; | ||
} | ||
|
||
.icon img { | ||
width: 35px; | ||
height: 35px; | ||
} | ||
|
||
.icon p { | ||
font-size: 13px; | ||
} | ||
|
||
/* Video details at the bottom */ | ||
.video-details { | ||
position: absolute; | ||
bottom: 70px; | ||
left: 10px; | ||
color: white; | ||
display: flex; | ||
align-items: center; | ||
} | ||
|
||
.profile-icon { | ||
width: 40px; | ||
height: 40px; | ||
border-radius: 50%; | ||
margin-right: 10px; | ||
} | ||
|
||
.username { | ||
font-weight: bold; | ||
} | ||
|
||
.video-title, | ||
.views { | ||
font-size: 12px; | ||
} | ||
|
||
/* Bottom Navigation Bar */ | ||
.bottom-nav { | ||
position: fixed; | ||
bottom: 0; | ||
width: 100%; | ||
height: 60px; | ||
background-color: #111; | ||
display: flex; | ||
justify-content: space-around; | ||
align-items: center; | ||
} | ||
|
||
.bottom-nav img { | ||
width: 30px; | ||
height: 30px; | ||
} | ||
|
||
|
||
|
||
|
||
/* Top Bar */ | ||
.top-bar { | ||
position: absolute; | ||
top: 20px; | ||
width: 100%; | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
padding: 0 15px; | ||
z-index: 10; | ||
} | ||
|
||
.back-section { | ||
display: flex; | ||
align-items: center; | ||
} | ||
|
||
.icon-back { | ||
width: 24px; | ||
height: 24px; | ||
margin-right: 8px; | ||
cursor: pointer; | ||
} | ||
|
||
.back-section p { | ||
font-size: 18px; | ||
font-weight: bold; | ||
color: white; | ||
} | ||
|
||
.icon-menu { | ||
width: 24px; | ||
height: 24px; | ||
cursor: pointer; | ||
} |