YouTube Remaining Time

Show the remaining time of a YouTube video inside the player.

Author
Campbell Watson
Daily installs
0
Total installs
1,203
Ratings
18 0 1
Version
1.3
Created
2016-04-25
Updated
2020-08-31
License
N/A
Applies to

Show the remaining time of a YouTube video right inside the player.

Even works for embedded videos, and videos that last longer than a day!

Unless otherwise configured, the remaining time displayed is the video's duration minus the current time. This does not account for playback rate. If you'd like to show the real remaining time, i.e. display a remaining time 2 times longer when the playback rate is set to 0.5x (for example), edit the configuration line at the top of the script.