Skip to content

Commit b7bc50c

Browse files
committed
removed logs
1 parent c426280 commit b7bc50c

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@ Below is a simple example of how to add chapters to the <fastpix-player> and lis
718718
       if (fpPlayerEl && typeof fpPlayerEl.addChapters === 'function') {
719719
         fpPlayerEl.addChapters(Chapters);
720720
       } else {
721-
         console.error('sravani addChapters method not found on fpPlayerEl');
721+
         console.error('addChapters method not found on fpPlayerEl');
722722
       }
723723
     }
724724

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@fastpix/fp-player",
3-
"version": "1.0.5",
3+
"version": "1.0.6",
44
"description": "FastPix Player SDK is a customizable video player for on-demand and live streaming.",
55
"main": "./dist/player.js",
66
"files": [

src/player.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)