SRGSSR / srgletterbox-apple

The official SRG SSR media playback experience
https://srgssr.github.io/marketing/letterbox/
MIT License
14 stars 7 forks source link

Thumbnail not loaded after connection loss #220

Open defagos opened 4 years ago

defagos commented 4 years ago

When attempting to play a fresh media (not a URN) with Letterbox without network, the view displays an error and no thumbnail (since none is available from the cache). If enabling the network, playback starts, but the thumbnail is never loaded.

This previously worked because we were performing many unnecessary periodic refreshes.

Maybe we can enable something for YYWebImage or force a reload ourselves. We could also consider other better options which might offer this feature (e.g. Nuke) or we could attempt to eliminate such dependencies by rolling our own simple solution.

Issue type

Incorrect behavior

Environment information

Reproducibility

Always reproducible

Steps to reproduce

  1. Open LB demo for a 5.0 version with optional media support in the settings (e.g. Nightly 372+).
  2. Open the SRF AOD list.
  3. Enable airplane mode
  4. Tap on a media. The player displays an error and no thumbnail.
  5. Disable airplane mode. The media plays but the thumbnail is never loaded.