Skip to content

EYZFlowPlayer 0.2.0

Choose a tag to compare

@Kianrad Kianrad released this 22 Nov 13:50
1330ee1
  • Ads on iPhone and iPad through Google IMA, when the player config has
    features.ads on and an ads.adTagUrl (from configID, or the new
    config option); otherwise no ad request at all. Apple TV plays no ads.
  • Ad breaks at the stream's SCTE-35 markers (Stream → Signals → Ad break),
    read from its HLS playlist: a marker at the start is a pre-roll, the others
    mid-rolls when playback reaches them, each once, none when passed by
    seeking; markers win over a VMAP's own schedule. Streams without markers
    follow the tag (VAST pre-roll, or a VMAP's pre-, mid- and post-rolls).
  • Ads follow the viewer's plan: the playback session's ads and
    ad_targeting (PlaybackCoordinator.planAds / adTargeting). ads: false
    makes no ad request at all (no pre-roll, no mid-rolls), whatever the
    config says; true or no answer (an older backend, no session) leaves it
    to the config. The targeting goes into the tag's cust_params, the tag's
    own values winning (adTagForPlayback(configTag:planAds:targeting:),
    adTagWithTargeting(_:_:)). Clear streams (trailers) now open a playback
    session too when there is a storefrontID and drmAuthorization, so the
    plan's stream limits count them.
  • AVKit's controls and the Cast button are off during an ad; no ads on
    AirPlay; casting hands back without repeating played breaks.
  • PlaybackEvent.adBreakStarted and .adBreakEnded (new cases: a switch
    over PlaybackEvent needs them); analytics leave ad time out of played,
    paused and startup time (BeatCollector.beginAd() / endAd()).
  • New dependency: Google's GoogleInteractiveMediaAds (iOS only).
  • A countdown before each mid-roll, "Ad in 5" … "Ad in 1" (en, de, fr, nl),
    when ads play for the viewer: at the markers, or a VMAP's mid-roll cue
    points on streams without them. features.adCountdown: false turns it off
    (missing is on); EYZFlowPlayback.showsAdCountdown changes it while
    playing.
  • The countdown's length from the config's ads.countdownSeconds (1–30,
    rounded and clamped; 5 when missing); EYZFlowPlayback.adCountdownLength
    changes it while playing.