try to take over the world!
< Valutazione su Instagram video player with basic control of volume and skipping.
It should rather be
for (var video of videoList){
video.setAttribute("controls", "controls");
video.style.zIndex = "1";
}
without the console.log(video)
that writes to the log every second.
The controls don't work though and only display when the video is paused, so it doesn't quite work.
Thanks a lot! You could improve this script by replacing:
with:
That way it works on all the videos on the home page.