Below is the piece of code, which checks if media is available and displays a media:
You can copy this code to <body> section of your html file.