Releases: bbc/bigscreen-player
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.
8.5.1: Add inline styles for legacy subtitles container (#344)
๐บ What
Add some inline layout styles for legacy subtitles
8.5.0: Fix Pause before Seek Scenario for Sliding Window (#343)
๐บ What
Fixes an issue where a user pause in a session preceding a seek in Sliding Window content could erroneously offset the seek by the time paused.
๐ How
Distinguish between a USER
and APP
pause in calculating offset time
8.4.3: Handle calling plugins with context (#342)
๐บ What
fix: handle calling plugins with context
๐ How
- Use the whole object as
this
context when mapping selected plugins.