I'm creating a "WebPlayer" page and I need two things in it:
- 1: A list with the EPS that when clicking change the link inside the embed "video"
- 2: Function to manipulate the embed "video" and redirect the link of it from a JS ...
This is my current HTML / JS ... [I have not worked anything from the first function yet ... Well I need to make sure the second one works fine]
<html>
<div id="lista">
<embed src="https://six-ratings.000webhostapp.com/FO.htm"></embed></div><divid="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>varx.document.getElementById("video");
var tag= x.document.querySelector("video source").src;
location.href=tag;
window.locationf=tag;
</script>
</html>