loadeddata
Loadeddata is an HTML5 media element event that fires on audio or video elements when the first frame of the media has finished loading and is ready to be rendered. It occurs after the browser has loaded the media's metadata (such as duration and dimensions) and before playback can begin. In practice, loadeddata indicates that there is enough data to display the first frame, though it does not guarantee smooth playback, since additional buffering may still be required for continuous viewing.
When the event fires, it is dispatched on the media element and the readyState is typically HAVE_CURRENT_DATA,
Usage patterns for loadeddata include updating user interface elements once the first frame is available, such
Relation to other events: loadedmetadata fires when metadata becomes available, loadeddata when the first frame is
Browser support for loadeddata is broad across major browsers supporting HTMLMediaElement, including Chrome, Firefox, Safari, and