Skip to content

Releases: bbc/bigscreen-player

8.7.2: Added manifest load count (#357)

09 Oct 13:15
Compare
Choose a tag to compare

๐Ÿ“บ 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)

07 Oct 08:49
Compare
Choose a tag to compare

๐Ÿ“บ 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)

03 Oct 10:01
Compare
Choose a tag to compare

๐Ÿ“บ 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)

25 Sep 09:43
Compare
Choose a tag to compare

๐Ÿ“บ 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)

11 Sep 07:46
Compare
Choose a tag to compare

๐Ÿ“บ 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)

20 Aug 13:10
Compare
Choose a tag to compare

๐Ÿ“บ 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)

29 Jul 07:43
Compare
Choose a tag to compare

๐Ÿ“บ 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)

23 Jul 14:07
Compare
Choose a tag to compare

๐Ÿ“บ What

Add some inline layout styles for legacy subtitles

8.5.0: Fix Pause before Seek Scenario for Sliding Window (#343)

23 Jul 11:19
Compare
Choose a tag to compare

๐Ÿ“บ 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)

22 Jul 10:12
Compare
Choose a tag to compare

๐Ÿ“บ What

fix: handle calling plugins with context

๐Ÿ›  How

  • Use the whole object as this context when mapping selected plugins.