Add format detection to the hero content block
- Add optimised mp4 and webm formats and handle them in the code