@@ -592,7 +592,6 @@ class FastPixPlayer extends windowObject.HTMLElement {
592592 productSidebarConfig ?: ShoppableSidebarConfig | null ;
593593 products ?: any [ ] | null ;
594594 } ) {
595- console . log ( "addShoppableData" , shoppable ) ;
596595 if ( ! shoppable || typeof shoppable !== "object" ) {
597596 console . warn ( "addShoppableData: invalid payload" ) ;
598597 return ;
@@ -614,7 +613,6 @@ class FastPixPlayer extends windowObject.HTMLElement {
614613 products : nextProducts ,
615614 } as { productSidebarConfig : ShoppableSidebarConfig ; products : any [ ] } ;
616615
617- console . log ( "this.cartData" , this . cartData ) ;
618616 // Update flags driven by config
619617 this . showPostPlayOverlay = Boolean (
620618 this . cartData . productSidebarConfig ?. showPostPlayOverlay
@@ -713,7 +711,6 @@ class FastPixPlayer extends windowObject.HTMLElement {
713711 * Add a playlist JSON array (each item must have playbackId)
714712 */
715713 addPlaylist ( playlistJson : any [ ] ) {
716- console . log ( "addPlaylist" , playlistJson ) ;
717714 if ( ! Array . isArray ( playlistJson ) ) return console . warn ( "Invalid playlist" ) ;
718715 this . playlist = playlistJson ;
719716 this . currentIndex = 0 ;
@@ -745,7 +742,6 @@ class FastPixPlayer extends windowObject.HTMLElement {
745742 this . currentIndex ++ ;
746743 const nextItem = this . playlist [ this . currentIndex ] ;
747744 if ( nextItem ?. playbackId ) {
748- console . log ( "nextItem" , nextItem ) ;
749745 this . loadByPlaybackId ( nextItem . playbackId ) ;
750746 }
751747 } else {
@@ -762,7 +758,6 @@ class FastPixPlayer extends windowObject.HTMLElement {
762758 this . currentIndex -- ;
763759 const prevItem = this . playlist [ this . currentIndex ] ;
764760 if ( prevItem ?. playbackId ) {
765- console . log ( "prevItem" , prevItem ) ;
766761 this . loadByPlaybackId ( prevItem . playbackId ) ;
767762 }
768763 } else {
0 commit comments