File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -527,7 +527,7 @@ var MediaSession = /** @class */ (function () {
527527 configurable : true
528528 } ) ;
529529 MediaSession . prototype . mediaTimeSpent = function ( ) {
530- return this . mediaSessionEndTimestamp - this . mediaSessionStartTimestamp ;
530+ return Date . now ( ) - this . mediaSessionStartTimestamp ;
531531 } ;
532532 MediaSession . prototype . mediaContentTimeSpent = function ( ) {
533533 if ( this . currentPlaybackStartTimestamp ) {
Original file line number Diff line number Diff line change @@ -528,7 +528,7 @@ var MediaSession = (function () {
528528 configurable : true
529529 } ) ;
530530 MediaSession . prototype . mediaTimeSpent = function ( ) {
531- return this . mediaSessionEndTimestamp - this . mediaSessionStartTimestamp ;
531+ return Date . now ( ) - this . mediaSessionStartTimestamp ;
532532 } ;
533533 MediaSession . prototype . mediaContentTimeSpent = function ( ) {
534534 if ( this . currentPlaybackStartTimestamp ) {
You can’t perform that action at this time.
0 commit comments