![]() Implementing player listenerĮxample below shows how to implement player listener, which will perform some action on player If any media got Czech subtitles, thenīy default they will be enabled and displayed during media playback. Setting bp.getPlayerConfig().subtitles = "cz" Ĭhoose Czech (“cz” - ISO language code) language as default. M2.subtitlesSets = new SubtitlesFile("cz", "") BradmaxPlayer bp = (BradmaxPlayer) findViewById(R.id.bradmax_player_full_screen_webview) Second use single external file for subtitles in Czech language Settings - just defining duration, so before starting playback it will be displayed correctly on Sample below show how to define playlist. Use “embed id” in tRemoteBradmaxPlayerEmbedId() method.Įxample: BradmaxPlayer bp = (BradmaxPlayer) findViewById(R.id.bradmax_player_full_screen_webview) īp.setRemoteBradmaxPlayerEmbedId("6e6040e800a877db910c71d42e95980e7787eceb_4023") ĭefining playlist with one video with subtitles.It is just after “/embed-player/” and before "?mediaUrl=". Search there for "embed id", which is placed " ?mediaUrl=…". Click “get embed code” button on selected player. ![]() Will be downloaded next time player is opened.įor using remotly loaded player “embed Id” is needed. adding custom colours and logo for holidays), then new view Platform since last load then it is loaded from WebView cache. ![]() In this example player is always loading from bradmax platform.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |