“HTML Audio Tag” Kode Jawaban

cara menyematkan audio dalam html

<audio controls>
  <source src="name.mp3" type="audio/mp3" />
</audio>
Famous Fly

Audio di HTML

 <audio controls>
<source src="sound.ogg" type="audio/ogg">
<source src="sound.mp3" type="audio/mpeg">
No audio support.
</audio> 
BlueMoon

Bagaimana Anda memutar file audio di HTML

<audio src="sound.mp3" autoplay></audio>
Sparkling Salmon

Tag HTML Audio

<figure>
    <figcaption>Listen to the T-Rex:</figcaption>
    <audio
        controls
        src="/media/cc0-audio/t-rex-roar.mp3">
            Your browser does not support the
            <code>audio</code> element.
    </audio>
</figure>
Tiny Coders

gaya tag audio html5

Custom styling for <audio>
Ref: https://stackoverflow.com/questions/4126708/is-it-possible-to-style-html5-audio-tag

audio::-webkit-media-controls-panel {}

audio::-webkit-media-controls-mute-button {}

audio::-webkit-media-controls-play-button {}

audio::-webkit-media-controls-timeline-container {}

audio::-webkit-media-controls-current-time-display {}

audio::-webkit-media-controls-time-remaining-display {}

audio::-webkit-media-controls-timeline {}

audio::-webkit-media-controls-volume-slider-container {}

audio::-webkit-media-controls-volume-slider {}

audio::-webkit-media-controls-seek-back-button {}

audio::-webkit-media-controls-seek-forward-button {}

audio::-webkit-media-controls-fullscreen-button {}

audio::-webkit-media-controls-rewind-button {}

audio::-webkit-media-controls-return-to-realtime-button {}

audio::-webkit-media-controls-toggle-closed-captions-button {}
Excited Echidna

HTML Audio Tag

<audio controls>
<source src="sound.ogg" type="audio/ogg"/>
<source src="sound.mp3" type="audio/mpeg"/>
</audio> 
this will also work in react js & html
Tame Tortoise

Jawaban yang mirip dengan “HTML Audio Tag”

Pertanyaan yang mirip dengan “HTML Audio Tag”

Lebih banyak jawaban terkait untuk “HTML Audio Tag” di HTML

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya