【发布时间】:2012-10-27 09:05:54
【问题描述】:
我正在使用 corona sdk 构建一个 AudioBook android 应用程序。我被mp3 streaming 困住了。
请帮帮我。
【问题讨论】:
标签: android iphone mp3 coronasdk
我正在使用 corona sdk 构建一个 AudioBook android 应用程序。我被mp3 streaming 困住了。
请帮帮我。
【问题讨论】:
标签: android iphone mp3 coronasdk
参考this网站 试试这个 HTML5 代码:
<head>
<title>Radio</title>
<meta name="viewport" content="maximum-scale=1, minimum-scale=1,
width=device-width, user-scalable=no;"/>
<meta name="apple-mobile-web-app-capable" content="yes" />
<style type="text/css">
html { -webkit-text-size-adjust: none; }
body {margin: 3px 3px 3px 3px;}
</style>
</head>
<body>
<audio id="audio" controls autoplay src="http://oggvorbis.tb-stream.net:
80/technobase.ogg;"></audio>
<script type="text/javascript">
window.onload = function() {
var audioPlayer = document.getElementById("audio");
audioPlayer.load();
audioPlayer.play();
};
</script>
</body>
【讨论】: