Releases: bbc/bigscreen-player
8.9.1: BADGERS-427 Abort Retrieve Manifest When Calling Reset (#358)
๐บ What
Abort retrieve manifest requests when calling reset.
See: bbc/dash.js#94
๐ How
Call reset()
on the manifest loader inside dash.js
8.9.0: Docs update - Add resetMSEPlayer override setting (#359)
๐บ What
Add resetMSEPlayer
override setting to the docs
๐ How
Update the markdown
8.8.0: Plugin for `onQualityChangeRequested` (#356)
๐บ What
Expose the DashJS onQualityChangeRequested
Event via the Plugin System, also includes average Throughput
๐ How
mediaPlayer.on(DashJSEvents.QUALITY_CHANGE_REQUESTED, ...)
8.7.2: Added manifest load count (#357)
๐บ What
Count and publish the number of manifest loads
๐ How
When a manifest has finished loading increase the count. Once it has fully loaded publish and reset.
8.7.1: Augment onManifestLoaded plugin with the manifest load time (#355)
๐บ What
Augment the onManifestLoaded
plugin with the loading time for MSE strategy devices.
๐ How
Use dash.js' manifestLoadingFinished
event to obtain the time taken to load the manifest. Store and send this data when calling the onManifestLoaded
plugin
8.7.0: Reset mediaElement and mediaPlayer on call to reset when configured (#353)
๐บ What
Reset mediaElement and mediaPlayer on call to reset when configured with resetMSEPlayer
Reset currently does nothing as we normally just attach a new source on failover. This will change that behaviour and create a new mediaElement and player. This is to resolve an issue on certain devices.
Move to using destroy instead of reset on the dash mediaPlayer. This cleans up any memory left around of the player.
๐ How
Move the teardown logic for resetting the player into a new cleanUpMediaPlayer function and use this for both reset and teardown.
Added a new setting resetMSEPlayer
8.6.0: Don't apply `liveDelay` to `WindowTypes.STATIC` (#351)
๐บ What
Don't apply liveDelay
to WindowTypes.STATIC
, supersedes #301
๐ How
Add a checks for windowType
in getClampedTime()
and use the implementation from getClampedTimeForLive()
for WindowTypes.SLIDING
, the original implementation for WindowTypes.GROWING
, and #301, with seekDurationPadding
, for WindowTypes.STATIC
. Refactored into a single expression with ternary checks preceeding.
๐ See
#301
8.5.4: BADGERS-535: publish error when segment download fails on final CDN (#347)
๐บ What
Publish errors when segment downloads fail, and there is only one available CDN remaining (none left to failover to).
This prevents the player from entering an infinite buffering state where segments aren't being requested and the CDN isn't failing over, instead forcing the player to fatal error.
๐ How
Only ignores DOWNLOAD_CONTENT
& DOWNLOAD_INIT_SEGMENT
errors when there is more than one available CDN remaining; otherwise we publish the error.
8.5.3: refresh manifest on validity changed event (#341)
๐บ What
Manually refresh the manifest on a manifest validity changed event. This is only implemented for dynamic event streams that can end (Growing window type).
๐ How
- Call
mediaPlayer.refreshManifest(callback)
- Use updated dash.js fork release that has configurable internal ended behaviour.
8.5.2: Ensure legacy subtitle styling is applied for both 720 and 1080 height video containers (#345)
๐บ What
Adds legacy subtitle styling for 1080 layout devices as well as defaulting to 720.
๐ How
Checks the parentElement
's clientHeight
. Change the styling values depending on result.