Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>From the <a href="http://developer.apple.com/library/safari/documentation/AudioVideo/Conceptual/Using_HTML5_Audio_Video/AudioandVideoTagBasics/AudioandVideoTagBasics.html#//apple_ref/doc/uid/TP40009523-CH2-SW9" rel="noreferrer">Apple developer documentation</a>:</p> <blockquote> <p>Note: The preload attribute is supported in Safari 5.0 and later. Safari on iOS never preloads.</p> </blockquote> <p>According to Apple the desired behavior on a mobile device is that loading only starts after you actively request the resource so as to not waste bandwidth or battery.</p> <p>Regarding your question this means that Apple is adhering to the spec. Since no preload occurs and loading only starts after you click the play button the <code>readyState</code> is zero before that point in time.</p> <p>However, the <code>video</code> tag has special events which are supposed to give more information than <code>readyState</code>.</p> <ul> <li><code>onCanplay</code></li> <li><code>onCanplaythrough</code></li> <li><code>onProgress</code></li> </ul> <p>Again, quoting the <a href="http://developer.apple.com/library/safari/documentation/AudioVideo/Conceptual/Using_HTML5_Audio_Video/ControllingMediaWithJavaScript/ControllingMediaWithJavaScript.html#//apple_ref/doc/uid/TP40009523-CH3-SW4" rel="noreferrer">Apple developer library (Using DOM Events to monitor load progress)</a></p> <blockquote> <p>Note: On the iPad, Safari does not begin downloading until the user clicks the poster or placeholder. Currently, downloads begun in this manner do not emit progress events.</p> </blockquote>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload