File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -215,11 +215,11 @@ export class Controller {
215215 console . log ( '[app plyr] willSyncPlayerState' , volume , muted , playTimeState ) ;
216216 if ( isNumber ( volume ) ) {
217217 // this.notSyncOperation.add('volume');
218- this . player . volume = volume ;
218+ this . player . volume = volume as number ;
219219 }
220220 if ( isBoolean ( muted ) ) {
221221 // this.notSyncOperation.add('muted');
222- this . player . muted = muted ;
222+ this . player . muted = muted as boolean ;
223223 }
224224 if ( playTimeState ) {
225225 const progressTime = this . progressTime / 1000 ;
@@ -497,7 +497,7 @@ export class Controller {
497497 if ( this . player ) {
498498 const playPermission = this . hasPermission ( 'play' ) ;
499499 if ( playPermission === 'sync' && this . forceSyncOperation . has ( 'play' ) ) {
500- console . log ( '[app plyr] pause 0000 , paused:' , this . player ?. paused ) ;
500+ console . log ( '[app plyr] pause by sync , paused:' , this . player ?. paused ) ;
501501 this . willActiveUpdatePlayTimeState ( ) ;
502502 }
503503 this . forceSyncOperation . delete ( 'play' ) ;
You can’t perform that action at this time.
0 commit comments