Skip to content

Instantly share code, notes, and snippets.

@pepasflo
Last active April 30, 2019 22:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pepasflo/19620b9512658ca91c24f80e8bb3756f to your computer and use it in GitHub Desktop.
Save pepasflo/19620b9512658ca91c24f80e8bb3756f to your computer and use it in GitHub Desktop.

Navigating Youbora v5 / v6 confusion (iOS)

Youbora went through a significant refactor as they transitioned from v5 to v6 of their iOS video playback metrics collecting plugins.

While this change has improved some shortcomings in the v5 design, it has unfortunately been the source of some confusion, as their dev infra and resources seem to have bifurcated across this change:

  • The v5 repos live on github while v6 live on bitbucket.
  • They decided to create an entirely separate cocoapod for v6, and the naming is unclear (Youbora-YouboraLib vs. YouboraLib)

TL;DR

pod YouboraAVPlayerAdapter and follow https://bitbucket.org/npaw/avplayer-adapter-ios/src/master/Example/AVPlayerAdapterExample/PlayerViewControllerSwift.swift

YouboraLib

Podspec:

Repo:

The AVPlayer plugin / adapter

Separate from the main library, there is an adaper specific to AVPlayer.

Podspec:

Repo:

NPAW Docs / resources (requires login)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment