bitmovin-player-ui icon indicating copy to clipboard operation
bitmovin-player-ui copied to clipboard

Subtitles not appearing in UI

Open iwonderdev opened this issue 5 years ago • 3 comments

Which sample is this report about? Subtitles not appearing in settings

Describe the bug 
I am using custom UI js and css for web and android bitmovin player. When i try to add subtitles using bitmovin sdk it appears in web player but it is not appearing in android player. I have try adding subtitles in sourceItem but still facing same issue. I am not getting any subtitle option in settings on player screen.

To Reproduce
 Steps to reproduce the behavior:

  1. Create new JS and CSS using bitmovin-player-ui
  2. Use this files with bitmovin web player
  3. Integrate external subtitles to player
  4. Do the same thing in android with bitmovin android sdk

Expected behavior Subtitles option should appear in android player settings as appearing in web
 I am using bitmovin player core 2.25.1.

iwonderdev avatar Jun 10 '19 12:06 iwonderdev

Hi, and thanks for reaching out.

Can you please provide me the following information:

  • Which player-ui version are you using?
  • How is your setup of the player using the Android SDK?

Thanks.

jarhoax avatar Jun 13 '19 14:06 jarhoax

player-ui version : 3.4.0

var styleConfiguration = StyleConfiguration()
styleConfiguration.playerUiJs = "file:///android_asset/bitmovinplayer-ui.min.js"
styleConfiguration.playerUiCss = "file:///android_asset/bitmovinplayer-ui.min.css"
this.bitmovinPlayer?.config?.styleConfiguration = styleConfiguration`

 val sourceConfiguration = SourceConfiguration()
 // Add subtitles to sourceItem here
 sourceConfiguration.addSourceItem(sourceItem)
 this.mBitmovinPlayer?.load(sourceConfiguration)

iwonderdev avatar Jun 16 '19 04:06 iwonderdev

Did you ever solve this?

Daphne-CoffeeIT avatar Feb 19 '20 13:02 Daphne-CoffeeIT