.audio > .audio_image (.audio is used for modernizr)

This commit is contained in:
Daku 2017-03-10 19:18:35 +00:00
parent 6fc3d51014
commit f9d0c83d5b
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
.audio { .audio_image {
min-width: 300px; min-width: 300px;
width: 65%; width: 65%;
} }

View file

@ -6,7 +6,7 @@ class MP3FileHandlerTheme extends Themelet {
$ilink = $image->get_image_link(); $ilink = $image->get_image_link();
$fname = url_escape($image->filename); //Most of the time this will be the title/artist of the song. $fname = url_escape($image->filename); //Most of the time this will be the title/artist of the song.
$html = " $html = "
<audio controls class='shm-main-image audio' id='main_image' alt='main image'> <audio controls class='shm-main-image audio_image' id='main_image' alt='main image'>
<source src=\"$ilink\" type=\"audio/mpeg\"> <source src=\"$ilink\" type=\"audio/mpeg\">
Your browser does not support the audio element. Your browser does not support the audio element.
</audio> </audio>