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.
- package/dist/esm/{imscsubtitles-b8963462.js → imscsubtitles-31c61460.js} +3 -2
- package/dist/esm/{legacysubtitles-8b0a08a1.js → legacysubtitles-56299e69.js} +1 -1
- package/dist/esm/{main-8a205e0d.js → main-02c1cf26.js} +361 -296
- package/dist/esm/main.d.ts +25 -13
- package/dist/esm/main.js +1 -1
- package/dist/esm/{msestrategy-a76abc62.js → msestrategy-e1f877f1.js} +79 -47
- package/package.json +5 -4
|
@@ -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-
|
|
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
|
-
|
|
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-
|
|
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
|
/**
|