Plyr: How to get Current time of a playing custom video

Created on 28 Jun 2016  路  6Comments  路  Source: sampotts/plyr

Is there any method to get the current playback time of the video

Feature

Most helpful comment

@a-barbieri: It's player.currentTime now and the documentation is at the github page.

All 6 comments

I'll write a wrapper for this - HTML5 is easy but it'd be good to wrap them all into one API method.

Currently, is there a way to get the progress in seconds?

Just push version 1.8.8 with a new API method getCurrentTime which will return the currentTime in seconds (as a float). This works with all media types.

Real developers code on weekends. Thanks a bunch!

Is there any documentation about it?

@a-barbieri: It's player.currentTime now and the documentation is at the github page.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ahmadshc picture ahmadshc  路  3Comments

osamay picture osamay  路  4Comments

michaelmano picture michaelmano  路  3Comments

frumbert picture frumbert  路  3Comments

nam-co picture nam-co  路  4Comments