pengchanglu 3 tahun lalu
induk
melakukan
f7642f3b58
1 mengubah file dengan 4 tambahan dan 7 penghapusan
  1. 4 7
      application/index/view/source/code.html

+ 4 - 7
application/index/view/source/code.html

@@ -123,7 +123,10 @@
         </a> -->
             </div>
         </div>
-		<audio src="" id="Jaudio" autoplay="" preload=""></audio>
+<audio id="queryAudio" autoplay="autoplay">
+    <source src="https://tts.baidu.com/text2audio?cuid=baike&lan=ZH&ctp=1&pdt=301&vol=3&rate=32&per=4&tex={$code.text}" type="audio/ogg">
+您的浏览器不支持 audio 元素。 
+</audio>
 		<footer>
 			<p>监制单位:安徽省肉类行业协会</p>
 			<!--<p>监督电话:<a href="tel:0512-67325419">0512-67325419</a></p>-->
@@ -197,10 +200,4 @@
 			**/
 		</script>
 	
-
-
-<audio id="queryAudio" controls autoplay>
-    <source src="https://tts.baidu.com/text2audio?cuid=baike&lan=ZH&ctp=1&pdt=301&vol=9&rate=32&per=4&tex={$code.text}" type="audio/ogg">
-您的浏览器不支持 audio 元素。 
-</audio>
 </body></html>