@dataclouder/ngx-agent-cards 0.1.85 → 0.1.86

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3647,6 +3647,7 @@ class VideoPlayerNativeService {
3647
3647
  this.playNextInQueue();
3648
3648
  }
3649
3649
  playNextInQueue() {
3650
+ console.log('Playing next in queue');
3650
3651
  if (this.videoQueue.length > 0) {
3651
3652
  const videoUrl = this.videoQueue.shift();
3652
3653
  if (videoUrl && this.videoElement) {
@@ -3655,10 +3656,14 @@ class VideoPlayerNativeService {
3655
3656
  }
3656
3657
  }
3657
3658
  else if (this.defaultVideoUrl && this.videoElement) {
3659
+ console.log('Playing default video');
3658
3660
  this.videoElement.src = this.defaultVideoUrl;
3659
3661
  // this.videoElement.loop = true;
3660
3662
  this.videoElement.play();
3661
3663
  }
3664
+ else {
3665
+ console.log('No default video');
3666
+ }
3662
3667
  }
3663
3668
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: VideoPlayerNativeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3664
3669
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: VideoPlayerNativeService, providedIn: 'root' }); }
@@ -3962,7 +3967,6 @@ class MessageContentDisplayer {
3962
3967
  }, ...(ngDevMode ? [{ debugName: "hasTranscription" }] : []));
3963
3968
  effect(() => {
3964
3969
  const currentMsg = this.message();
3965
- console.log('currentMsg', currentMsg);
3966
3970
  if (currentMsg) {
3967
3971
  this.initializeBasedOnMessage(currentMsg);
3968
3972
  }
@@ -7416,7 +7420,6 @@ class DcAgentCardDetailsComponent {
7416
7420
  }
7417
7421
  ngAfterViewInit() {
7418
7422
  if (this.videoPlayer) {
7419
- // this.videoPlayerService.initializePlayer(this.videoPlayer, this.useNativePlayer);
7420
7423
  this.videoPlayerService.initializePlayer(this.videoPlayer);
7421
7424
  }
7422
7425
  }