@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.es.js
CHANGED
|
@@ -2309,7 +2309,7 @@ class PillarboxMonitoring {
|
|
|
2309
2309
|
|
|
2310
2310
|
// Calculate the position timestamp from the start date on Safari
|
|
2311
2311
|
if (pillarbox.browser.IS_ANY_SAFARI) {
|
|
2312
|
-
const startDate = Date.parse(this.player
|
|
2312
|
+
const startDate = Date.parse(this.player.tech(true).el().getStartDate());
|
|
2313
2313
|
position_timestamp = !isNaN(startDate) ? startDate + position : undefined;
|
|
2314
2314
|
}
|
|
2315
2315
|
return {
|