Add YouTube Video Progress

Adds a progress bars (or dots) at bottom of video, a progress text which includes video quality and subtitle indicators, and a chapter title box on the YouTube video page.

< 腳本Add YouTube Video Progress的回應

提問/評論

§
發表於:2023-01-11
編輯:2023-01-11

Suggest to delete #player,#player-theater-container{z-index:2}

In YouTube's "Darker Dark Theme", #cinematics is put inside #player. If you set z-index to #player, you will bring the entire #cinematics out of the box and cover everything outside.

§
發表於:2023-01-11
編輯:2023-01-11

Inside #cinematics, there is a transform: scale(XXX) layout. Therefore you cannot set #player as z-index:2

You might change it to #player-container-outer, #player-container-inner, or #movie_player

outer and inner are two layouts for sizing purpose. They might not exist in theater view. Usually there shall be no controls components inside them. Just ```

.....

`#movie_player` is the core layout to contain every controls. It exists in `theater` view also.
§
發表於:2023-01-11

Inside #cinematics, there is a transform: scale(XXX) layout.
Therefore you cannot set #player as z-index: 2

You might change it to #player-container-outer, #player-container-inner, or #movie_player

outer and inner are two layouts for sizing purpose. They might not exist in theater view.
Usually there shall be no controls components inside them.

#movie_player is the core layout to contain every controls. It exists in theater view also.

There are also other options like #player-container #ytd-player.



發表回覆

登入以回復

QingJ © 2025

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