stream-engine-player 0.0.15 → 0.0.17

Sign up to get free protection for your applications and to get access to all the features.
@@ -43276,7 +43276,7 @@
43276
43276
  default: videojs$1
43277
43277
  }, Symbol.toStringTag, { value: "Module" }));
43278
43278
  const name$1 = "stream-engine-player";
43279
- const version$2 = "0.0.15";
43279
+ const version$2 = "0.0.17";
43280
43280
  const description = "Stream engine player";
43281
43281
  const type$1 = "module";
43282
43282
  const files$1 = [
@@ -66170,6 +66170,12 @@
66170
66170
  }
66171
66171
  }, 1500);
66172
66172
  });
66173
+ player.one("canplay", function() {
66174
+ try {
66175
+ player.liveTracker.seekToLiveEdge();
66176
+ } catch (err) {
66177
+ }
66178
+ });
66173
66179
  player.on("canplay", function() {
66174
66180
  element.removeClass("vjs-waiting");
66175
66181
  });
@@ -66606,6 +66612,11 @@
66606
66612
  type: inputType($scope.src) === "youtube" ? "video/youtube" : isHls($scope.src) ? "application/x-mpegURL" : void 0
66607
66613
  }
66608
66614
  ];
66615
+ try {
66616
+ new URL($scope.adTagUrl);
66617
+ } catch {
66618
+ $scope.adTagUrl = "";
66619
+ }
66609
66620
  $scope.options = {
66610
66621
  controls: !!$scope.controls,
66611
66622
  transparent: !!$scope.transparent,