Images 💾

Last commit ⭐

commit c7607136503a22e27274eb5f9b45d4b4ddca16d6
Author:     Zaggy1024 <zaggy1024@gmail.com>
AuthorDate: Fri Jun 23 19:44:03 2023 -0500
Commit:     Andreas Kling <kling@serenityos.org>
CommitDate: Sat Jun 24 06:20:06 2023 +0200

    LibWeb: Prioritize video duration when loading video element media
    
    Previously, an audio loader could succeed for an HTMLVideoElement that
    contains a video file, which caused the duration to be set to the bogus
    duration of the audio loader instead of the correct duration from the
    video container. Instead of setting the duration based on audio always,
    set it to the video duration if we are creating a video element.