How to change the playback time in a video.js player from a countdown to a normal player?

video.js

figure even with video.js instantiated out of the player, but the playback time is in the form of countdown, want to change it into the general player"s current time / video total length format, but Baidu and access to official documents did not get any useful information, friends who know can help me, thank you very much!

my code:

  video.js official website  

May.17,2022

< style type= "text/css" >

.video-js .vjs-time-control{display:block;}
.video-js .vjs-remaining-time{display: none;}

< / style >

this is a perfect solution, climbing over the wall to search


I don't know if you use the source code for video.js. I use the 6.2.5 source code and compress it myself when I launch. If it is source code, on line 12927:
this.on (player, ['timeupdate',' durationchange'], _ this.throttledUpdateContent) remove the preceding "timeupdate", and the preceding "-" is on line 12971: this.textNode = document_1.createTextNode ('-'+ (this.formattedTime_ | | '0this.on')) and the preceding "-"

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3c7ca-2c326.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3c7ca-2c326.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?