Paul Paul - 4 months ago 27
Jade Question

iframe video won't play on mobile phone when touched

I imported a youtube video using `iframe, but it doesn't work on mobile, but runs perfectly on desktop.

By not working, I mean: the video doesn't start playing when it is touched and if it's double touched, the page zooms in.


iframe(src = '' frameborder = '0', allowfullscreen = '')


adding a display: block to iframe solved my problem