-
Notifications
You must be signed in to change notification settings - Fork 262
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
setCurrentTime fails silently for Vimeo iframe embeds in iOS Safari #117
Comments
@bdougherty do you think I can expect this behavior to be added to the vimeo player on mobile? |
@ehmorris can you try adding a listener for the We don't have any plans at the moment to add support for inline playback on iOS. |
Are there any workarounds for this? |
Did this ever get worked out? I'm running into the same issue. |
Afaik there are no workarounds for my use-case. Also worth noting that since I posted this, YouTube/iOS behavior has changed such that the mobile player autoplays the video from the scrubbed timestamp. |
#210 will add a |
@ehmorris would you mind having a look if this issue persists? We recently had several fixes go out, including the throwing errors correctly in |
@luwes thanks for coming back to this. I went through my reproduction steps and noticed that before I initiate playback, I get the error |
(^^ scusi, was in the wrong window) I think currently that is the best we can do. Would you like to see different behaviour in this case? |
@luwes sorry, to clarify I think my issue is resolved. It would be awesome if I could set the time on a muted, uninitialized video though. |
Awesome! I will reference #20 here to keep that in mind when adding a start time option. |
Expected Behavior
For
setCurrentTime
to seek the Vimeo player and display the frame at the passed timestamp. Or forsetCurrentTime
to return an error in thecatch
method.For comparison, the YouTube iframe player will display the frame at the passed timestamp in iOS Safari when
seekTo
is called via the iframe API.Actual Behavior
The player does not seek and does not return an error in iOS Safari.
Steps to Reproduce
CodePen debug view | CodePen editor view
Correct behavior on desktop
setCurrentTime
invocation, and success or failure.Incorrect behavior on mobile
setCurrentTime
invocation but never logging success or failure.Compare to YouTube
CodePen debug view | CodePen editor view
Correct behavior on mobile
Additional Note
I think this may be resolved by enabling the new playsinline feature within the iframe embed.
The text was updated successfully, but these errors were encountered: