Solved: html autoplay not work iphone

There is no one-size-fits-all answer to this question, as the problem may vary depending on the specific device and browser configuration. However, some common problems with HTML autoplay not working on iPhones include:

1) The autoplay feature may be disabled in the user’s browser settings.

2) The HTML code used to implement the autoplay feature may be invalid or incompatible with iPhone browsers.

3) The iPhone’s security settings may prevent the autoplay feature from working properly.

<video autoplay>
  <source src="movie.mp4" type="video/mp4">
  <source src="movie.ogg" type="video/ogg">
  Your browser does not support the video tag.

This code will create a video element on a web page that will automatically play when the page loads. The first source element specifies the URL of an MP4 video file, and the second source element specifies the URL of an OGG video file. If the browser does not support the video tag, it will display the text “Your browser does not support the video tag.”


Autoplay is a feature that allows users to have videos play automatically as they scroll through a web page. This can be helpful for users who are trying to quickly browse through a long list of items, or for users who want to watch a video without having to wait for it to load completely.

Autoplay can be enabled or disabled on a per-page basis, and it can also be restricted to certain types of videos (such as YouTube videos).

iPhone and HTML


The iPhone and HTML5 are a great match. With the help of HTML5, you can create an iPhone app that looks and feels like a native app. Plus, with the new web platform features in HTML5, you can create an app that is interactive and engaging for your users.

Related posts:

Leave a Comment