YouTube Player library for Android and Chromecast, stable and customizable.
This release fixes a few bugs and improves support for playlists.
YouTubePlayer
has more methods to control the playback of playlists. Such as nextVideo
, previousVideo
, playVideoAt
, setLoop
and setShuffle
.Sponsors
For the first time ever someone sponsored the project, by making a donation. Thank you!
New Contributors
Full Changelog: https://github.com/PierfrancescoSoffritti/android-youtube-player/compare/12.0.0...12.1.0
This release is mainly about adding better support for fullscreen and the addition of a new custom-ui
module.
DefaultPlayerUiController
and all other custom UI components to a separate custom-ui
module, see doc. By doing this I was able to remove all the custom UI code and resources from the core
module, making it smaller. Developers can now choose to import the custom UI code only if they care about it.YouTubePlayerView#addFullscreenListener
and YouTubePlayer#toggleFullscreen
, see doc and sample app. Thanks to @Praveen-Pable for the help with #926 and #936 !New Contributors
Full Changelog: https://github.com/PierfrancescoSoffritti/android-youtube-player/compare/11.1.0...12.0.0
This is the first release of the library where all contributions are made by the community, thanks for the help!
YouTubePlayerView#setEnableAutomaticInitialization
is public again.YouTubePlayerView#getUiController
method has been removed, as there is no default UI controller now that web ui is the default.useWebUi
, enableLiveVideoUi
, showYouTubeButton
etc have been removed, as they don't make sense with web ui as default.IFramePlayerOptions
. See #390.IFramePlayerOptions
. See #425.