javascript - How to play ogg file in HTML in IPAD safari? -


i want play ogg file in ipad safari. ogg file have contain in html file. in mac os safari, ogg file play normally. but, in ipad safari, ogg file didn't play. how solve issue?

<body>     <div class="gm4html5_div_class" id="gm4html5_div_id">         <!-- create canvas element game draws -->         <canvas id="canvas" width="640" height="480">            <p>your browser doesn't support html5 canvas.</p>         </canvas>     </div>      <!-- run game code -->     <script type="text/javascript" src="sndtest/index.js?fplyb=1677165635"></script>     <audio preload="auto" networkstate="0"><source src="sndtest/sound0.ogg" type="audio/ogg" codecs="vorbis"></audio>     <audio preload="auto" networkstate="0"><source src="sndtest/sound1.ogg" type="audio/ogg" codecs="vorbis"></audio> </body> 

apparently, can't that, files supported safari 1 quicktime can play, see : what audio file types (e.g., mp3, ogg) supported mobile safari , html5 ios web apps?


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -