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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

72 lines
2.8 KiB
PHTML

4 years ago
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ToViCo</title>
<link rel="stylesheet" href="css/style.css">
<script src="./js/controller.js"></script>
<script src="./js/main.js"></script>
</head>
<body>
<aside>
<div class="comment">
<object data="./img/closed-captioning.svg" type="image/svg+xml" class="icon"></object>
<div class="time">01:74</div>
<div class="commentText">Lorem ipsum dolor sit amet.</div>
</div>
<div class="comment activeComment">
<object data="./img/play.svg" type="image/svg+xml" class="icon activeIcon"></object>
<div class="time">02:62</div>
<div class="commentText">Lorem ipsum, dolor sit amet consectetur.</div>
</div>
<div class="comment">
<object data="./img/closed-captioning.svg" type="image/svg+xml" class="icon"></object>
<div class="time">02:62</div>
<div class="commentText">Lorem ipsum, dolor sit amet consectetur adipisicing elit. Voluptas magni qui itaque? Magnam dolorum et, iure nobis velit sed minima repudiandae.</div>
</div>
<div class="comment">
<object data="./img/closed-captioning.svg" type="image/svg+xml" class="icon"></object>
<div class="time">02:62</div>
<div class="commentText">Lorem ipsum, dolor sit amet consectetur.</div>
</div>
</aside>
<main>
<video controls preload="auto">
<source src="video.mp4" type="video/mp4">
</souce>
</video>
<div class="video-controls hidden" id="video-controls">
<div class="video-progress">
<progress id="progress-bar" value="0" min="0"></progress>
<input class="seek" id="seek" value="0" min="0" type="range" step="1">
<div class="seek-tooltip" id="seek-tooltip">00:00</div>
</div>
</div>
</main>
<article>
<h1>Nadpis velký</h1>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Eum sunt, quo incidunt modi nostrum harum. Deserunt accusamus doloribus numquam ut? Sequi et provident modi eveniet enim repellat error mollitia explicabo!</p>
<h2>Nadpis menší</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dolores sunt animi veritatis.</p>
<h3>Nadpis nejmenší</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dolores sunt animi veritatis.</p>
</article>
</body>
<script>
var mySVG = document.getElementsByClassName("activeIcon")[0];
var svgDoc;
mySVG.addEventListener("load", function() {
svgDoc = mySVG.contentDocument;
svgDoc.getElementById("path4").style.fill = "#ffa800";
}, false);
</script>
</html>