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.
@@ -43277,7 +43277,7 @@ var require_stream_engine_player = __commonJS({
43277
43277
  default: videojs$1
43278
43278
  }, Symbol.toStringTag, { value: "Module" }));
43279
43279
  const name$1 = "stream-engine-player";
43280
- const version$2 = "0.0.15";
43280
+ const version$2 = "0.0.17";
43281
43281
  const description = "Stream engine player";
43282
43282
  const type$1 = "module";
43283
43283
  const files$1 = [
@@ -66171,6 +66171,12 @@ var require_stream_engine_player = __commonJS({
66171
66171
  }
66172
66172
  }, 1500);
66173
66173
  });
66174
+ player.one("canplay", function() {
66175
+ try {
66176
+ player.liveTracker.seekToLiveEdge();
66177
+ } catch (err) {
66178
+ }
66179
+ });
66174
66180
  player.on("canplay", function() {
66175
66181
  element.removeClass("vjs-waiting");
66176
66182
  });
@@ -66607,6 +66613,11 @@ var require_stream_engine_player = __commonJS({
66607
66613
  type: inputType($scope.src) === "youtube" ? "video/youtube" : isHls($scope.src) ? "application/x-mpegURL" : void 0
66608
66614
  }
66609
66615
  ];
66616
+ try {
66617
+ new URL($scope.adTagUrl);
66618
+ } catch {
66619
+ $scope.adTagUrl = "";
66620
+ }
66610
66621
  $scope.options = {
66611
66622
  controls: !!$scope.controls,
66612
66623
  transparent: !!$scope.transparent,