【发布时间】:2014-08-14 21:08:17
【问题描述】:
为什么我下面的代码无法运行并调出 Soundcloud Stratus 播放器? :( 显然我不太了解 Javascript。他们说这就是你所要做的,它会出现,但它不会出现。我已经尝试了很多东西!:(
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Blazing Audio | Buy Beats & Instrumentals For $1</title>
<script type="text/javascript" src="http://stratus.sc/stratus.js"></script>
<script src="http://code.jquery.com/jquery-1.7.2.js"></script>
<!-- SCRIPTS -->
<script type="text/javascript">
$(document).ready(function(){
$('body').stratus({
auto_play: true,
download: false,
links: 'https://soundcloud.com/blazingaudio/sets/rap-instrumentals',
random: true
animate: slide,
buying: true,
position: fixed,
user: false,
stats: false,
align: bottom,
});
});
</script>
</head>
<body>
</body>
</html>
【问题讨论】:
-
如果您使用的是插件,则必须在页面中包含外部 js
-
哎呀,为什么它不在那里,我已经把它放了,但它仍然无法工作。不知道为什么我的很烂
-
你能用你的新代码更新你的问题吗?
-
好的,我刚刚更新了。
-
看我的回答。应该能解决你的问题
标签: javascript jquery html