android-youtube-player v9.0.0 Release Notes

Release Date: 2018-11-12 // over 5 years ago
  • Breaking changes
    ⚡️ The library is now using Androidx instead of the old support libraries. You may have some problems with the new update if you're using the support library Lifecycle classes. The best way to solve this issue is to migrate your app to Androidx.

    [core] New features
    IFramePlayerOptions : it is now possible to set some of the IFrame Player parameters from Java/Kotlin, previously this was possible only through Javascript. This opens new customization possibilities, for example it's possible to disable the Android UI of the player and enable the Web UI instead.

    To read more about this feature refer to the doc.

    Thanks to @matthewrkula for implementing this feature.

    🛠 [core] Bug Fixes

    • Background playback is working again, read the doc to learn how to enable it. Thanks to @CajetanP for the bug fix.
    • Solved a bug that was hiding custom actions if they were enabled before playing a video.

    [core] Sample app

    • ➕ Added Fragment sample app.
    • ➕ Added IFramePlayerOptions sample app.