1
I’m creating a "Webplayer" page and I need two things on it:
- 1: A list with EPS that when clicking change the link inside the embed "video"
- 2: Function to manipulate the embed "video" and redirect its link from a JS...
This is my current HTML/JS... [I haven’t worked on anything from the first function yet... because I need to make sure the second one works well]
<html>
<div id="lista">
<embed src="https://six-ratings.000webhostapp.com/FO.htm"></embed>
</div>
<div id="video">
<embed src="http://showpl.tk/c5283"></embed>
</div>
<style>
#lista{
position: relative;
display: -webkit-box;
height: 25%;
}
#video{
position: relative;
top: -160px;
left: 30%;
display: -webkit-box;
}
</style>
<script>
var x.document.getElementById("video");
var tag= x.document.querySelector("video source").src;
location.href=tag;
window.locationf=tag;
</script>
</html>
I’ll see the same and report what I find...
– Diego Queiroz