Gets or sets a hint to how much buffering is advisable for a media resource, even if IHTMLMediaElement::autoplay is not specified.
HRESULT IHTMLMediaElement::get_preload(BSTR *p);HRESULT IHTMLMediaElement::put_preload(BSTR v);
- Pointer to a variable of type BSTR that receives one of the values listed in Possible Values.
- BSTR that specifies one of the values listed in Possible Values.
none The document author does not expect the user to need the media resource, or the server wants to minimize unnecessary traffic. metadata The document author does not expect the user to need the resource. However, if the resource metadata (dimensions, first frame, track list, duration, and so on) is available, using a resource is preferred unless it impacts performance to do so. auto The document author gives the user access to media content, which includes the ability to download the entire resource.
Returns S_OK if successful, or an error value otherwise.