On macOS 15.5, Firefox 139 shows super dark images for me. Safari seems to work fine, though.
macOS puts a slightly higher brightness than it required and artificially (in software) changes absolute white (0xFFFFFF) to greyish color (0xEEEEEE). So when a HDR content is required it will remove mask around that content. Safari ideally, probably that’s on Firefox why tone mapping doesn’t work well
The video looks the same in both Safari and Firefox, whereas the images are dim in Firefox on both my MBP display and external monitor.