Media Code in HTML5

This example is a basic design structure for loading multiple video and audio formats for universal work of media content on your page.

[View All Snippets]
Show Plain Text »
  1. <video poster="images/preview.png" width="800" height="600" controls="controls" preload="none">
  2.   <source src="media/my_video.mp4" type="video/mp4"></source>
  3.   <source src="media/my_video.webm" type="video/webm"></source>
  4.   <source src="media/my_video.ogg" type="video/ogg"></source>
  5. </video>
  6. <audio controls="controls" preload="none">
  7.   <source src="audio/my_music.ogg" type="audio/ogg">
  8.   <source src="audio/my_music.mp3" type="audio/mpeg">
  9. </audio>
Create Your Free Account
Please remember that this information is essential to use our services correctly.
After creating the account you will be able to download all of our FREE products.
Fields marked with * are mandatory

Please send me information about updates, new products, specials and discounts from ApPHP!
We recommend that your password should be at least 6 characters long and should be different from your username/email. Please use only letters of the English alphabet to enter your name.

Your e-mail address must be valid. We use e-mail for communication purposes (order notifications, etc). Therefore, it is essential to provide a valid e-mail address to be able to use our services correctly.

All your private data is confidential. We will never sell, exchange or market it in any way. Please refer to Privacy Policy.

By clicking "Create Account", you are indicating that you have read and agree to the ApPHP Terms & Conditions.