rx-player 3.30.0-dev.2023030200 → 3.30.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 +1 -1
- package/VERSION +1 -1
- package/dist/_esm5.processed/core/api/public_api.js +2 -2
- package/dist/_esm5.processed/core/init/utils/media_duration_updater.js +1 -1
- package/dist/rx-player.js +3 -3
- package/dist/rx-player.min.js +1 -1
- package/package.json +1 -1
- package/sonar-project.properties +1 -1
- package/src/core/api/public_api.ts +2 -2
- package/src/core/init/utils/media_duration_updater.ts +1 -1
package/package.json
CHANGED
package/sonar-project.properties
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
sonar.projectKey=rx-player
|
|
2
2
|
sonar.organization=rx-player
|
|
3
3
|
sonar.projectName=rx-player
|
|
4
|
-
sonar.projectVersion=3.30.0
|
|
4
|
+
sonar.projectVersion=3.30.0
|
|
5
5
|
sonar.sources=./src,./demo,./tests
|
|
6
6
|
sonar.exclusions=demo/full/bundle.js,demo/standalone/lib.js,demo/bundle.js
|
|
7
7
|
sonar.host.url=https://sonarcloud.io
|
|
@@ -364,7 +364,7 @@ class Player extends EventEmitter<IPublicAPIEvent> {
|
|
|
364
364
|
// See: https://bugzilla.mozilla.org/show_bug.cgi?id=1194624
|
|
365
365
|
videoElement.preload = "auto";
|
|
366
366
|
|
|
367
|
-
this.version = /* PLAYER_VERSION */"3.30.0
|
|
367
|
+
this.version = /* PLAYER_VERSION */"3.30.0";
|
|
368
368
|
this.log = log;
|
|
369
369
|
this.state = "STOPPED";
|
|
370
370
|
this.videoElement = videoElement;
|
|
@@ -2985,7 +2985,7 @@ class Player extends EventEmitter<IPublicAPIEvent> {
|
|
|
2985
2985
|
return mediaElementTrackChoiceManager;
|
|
2986
2986
|
}
|
|
2987
2987
|
}
|
|
2988
|
-
Player.version = /* PLAYER_VERSION */"3.30.0
|
|
2988
|
+
Player.version = /* PLAYER_VERSION */"3.30.0";
|
|
2989
2989
|
|
|
2990
2990
|
/** Every events sent by the RxPlayer's public API. */
|
|
2991
2991
|
interface IPublicAPIEvent {
|
|
@@ -209,7 +209,7 @@ function setMediaSourceDuration(
|
|
|
209
209
|
if (maxBufferedEnd < mediaSource.duration) {
|
|
210
210
|
try {
|
|
211
211
|
log.info("Init: Updating duration to what is currently buffered", maxBufferedEnd);
|
|
212
|
-
mediaSource.duration =
|
|
212
|
+
mediaSource.duration = maxBufferedEnd;
|
|
213
213
|
} catch (err) {
|
|
214
214
|
log.warn("Duration Updater: Can't update duration on the MediaSource.",
|
|
215
215
|
err instanceof Error ? err : "");
|