Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Autopause = false' on iOS mobile browser doesn't work #710

Open
2 tasks done
achievement-sambo-visal opened this issue Jan 15, 2024 · 0 comments
Open
2 tasks done

Comments

@achievement-sambo-visal
Prerequisites
  • Have you checked for duplicate issues:
  • Which Plugin version are you using: I used dynamic embedded code.

I used Kaltura audio player and I tested on iOS browser.
When the audio started playing and I then I left the browser and then the audio stopped playing.
I wanted audio to keep playing so that even user locks screen, user can still also able to control the audio by the default iOS audio player UI when the screen is locked.

    this.config = {
            "log": {
                "level": 'OFF'
            },
            "targetId": "player-placeholder",
            "ui": {
                "css": "./css/player.css",
                "components": {
                },
                "settings": {
                    "showSpeedMenu": true,
                }
            },
            "provider": {
                "partnerId": 3165083, 
                "uiConfId": 53939702,
                "ks": ks
            },
            "playback": {
                "playbackRates": [
                    0.5,
                    1,
                    1.5,
                    2,
                ],
                "autopause": false,
                "autoplay": true,
                "allowMutedAutoPlay": true,
                "muted": false,
            }
      }

I also used autoplay = true when the media is loaded but I the iOS audio default UI didn't display the audio information and I couldn't control the player from there.
I had to click on the pause and play again on the Kaltura audio player and then the iOS audio default UI appears.

Expected behavior

When user leaves the browser, the audio supposes to keep playing and user is able to control the audio player when the screen is locked.
When the audio starts playing, user also able to control the audio player by the iOS default UI when the screen is locked.

Actual behavior

When leaving the browser the audio stops playing and cannot control audio player by iOS default UI,.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant