bigscreen-player 9.0.1 → 10.0.0

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.
@@ -1,5 +1,5 @@
1
1
  import { fromXML, generateISD, renderHTML } from 'smp-imsc';
2
- import { f as findSegmentTemplate, L as LoadUrl, a as DebugTool, P as Plugins, U as Utils, D as DOMHelpers } from './main-8a205e0d.js';
2
+ import { f as findSegmentTemplate, L as LoadUrl, a as DebugTool, P as Plugins, U as Utils, D as DOMHelpers } from './main-02c1cf26.js';
3
3
  import 'tslib';
4
4
 
5
5
  const SEGMENTS_BUFFER_SIZE = 3;
@@ -312,7 +312,8 @@ function IMSCSubtitles(mediaPlayer, autoStart, parentElement, mediaSources, defa
312
312
  }
313
313
 
314
314
  function isValidTime(time) {
315
- return time >= 0
315
+ // A newly loaded video element reports currentTime as 0
316
+ return time > 0
316
317
  }
317
318
 
318
319
  function getCurrentTime() {
@@ -1,4 +1,4 @@
1
- import { D as DOMHelpers, a as DebugTool, P as Plugins, L as LoadUrl, T as TransportControlPosition } from './main-8a205e0d.js';
1
+ import { D as DOMHelpers, a as DebugTool, P as Plugins, L as LoadUrl, T as TransportControlPosition } from './main-02c1cf26.js';
2
2
  import 'tslib';
3
3
 
4
4
  /**