2017-01-02 59 views
0

我最近一直在尝试使用比利音频播放器将音乐插入博客页面。我之前已经完成了好几次,但是这一次玩家没有出现在完成的页面上(我在FireFox和谷歌浏览器上看过),但我不能为了我的生活找出原因。嵌入式音乐播放器不显示?

下面的代码的示例中,我已经写了:

<html> 
<head> 

<title>Playlists</title> 

<style> 

/* --- MAIN FORMATTING --- */ 
body 
{ 
    background: #888888; 
    margin: 0px; 
    padding: 75px; 
    word-wrap: break-word; 
} 

h1 
{ 
    margin: -26px 0px -4px 10px; 
    font-size: 30px; 
    line-height: 30px; 
    font-style: italic; 
    color: #f9f9f9; 
    text-shadow: -1px 0 #000000, 0 1px #000000, 1px 0 #000000, 0 -1px #000000; 
} 

/* --- CONTENT --- */ 

.content 
{ 
    width: 620px; 
    background-color: #202020; 
    border: 1px solid rgba(249,249,249,0.1); 
    border-radius: 10px; 
    padding: 8px 10px; 
    margin: 0px; 
    color: rgba(255,255,255,0.7); 
} 

/* --- MUSIC PLAYER --- */ 
.musicplayer 
{ 
    color: black; 
    text-decoration: none; 
    background-color: #ffffff; 
    border: 0px solid black; 
    border-radius: 25px; 
    padding: 5px 8px; 
    margin: -26px 0px 2px 420px; 
    width: 200px; 
    height: 12px; 
} 

/* --- TABLE --- */ 
table 
{ 
    border-collapse: collapse; 
    color: rgba(255,255,255,0.5); 
    line-height: 130%; 
} 

tr 
{ 
    border-bottom: 1px solid rgba(255,255,255,0.1); 
} 

td 
{ 
    padding: 2px 5px; 
} 

</style> 

</head> 


<body> 

<h1>Playlist</h1> 

<div class="musicplayer"><embed src="http://www.sheepproductions.com/billy/billy.swf?autoplay=false&f0=http://k007.kiwi6.com/hotlink/2w46d4u3sh/Citizen_Soldiers.mp3&t0=Citizen Soldiers&f1=http://k003.kiwi6.com/hotlink/8kun7qcg5t/Immortals.mp3&t1=Immortals&f2=http://k003.kiwi6.com/hotlink/3rzujskuoo/Rewind.mp3&t2=Rewind&f3=http://k003.kiwi6.com/hotlink/oyl9ee9xsw/No_End_No_Beginning.mp3&t3=No End, No Beginning&f4=http://k003.kiwi6.com/hotlink/xgpyq94ryc/Sound_the_Bugle.mp3&t4=Sound the Bugle&total=5" quality="high" wmode="transparent" width="200px" height="10px" name="billy" align="middle" type="application/x-shockwave-flash"/></div> 

<div class="content"> 
    <table> 
     <tr> 
      <td width=15px>1.</td> 
      <td width=200px> 
       "Citizen Soldiers"</a></td> 
      <td width=400px>3 Doors Down</td> 
     </tr> 
     <tr> 
      <td>2.</td> 
      <td> 
       "Immortals"</a></td> 
      <td>Fall Out Boy</td> 
     </tr> 
     <tr> 
      <td>3.</td> 
      <td> 
       "Rewind"</a></td> 
      <td>Poets of the Fall</td> 
     </tr> 
     <tr> 
      <td>4.</td> 
      <td> 
       "No End, No Beginning"</a></td> 
      <td>Poets of the Fall</td> 
     </tr> 
     <tr style="border: 0px;"> 
      <td>5.</td> 
      <td> 
       "Sound the Bugle"</a></td> 
      <td>Bryan Adams</td> 
     </tr> 
    </table> 
</div> 

</body> 

</html> 

谁能告诉我这是什么,我可能会忘记/做错了什么?

编辑:这是一个自定义的Tumblr页面,如果这有任何区别。

回答

0

我把你的代码放在记事本++中,它正在为chrome和firefox工作。如果您尝试插入博客或论坛,他们可能会在HTML帖子中拥有自己的语法。

0

我设法弄清楚了这个问题。我的代码没有任何问题:事实证明,Tumblr通过SSL为博客提供服务的选择是干涉嵌入。我关闭了该选项,现在音乐播放器按预期显示。