![](https://secure.gravatar.com/avatar/612dbf5e35012a56a42d7f588f724742?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
Remaining time js
How can i get the remaining time off the video ?
I use this to get the position off the video :
jwplayer('video_player').onTime(
function(event) {
$('#timer').html(secondsAsTime(event.position));
}
);
<div id="timer"></div>