Beispiel:HTML5 audio-2.html

Aus SELFHTML-Wiki
Wechseln zu: Navigation, Suche
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
     <link rel="stylesheet" media="screen" href="./Beispiel:SELFHTML-Beispiel-Grundlayout.css">
    <title>HTML5 Audio-Player 2</title>
  </head>
  <body>
    <h1>HTML5 Audio-Player mit Quellen in mehreren Formaten</h1>
      <audio id="audio_with_controls" 
             controls
      >
         <source src="https://wiki.selfhtml.org/local/Europahymne.mp3" type="audio/mp3" />
         <source src="https://wiki.selfhtml.org/local/Europahymne.ogg" type="audio/ogg" />
         Ihr Browser kennt das HTML5-audio-Element noch nicht.
      </audio>
   
  </body>
</html>