Greasy Fork is available in English.

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.



发表回复

登录以发表回复。