Play/pause toggle not working on touch devices #9001
-
Hello there! On touch devices, the play/pause toggle does not work. Once the video is played, if I touch the screen the video does not pause, it keeps playing. The play/pause toggle is working on Desktop computers. Maybe I am missing a property?? I tried setting userActions.click to true, with no success. Here is an example pen: https://codepen.io/hebrerillo/pen/xbxdWRb Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
By default, tapping on the video on mobile toggles the visibility of the player controls. You can try listening to touchstart on the player and if the element is the video element then toggle playback on the player as mentioned in this comment #6923 (comment) we probably should have an option for this as it's come up a couple of times. |
Beta Was this translation helpful? Give feedback.
By default, tapping on the video on mobile toggles the visibility of the player controls.
You can try listening to touchstart on the player and if the element is the video element then toggle playback on the player as mentioned in this comment #6923 (comment)
we probably should have an option for this as it's come up a couple of times.