@srgssr/pillarbox-web 1.35.0 → 1.35.1
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/pillarbox.cjs +1 -1
- package/dist/pillarbox.cjs.map +1 -1
- package/dist/pillarbox.es.js +1 -1
- package/dist/pillarbox.es.js.map +1 -1
- package/dist/pillarbox.umd.js +1 -1
- package/dist/pillarbox.umd.js.map +1 -1
- package/dist/pillarbox.umd.min.js +1 -1
- package/dist/pillarbox.umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/pillarbox.cjs
CHANGED
|
@@ -2313,7 +2313,7 @@ class PillarboxMonitoring {
|
|
|
2313
2313
|
|
|
2314
2314
|
// Calculate the position timestamp from the start date on Safari
|
|
2315
2315
|
if (pillarbox.browser.IS_ANY_SAFARI) {
|
|
2316
|
-
const startDate = Date.parse(this.player
|
|
2316
|
+
const startDate = Date.parse(this.player.tech(true).el().getStartDate());
|
|
2317
2317
|
position_timestamp = !isNaN(startDate) ? startDate + position : undefined;
|
|
2318
2318
|
}
|
|
2319
2319
|
return {
|