Instagram video player with basic control of volume and skipping.

try to take over the world!

< 脚本Instagram video player with basic control of volume and skipping.的反馈

评价:好评 - 脚本运行良好

§
发表于:2022-09-10

Thanks a lot! You could improve this script by replacing:

     if(videoList[0]){
        videoList[0].setAttribute("controls", "controls");
        videoList[0].style.zIndex = "1";
     }

with:

     for (var video of videoList){
        console.log(video)
        video.setAttribute("controls", "controls");
        video.style.zIndex = "1";
     }

That way it works on all the videos on the home page.

§
发表于:2023-09-04
编辑于:2023-09-04

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.

发表回复

登录(不可用)以发表回复。

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址