• Hi,
    I have added an HTML5 video to my website. When I tested my page on iPhone devices, I saw the video was not playing.
    How can I fix the issue?

    Here is my code:

    <section class="video-container">
    	<video class="video" autoplay muted loop>
    	  <source src="<?php echo $video; ?>" type="video/mp4" poster="<?php echo esc_url($poster_image['url']); ?>">  
    	  Your browser does not support the video tag.
    	</video>
    </section>
    • This topic was modified 3 years, 4 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘HTML5 Video not playing on iPhone’ is closed to new replies.