bitmovin-player-ui
bitmovin-player-ui copied to clipboard
Subtitles not appearing in UI
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:
- Create new JS and CSS using bitmovin-player-ui
- Use this files with bitmovin web player
- Integrate external subtitles to player
- 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.
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.
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)
Did you ever solve this?