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

Strange behaviour with a live event and ios device #712

Open
peacepostman opened this issue Apr 30, 2021 · 0 comments
Open

Strange behaviour with a live event and ios device #712

peacepostman opened this issue Apr 30, 2021 · 0 comments
Labels
Live Issues related to Live video playback

Comments

@peacepostman
Copy link

Hello,

We've noticed a strange bug using vimeo player SDK with a live and ios. If you trigger the play()method on a live event, you won't randomly have the hint to enable audio on ios device.

We also randomly have the message 'Live not yet started' in the player if we omit autoplay: true while initializing the SDK. Note that this message is then replaced by the live after a short time, but randomly, you wont either be able to enable audio.

It is not really a bug but i think, you may add some details regarding initializing SDK for a live.

Steps to reproduce the issue

First, you need a ios device.

Prepare a live event but dont start it now. Go to a page with your device with the following code:

<div id="vimeo_target"></div>
<script>
var options = {
    url: 'https://player.vimeo.com/video/VIDEO_ID'
};
var player = new Vimeo.Player('vimeo_target', options);
player.ready().then(function() {
  player.play()
});
</script>

Start the live. You now have a chance to not be able to enable audio on your ios device. You can also have a random message indicating that the live event is not yet started, this message will then be replaced by the live.

Steps to fix the issue

Prepare a live event but dont start it now. Go to a page with your device with the following code:

<div id="vimeo_target"></div>
<script>
var options = {
    url: 'https://player.vimeo.com/video/VIDEO_ID',
    autoplay: true
};
var player = new Vimeo.Player('vimeo_target', options);
</script>

Start the live. It should be okay now.

Best regards,

@bdougherty bdougherty added the Live Issues related to Live video playback label Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Live Issues related to Live video playback
Projects
None yet
Development

No branches or pull requests

2 participants