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

This commit is contained in:
STARSET Mirror 2022-02-02 22:20:06 +08:00 committed by STARSET-Wiki-CN
parent b090794d2a
commit 5696561c2b

View file

@ -2,7 +2,7 @@
title: 2.3.1 插入音频
description:
published: true
date: 2022-02-02T14:19:04.419Z
date: 2022-02-02T14:20:05.323Z
tags:
editor: markdown
dateCreated: 2022-02-02T13:28:22.671Z
@ -17,22 +17,10 @@ dateCreated: 2022-02-02T13:28:22.671Z
![生成外链播放器按钮](https://imgs.thestarsetsociety.cn/2022/02/02/40c60159b4925.png)
2. 单击“生成外链播放器”复制下方的HTML代码可预先选择样式、调整宽度、高度、是否自动播放
![配置播放器选项](https://imgs.thestarsetsociety.cn/2022/02/02/d8e4f11c8f3f8.png)
3. 将代码直接粘贴到你要编辑的页面里(三种播放器效果分别如下)
3. 将代码直接粘贴到你要编辑的页面里
<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=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=298 height=52 src="//music.163.com/outchain/player?type=1&id=81605896&auto=0&height=32"></iframe>
注意:
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>
<!-- 注意这里的两个<br> -->
<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>
```
1. 一个页面只允许插入一个网易云外链播放器
2. 这种播放器只能播放非VIP歌曲如果要实现VIP歌曲和版权歌曲的播放请参考方案二
## 国外音乐平台