YouTube Time Remaining

Display the remaining time of a YouTube video during playback.

< Feedback on YouTube Time Remaining

Question/comment

wqz
§
Posted: 12.05.2022

No longer works since the yesterday's update

§
Posted: 12.05.2022

Same for me..
WaterFox Classic Greasemonkey

§
Posted: 13.05.2022

the 1.8.0 version is still kicking don't know why he updated it now it's no longer works, fortunately i still have the 1.8 version lying around

§
Posted: 13.05.2022

the 1.8.0 version is still kicking don't know why he updated it now it's no longer works, fortunately i still have the 1.8 version lying around

Thnaks !
the 1.8.0 version work always.

About the problem:
It seems Youtube serve - randomly (?) - 2 different versions of the video page:
The script work with one and with the other not...

Its around the Info/descriptions block:
Difficult to remember (actually that's the "wrong" version of the video page.

I saw that because i tweak a lot this page with CSS and notice these changes.
:-)

§
Posted: 13.05.2022

Here a screenshot of on of alternate presentation with my CSS tweaks):

https://i.imgur.com/h8dXZHj.jpeg

The related div changed in it - I added an aqua dashed line for this CSS selector:
ytd-watch-metadata.watch-active-metadata[description-collapsed][smaller-yt-sans-light-title]

stinkrockAuthor
§
Posted: 14.05.2022

It should work again with version 1.9.1.

I appreciate you checking it and thanks for the feedback.

§
Posted: 14.05.2022

Thanks it work now (at least on the page served actually)
;-)
Note:
Can you give a class to your counter?
I need something like this as CSS selector:
div[style="display: inline-flex; font-size: 1.6rem; font-weight: 400; line-height: 2rem; color: rgb(233, 30, 99); margin-right: 1rem; min-width: 12rem;"]

§
Posted: 14.05.2022
Edited: 14.05.2022

I have seen the 2nd Style of page served by Youtube (i don't understand how they choose one or the other).
This one on Firefox Quantum.
Here a screenshot of it with your script working on it too (and my CSS Tweaks ...):
https://i.imgur.com/G2cSrmL.jpeg

stinkrockAuthor
§
Posted: 15.05.2022

I added the class 'time-remaining-renderer' in version 1.9.2

§
Posted: 15.05.2022

Thanks!
More easy to catch it for me!
;-)

§
Posted: 15.05.2022
Edited: 15.05.2022

Hmm ....
the class is added before your counter container and not to the container itself.
So their are now an empty container before it.

At least for the first type of page served.

stinkrockAuthor
§
Posted: 17.05.2022

I changed it again in 1.9.3. Try matching it with ytd-watch-metadata > #above-the-fold > .time-remaining-renderer.

§
Posted: 17.05.2022
Edited: 17.05.2022

That's ok:
the class is added to your counter itself.
;-)

But the selector you give don't match, because they serve yet the 2nd type of page !!
In this version, the selector ytd-watch-metadata exist but it is empty.
And #above-the-fold don't exist...

These one, yes:
ytd-watch-metadata + .watch-active-metadata #info #info-contents .ytd-video-primary-info-renderer .time-remaining-renderer
OR
.watch-active-metadata #info #info-contents .ytd-video-primary-info-renderer .time-remaining-renderer
OR simply
.time-remaining-renderer

§
Posted: 03.11.2022
Edited: 03.11.2022

I rework my userstyle for Youtube and i notice something strange:

Now there are 2 .time-remaining-renderer ....

Test link:
https://www.youtube.com/watch?v=_xFyUn8gveI


Sometime one is empty :
Test Link:
https://www.youtube.com/watch?v=y95F3oiU7uY


My screenshots are tweaked by CSS to watch the problem....
:-)

Post reply

Sign in to post a reply.