Web Audio and Video Best Practices
  • General Best Practices for Working with Web Media
  • Have Fun with Design
  • Use a Player
  • Have Closed Captions (or Transcripts)
  • If you have to use Autoplay, Mute the Audio
  • Use Only One Media Element at a Time
  • Use fragmented MP4
  • Use Fallback URLs
  • Use "type" and "codec" Attributes with your Fallback URLs
  • Actually, You Should Probably Use HLS or MPEG-DASH
  • Use Fallback Urls with HLS and Dash
  • Conclusion
Powered by GitBook
On this page

Was this helpful?

Conclusion

This is not an exhaustive list of best practices, but it's a good start. These are all subject to change as the web changes or I discover new things. You don't have to follow any of these, and the ones involving HLS, Dash and fallback urls involve more work, so you should consider the trade-offs when doing so. You're free to violate any of these as you choose, but doing so may result in getting a stern talking to (from me).

Feel free to reach out if you have any questions.

PreviousUse Fallback Urls with HLS and Dash

Last updated 6 years ago

Was this helpful?