You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
116 lines
4.2 KiB
HTML
116 lines
4.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Youtube Video Downloader</title>
|
|
<link rel="stylesheet" href="../assets/css/index.css">
|
|
<script src="../src/renderer.js" defer></script>
|
|
<script src="../src/index.js" defer></script>
|
|
|
|
</head>
|
|
|
|
<div id="popupBox">
|
|
<div id="popup">
|
|
<p>yt-dlp is being downloaded.</p>
|
|
<svg id="popupSvg" version="1.1" id="L4" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"
|
|
y="0px" viewBox="0 0 100 100" enable-background="new 0 0 0 0" xml:space="preserve">
|
|
<circle fill="rgb(84, 171, 222)" stroke="none" cx="6" cy="50" r="6">
|
|
<animate attributeName="opacity" dur="1s" values="0;1;0" repeatCount="indefinite" begin="0.1" />
|
|
</circle>
|
|
<circle fill="rgb(84, 171, 222)" stroke="none" cx="26" cy="50" r="6">
|
|
<animate attributeName="opacity" dur="1s" values="0;1;0" repeatCount="indefinite" begin="0.2" />
|
|
</circle>
|
|
<circle fill="rgb(84, 171, 222)" stroke="none" cx="46" cy="50" r="6">
|
|
<animate attributeName="opacity" dur="1s" values="0;1;0" repeatCount="indefinite" begin="0.3" />
|
|
</circle>
|
|
</svg>
|
|
</div>
|
|
</div>
|
|
|
|
<body>
|
|
|
|
<!-- Theme toggle -->
|
|
<div id="themeToggle" onclick="toggle()">
|
|
<div id="themeToggleInside"></div>
|
|
</div>
|
|
|
|
<!-- Menu icon -->
|
|
<img src="../assets/images/menu.png" alt="menu" id="menuIcon">
|
|
|
|
<!-- Menu -->
|
|
<div id="menu">
|
|
<a id="preferenceWin" class="menuItem">Preferences</a>
|
|
<a id="aboutWin" class="menuItem">About</a>
|
|
</div>
|
|
|
|
|
|
<button id="pasteUrl" class="submitBtn">Click to paste video URL or ID [Ctrl + V]</button>
|
|
|
|
<div id="loadingWrapper">
|
|
<span>Processing </span>
|
|
<svg version="1.1" id="L4" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"
|
|
y="0px" viewBox="0 0 100 100" enable-background="new 0 0 0 0" xml:space="preserve">
|
|
<circle fill="rgb(84, 171, 222)" stroke="none" cx="6" cy="50" r="6">
|
|
<animate attributeName="opacity" dur="1s" values="0;1;0" repeatCount="indefinite" begin="0.1" />
|
|
</circle>
|
|
<circle fill="rgb(84, 171, 222)" stroke="none" cx="26" cy="50" r="6">
|
|
<animate attributeName="opacity" dur="1s" values="0;1;0" repeatCount="indefinite" begin="0.2" />
|
|
</circle>
|
|
<circle fill="rgb(84, 171, 222)" stroke="none" cx="46" cy="50" r="6">
|
|
<animate attributeName="opacity" dur="1s" values="0;1;0" repeatCount="indefinite" begin="0.3" />
|
|
</circle>
|
|
</svg>
|
|
</div>
|
|
<p id="incorrectMsg"></p>
|
|
|
|
<div id="hidden">
|
|
|
|
<div id="btnContainer">
|
|
<button class="toggleBtn" id="videoToggle">Video</button>
|
|
<button class="toggleBtn" id="audioToggle">Audio</button>
|
|
</div>
|
|
<p id="title">Title: </p>
|
|
|
|
<div id="videoList">
|
|
<label>Select Format - </label>
|
|
<select id="videoFormatSelect">
|
|
</select>
|
|
<br>
|
|
<input type="hidden" name="url" class="url" id="url">
|
|
<button class="submitBtn" id="videoDownload">Download</button>
|
|
</div>
|
|
|
|
<div id="audioList">
|
|
<label>Select Format - </label>
|
|
<select id="audioFormatSelect">
|
|
</select>
|
|
<br>
|
|
<input type="hidden" name="url" class="url">
|
|
<button class="submitBtn" id="audioDownload">Download</button>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
<br><br><br><br>
|
|
|
|
<!-- Downloads list -->
|
|
<div id="list">
|
|
|
|
<!-- <div class="item">
|
|
<img src="https://img.youtube.com/vi/pXkctRYYGjo/mqdefault.jpg" alt="thumbnail" class="itemIcon">
|
|
|
|
<div class="itemBody">
|
|
<div class="itemTitle">Qt5 C++ GUI Development Full Course For Beginners | C++ GUI</div>
|
|
<div class="itemProgress">20% downloaded</div>
|
|
</div>
|
|
</div> -->
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html> |