aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/plyr.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/plyr.js')
-rw-r--r--src/js/plyr.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/js/plyr.js b/src/js/plyr.js
index 6198c79a..1834e1c0 100644
--- a/src/js/plyr.js
+++ b/src/js/plyr.js
@@ -3264,7 +3264,8 @@
isFullscreen: function() { return plyr.isFullscreen || false; },
support: function(mimeType) { return _supportMime(plyr, mimeType); },
destroy: _destroy,
- restore: _init
+ restore: _init,
+ getCurrentTime: function() { return plyr.media.currentTime; }
};
}