docs: update 编辑手册/2-3-1-Insert-Audio

This commit is contained in:
STARSET Mirror 2022-02-02 22:18:26 +08:00 committed by STARSET-Wiki-CN
parent 02bfa4ef07
commit 3a06795617

View file

@ -2,7 +2,7 @@
title: 2.3.1 插入音频
description:
published: true
date: 2022-02-02T14:13:48.048Z
date: 2022-02-02T14:18:24.898Z
tags:
editor: markdown
dateCreated: 2022-02-02T13:28:22.671Z
@ -19,16 +19,17 @@ dateCreated: 2022-02-02T13:28:22.671Z
![配置播放器选项](https://imgs.thestarsetsociety.cn/2022/02/02/d8e4f11c8f3f8.png)
3. 将代码直接粘贴到你要编辑的页面里(三种播放器效果分别如下)
<div>
<iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=330 height=450 src="//music.163.com/outchain/player?type=1&id=135098711&auto=0&height=430"></iframe><br><br>
<iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=330 height=450 src="//music.163.com/outchain/player?type=1&id=135098711&auto=0&height=430"></iframe><br/><br/>
</div>
<div>
<iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=330 height=110 src="//music.163.com/outchain/player?type=1&id=35059209&auto=1&height=90"></iframe><br><br>
<iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=330 height=110 src="//music.163.com/outchain/player?type=1&id=35059209&auto=1&height=90"></iframe><br/><br/>
</div>
<div>
<iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=298 height=52 src="//music.163.com/outchain/player?type=1&id=81605896&auto=0&height=32"></iframe>
</div>
注意:
1. 如果要连续插入多个播放器请在两个相邻的播放器之间至少添加两个br标签例如
```html
<!-- 第一个播放器 -->
<iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=330 height=450 src="//music.163.com/outchain/player?type=1&id=135098711&auto=0&height=430"></iframe>
@ -37,6 +38,7 @@ dateCreated: 2022-02-02T13:28:22.671Z
<!-- 第二个播放器 -->
<iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=330 height=110 src="//music.163.com/outchain/player?type=1&id=35059209&auto=1&height=90"></iframe>
```
2. 这种播放器只能播放非VIP歌曲如果要实现VIP歌曲和版权歌曲的播放请参考方案二
## 国外音乐平台