is it possible to change the size of audio player in html5
40,860
<audio>
can be styled as any other html element.
To increase the width just use the css property width
.
Some html:
<audio id="player" controls autoplay>
<source src="http://xseignard.github.com/webGLWebAudioAPI/sound/OGLikeCapone.ogg" type="audio/ogg">
Your browser does not support the audio tag.
</audio>
And the css:
#player {
width: 100%;
}
Regards
Author by
samdonly1
Freelance Computer Programmer and a student. for more info google can help
Updated on August 16, 2020Comments
-
samdonly1 almost 4 years
Is there any possibility of changing the size if the audio player in html5 produced using audio tag.