From 068502331e3b55b640f5b253a721e7a55c83a4cc Mon Sep 17 00:00:00 2001 From: rwldrn Date: Sun, 5 Dec 2010 15:19:07 -0500 Subject: [PATCH] [#195] Implement this.roundTime() as convenience to currentTime() --- popcorn.js | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/popcorn.js b/popcorn.js index a96403c..386ed5c 100644 --- a/popcorn.js +++ b/popcorn.js @@ -134,12 +134,19 @@ Popcorn.extend(Popcorn.p, { - setCommand: function() { + // getting properties + roundTime: function () { + return -~this.video.currentTime; + }, - }, - getCommand: function() { - }, + + + + + + + toTrack: function( setup ) { /* { -- 2.43.0