@dataclouder/ngx-agent-cards 0.1.86 → 0.1.87
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.
|
@@ -3657,9 +3657,14 @@ class VideoPlayerNativeService {
|
|
|
3657
3657
|
}
|
|
3658
3658
|
else if (this.defaultVideoUrl && this.videoElement) {
|
|
3659
3659
|
console.log('Playing default video');
|
|
3660
|
-
this.videoElement.src
|
|
3661
|
-
|
|
3662
|
-
|
|
3660
|
+
if (this.videoElement.src !== this.defaultVideoUrl) {
|
|
3661
|
+
this.videoElement.src = this.defaultVideoUrl;
|
|
3662
|
+
this.videoElement.play();
|
|
3663
|
+
}
|
|
3664
|
+
else {
|
|
3665
|
+
this.videoElement.currentTime = 0;
|
|
3666
|
+
this.videoElement.play();
|
|
3667
|
+
}
|
|
3663
3668
|
}
|
|
3664
3669
|
else {
|
|
3665
3670
|
console.log('No default video');
|