{
"manifest_version": 2,
"name": "Kitten Radio Extension",
"description": "Listen while browsing the internet freely and without a background popup open to Kitten Radio",
"version": "1.0",
"permissions": [
"http://somewhat.server.com:8041/"
],
"background": {
"page": "background.html"
},
"browser_action": {
"default_icon": "icon.png",
"default_popup": "popup.html"
}
}
popup.html:
<!DOCTYPE html>
<html>
<head>
<title>Kitten Radio</title>
<meta charset="utf-8">
</head>
<body>
<audio id="player" src="http://somewhat.server.com:8041/;mp3" controls>This player do not work on this browser</audio>
</body>
</html>
你好再次stackoverflow!
我正在尝试开发一个 chrome 扩展来在后台播放音乐,同时用户可以浏览网络。
弹出窗口显示正常,并且音频播放器在那里,但音频不会加载。使用“检查元素”,我发现流卡在“待处理”上。
我该如何解决这个问题?
我也尝试*://*/
过“权限”。