rx-player 4.0.0-worker.2024020800 → 4.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/CHANGELOG.md +8 -20
- package/VERSION +1 -1
- package/dist/commonjs/core/api/public_api.js +2 -2
- package/dist/es2017/core/api/public_api.js +2 -2
- package/dist/rx-player.js +2 -2
- package/dist/rx-player.min.js +1 -1
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,22 +1,4 @@
|
|
|
1
|
-
## v4.0.0
|
|
2
|
-
|
|
3
|
-
### Features
|
|
4
|
-
|
|
5
|
-
- MULTI_THREAD: `attachWorker` now returns a Promise to indicate when WebWorker attachment failed [#1374]
|
|
6
|
-
|
|
7
|
-
### Bug fixes
|
|
8
|
-
|
|
9
|
-
- dash: Don't unnecessarily reload external `<UTCTiming>` resources at each refresh if it failed for the first request of the Manifest [#1370]
|
|
10
|
-
- dash: The `DASH_WASM` feature do not rely on WebAssembly's sign-extension operators anymore as that is poorly supported on older Samsung and LG TVs [#1372]
|
|
11
|
-
- MULTI_THREAD: properly categorize forced subtitles in multithread scenarios
|
|
12
|
-
|
|
13
|
-
### Other improvements
|
|
14
|
-
|
|
15
|
-
- build: automatically install Rust and WASM toolchain locally if unavailable when building the RxPlayer [#1373]
|
|
16
|
-
- doc: Update our documentation generator and fix all invalid anchors in it
|
|
17
|
-
- npm: prevent the publishing of unnecessary files on the npm registry [#1377, #1378]
|
|
18
|
-
|
|
19
|
-
## v4.0.0-rc.1 (2024-01-24)
|
|
1
|
+
## v4.0.0 (2024-02-21)
|
|
20
2
|
|
|
21
3
|
### Changes
|
|
22
4
|
|
|
@@ -45,7 +27,7 @@
|
|
|
45
27
|
- Rename `maximumBufferTime` in `positionUpdate` events to `maximumPosition`
|
|
46
28
|
- Remove `getVideoPlayedTime` and `getVideoLoadedTime` methods. Their names was very confusing and can be re-implemented relatively easily using the media element's buffered property.
|
|
47
29
|
- Rename `getVideoDuration` to `getMediaDuration`, to avoid confusion with the video track's duration.
|
|
48
|
-
- Rename `getVideoBufferGap` to `getCurrentBufferGap
|
|
30
|
+
- Rename `getVideoBufferGap` to `getCurrentBufferGap`, to avoid confusion with the "buffer gap" specific to the video track.
|
|
49
31
|
- Remove image-related API: `supplementaryImageTracks` `loadVideo` option, `imageTrackUpdate` event, `getImageTrackData` method. Those are better handled by an application. The `parseBifThumbnails` tool is still available.
|
|
50
32
|
- Replace `keySystems[].licenseStorage` `keySystems` option (for a `loadVideo` call) by the better-named `persistentLicenseConfig`. The `persistentLicense` boolean (also a `keySystems` option) has also been removed because it was redundant with it) [#1147]
|
|
51
33
|
- Remove `persistentStateRequired` API, in profit of the more powerful `persistentState` API [#1148]
|
|
@@ -90,6 +72,7 @@
|
|
|
90
72
|
### Features
|
|
91
73
|
|
|
92
74
|
- Add `MULTI_THREAD` experimental feature to enable multithreading capabilities through a WebWorker
|
|
75
|
+
- Add `attachWorker` method to attach a WebWorker to an RxPlayer instance.
|
|
93
76
|
- `setAudioTrack`, `setVideoTrack` and `setTextTrack` now may take an object in argument, with the track's id set as a `trackId` property, to allow new features
|
|
94
77
|
- Add `switchingMode` optional property to `setVideoTrack` and `setAudioTrack`, to configure the way in which the RxPlayer switches between the previous and new track
|
|
95
78
|
- Add optional `periodId` property to `setAudioTrack`, `setVideoTrack` and `setTextTrack`, to allow setting the track of another, future or past, Period.
|
|
@@ -134,6 +117,8 @@
|
|
|
134
117
|
### Bug fixes
|
|
135
118
|
|
|
136
119
|
- Tizen (Samsung TVs): Try again to work around all potential issues that could arise due to tizen seeking back by itself [#1327, #1355]
|
|
120
|
+
- dash: Don't unnecessarily reload external `<UTCTiming>` resources at each refresh if it failed for the first request of the Manifest [#1370]
|
|
121
|
+
- dash: The `DASH_WASM` feature do not rely on WebAssembly's sign-extension operators anymore as that is poorly supported on older Samsung and LG TVs [#1372]
|
|
137
122
|
|
|
138
123
|
### Other improvements
|
|
139
124
|
|
|
@@ -174,6 +159,9 @@
|
|
|
174
159
|
- Add exception to text Garbage collection logic to avoid unnecessarily reload text segments frequently [#1325]
|
|
175
160
|
- Avoid logging too much the buffer's content when our debugging UI or the demo is used [#1341]
|
|
176
161
|
- Demo: Fix reporting of live position in demo page [#1313]
|
|
162
|
+
- build: automatically install Rust and WASM toolchain locally if unavailable when building the RxPlayer [#1373]
|
|
163
|
+
- doc: Update our documentation generator and fix all invalid anchors in it
|
|
164
|
+
- npm: prevent the publishing of unnecessary files on the npm registry [#1377, #1378]
|
|
177
165
|
|
|
178
166
|
|
|
179
167
|
## v3.32.1 (2023-10-19)
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
4.0.0
|
|
1
|
+
4.0.0
|
|
@@ -129,7 +129,7 @@ var Player = /** @class */ (function (_super) {
|
|
|
129
129
|
// Workaround to support Firefox autoplay on FF 42.
|
|
130
130
|
// See: https://bugzilla.mozilla.org/show_bug.cgi?id=1194624
|
|
131
131
|
videoElement.preload = "auto";
|
|
132
|
-
_this.version = /* PLAYER_VERSION */ "4.0.0
|
|
132
|
+
_this.version = /* PLAYER_VERSION */ "4.0.0";
|
|
133
133
|
_this.log = log_1.default;
|
|
134
134
|
_this.state = "STOPPED";
|
|
135
135
|
_this.videoElement = videoElement;
|
|
@@ -2454,5 +2454,5 @@ var Player = /** @class */ (function (_super) {
|
|
|
2454
2454
|
};
|
|
2455
2455
|
return Player;
|
|
2456
2456
|
}(event_emitter_1.default));
|
|
2457
|
-
Player.version = /* PLAYER_VERSION */ "4.0.0
|
|
2457
|
+
Player.version = /* PLAYER_VERSION */ "4.0.0";
|
|
2458
2458
|
exports.default = Player;
|
|
@@ -104,7 +104,7 @@ class Player extends EventEmitter {
|
|
|
104
104
|
// Workaround to support Firefox autoplay on FF 42.
|
|
105
105
|
// See: https://bugzilla.mozilla.org/show_bug.cgi?id=1194624
|
|
106
106
|
videoElement.preload = "auto";
|
|
107
|
-
this.version = /* PLAYER_VERSION */ "4.0.0
|
|
107
|
+
this.version = /* PLAYER_VERSION */ "4.0.0";
|
|
108
108
|
this.log = log;
|
|
109
109
|
this.state = "STOPPED";
|
|
110
110
|
this.videoElement = videoElement;
|
|
@@ -2342,5 +2342,5 @@ class Player extends EventEmitter {
|
|
|
2342
2342
|
}
|
|
2343
2343
|
}
|
|
2344
2344
|
}
|
|
2345
|
-
Player.version = /* PLAYER_VERSION */ "4.0.0
|
|
2345
|
+
Player.version = /* PLAYER_VERSION */ "4.0.0";
|
|
2346
2346
|
export default Player;
|
package/dist/rx-player.js
CHANGED
|
@@ -8366,7 +8366,7 @@ var Player = /*#__PURE__*/function (_EventEmitter) {
|
|
|
8366
8366
|
// Workaround to support Firefox autoplay on FF 42.
|
|
8367
8367
|
// See: https://bugzilla.mozilla.org/show_bug.cgi?id=1194624
|
|
8368
8368
|
videoElement.preload = "auto";
|
|
8369
|
-
_this.version = /* PLAYER_VERSION */"4.0.0
|
|
8369
|
+
_this.version = /* PLAYER_VERSION */"4.0.0";
|
|
8370
8370
|
_this.log = src_log;
|
|
8371
8371
|
_this.state = "STOPPED";
|
|
8372
8372
|
_this.videoElement = videoElement;
|
|
@@ -10792,7 +10792,7 @@ var Player = /*#__PURE__*/function (_EventEmitter) {
|
|
|
10792
10792
|
}]);
|
|
10793
10793
|
return Player;
|
|
10794
10794
|
}(EventEmitter);
|
|
10795
|
-
Player.version = /* PLAYER_VERSION */"4.0.0
|
|
10795
|
+
Player.version = /* PLAYER_VERSION */"4.0.0";
|
|
10796
10796
|
/* harmony default export */ var public_api = (Player);
|
|
10797
10797
|
;// CONCATENATED MODULE: ./src/core/api/index.ts
|
|
10798
10798
|
/**
|