setCurrentTime fails silently for Vimeo iframe embeds in iOS Safari
See original GitHub issueExpected Behavior
For setCurrentTime to seek the Vimeo player and display the frame at the passed timestamp. Or for setCurrentTime to return an error in the catch 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
- Open the linked debug view on a desktop browser.
- Scroll up/down.
- Note the video scrubbing in the background, also note the console logging
setCurrentTimeinvocation, and success or failure.
Incorrect behavior on mobile
- Open the linked debug view in iOS Safari.
- Scroll up/down.
- Note the video not responding, also note the console logging
setCurrentTimeinvocation but never logging success or failure.
Compare to YouTube
CodePen debug view | CodePen editor view
Correct behavior on mobile
- Open the linked debug view in iOS Safari.
- Scroll up/down.
- Note the video scrubbing successfully.
Additional Note
I think this may be resolved by enabling the new playsinline feature within the iframe embed.
Issue Analytics
- State:
- Created 7 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
Embedded Vimeo videos do not work on iPad Safari via ios ...
My question is simple: why can't I play embedded Vimeo videos (using the universal iframe embed code) on iOS Simulator running an iPad...
Read more >Player SDK: Reference - Vimeo Developer
This reference guide provides comprehensive details about the methods and events for controlling an embedded Vimeo player through the player SDK.
Read more >Vimeo not working properly in safari on both mobile and ...
We have an issue with Vimeo and safari on both mobile and desktop, clashing with the hummingbird. When the video has a domain-level ......
Read more >[Solved]-how to set image picker image chosen for button in iOS
Coding example for the question how to set image picker image chosen for button in iOS.
Read more >vimeo/player/README.md - UNPKG
53, You can use the library to make the embed for you. ... 108, The Player API library is supported in IE 11+,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@ehmorris would you mind having a look if this issue persists? We recently had several fixes go out, including the throwing errors correctly in
catch.Awesome! I will reference #20 here to keep that in mind when adding a start time option. Thanks for your feedback!