Preload enum
Intended to provide a hint to the browser about what the author thinks will lead to the best user experience when loading a media object. The default value is different for each browser. The spec advises it to be set to Preload.metadata.
Values
- none → const Preload
-
Indicates that the audio should not be preloaded.
const Preload('none')
- metadata → const Preload
-
Indicates that only audio metadata (e.g. length) is fetched.
const Preload('metadata')
- auto → const Preload
-
Indicates that the whole audio file can be downloaded, even if the user is not expected to use it.
const Preload('auto')
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited