-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Video Objects Capture Click Events and Prevent Scroll #1120
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
Comments
Closed in aac1d17 |
@adamdbradley Unfortunately, this is still not fixed. Using the nighty. On iOS, you can click the video and start it. However, if you try to scroll up or down and the scroll event starts inside the video object, it will not scroll the view. It makes it really difficult to scroll if a video object fills most of the view. |
This will be an issue when using a video element inside of the JS scroll. Basically video takes control of all the touch events and never gets to our code, so if you still need to scroll on top of a video you cannot use the JS scroll method. |
I recommend an image that loads the video later. It's very rare to have a list of loaded videos and on mobile the iphone will expand this into a full screen display Sent from my iPhone
|
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
iOS : When a view has a
<video>
object, on an iOS device, the video is playable by clicking on it. However, the view cannot be scrolled if thetouchstart
event begins in the video area.Chome with Touch Emulation : When a view has a
<video>
object, on in emulation mode, the video cannot be played. However, the view CAN be scrolled if thetouchstart
event begins in the video area.Chome without Emulation : Video object can be scrolled and started.
Forum : http://forum.ionicframework.com/t/scroll-originating-on-video-element-does-not-work-on-ios-devices/2877
Reproduce :
FYI : This is related to #723
If you modify the
IS_EMBEDDED_OBJECT_REGEX
to includevideo
, things get ever more crazy.The text was updated successfully, but these errors were encountered: