eclipsesource / eclipsesource/tabris-js
Video Widget stops audio from playing
- Dominant language
- JavaScript
- Stars
- 1.4k
- Forks
- 171
- PR merge metrics
- No merged PRs in 30d
Description
### Problem description
Before the `Video` widget was created, I had music playing in a third-party app, but then it stopped. I understand that it's Android itself doing this, but can I somehow control it?
I know there is a method in the native `setAudioFocusRequest()`. Can you do something similar?
### Expected behavior
I would like to be able to indicate whether the third-party player needs to be stopped or not.
### Environment
- Tabris.js version: 3.0.1
- Device: Xiaomi Redmi 5 Plus
- OS: Android 8.0.1
### Code snippet
```typescript
new Video({ url: 'urlhere', width: 100, height: 100, controlsVisible: false })
.appendTo(contentView);
```
Contributor guide
Assessment
This issue has not been assessed yet.