Hello.
I want to create a list of videos in which I will have a main video (bigger picture) and a sequenced list with others' thumbnail. However, in this thumbnail list you should have a link that will cause it to load into the main video frame.
Something like:
.video {
background: #005299;
margin: 10px;
width: 480px;
height: 320px;
}
.miniatura {
background: #0091ea;
color: #fff;
margin: 10px;
width: 105px;
height: 100px;
float: left
}
<ul>
<li class="video">
<embed width="480" height="320" src="https://video.com/video.mp4"></li><liclass="miniatura"><a href="#">VIDEO 1</a></li>
<li class="miniatura"><a href="#">VIDEO 2</a></li>
<li class="miniatura"><a href="#">VIDEO 3</a></li>
<li class="miniatura"><a href="#">VIDEO 4</a></li>
</ul>
Well, now in this structure you would have to get a javascript or jquery script to make the links change the url of < embed > without updating the page, but I have no idea how to do this.
Can anyone give me an idea there?