docs: create 编辑手册/2-3-1-Insert-Audio
This commit is contained in:
parent
9636b8c117
commit
559b2b09ca
1 changed files with 24 additions and 0 deletions
24
编辑手册/2-3-1-Insert-Audio.md
Normal file
24
编辑手册/2-3-1-Insert-Audio.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
---
|
||||
title: 2.3.1 插入音频
|
||||
description:
|
||||
published: true
|
||||
date: 2022-02-02T13:28:22.671Z
|
||||
tags:
|
||||
editor: markdown
|
||||
dateCreated: 2022-02-02T13:28:22.671Z
|
||||
---
|
||||
|
||||
> 目前只有**Markdown编辑器**和**HTML编辑器**支持插入音频。如果你使用可视化编辑器,请先转换为这两个格式中的一个。
|
||||
{.is-warning}
|
||||
|
||||
# 方案一:直接使用音乐平台提供的外链播放器
|
||||
## 网易云音乐
|
||||
1. 进入网页版网易云音乐,打开你要插入的单曲/歌单/专辑,就能看到“生成外链播放器”按钮
|
||||

|
||||
2. 单击“生成外链播放器”,复制下方的HTML代码(可预先选择样式、调整宽度、高度、是否自动播放)
|
||||

|
||||
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=1&height=430"></iframe>
|
||||
<iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=330 height=450 src="//music.163.com/outchain/player?type=2&id=135098711&auto=1&height=430"></iframe>
|
||||
<iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=330 height=110 src="//music.163.com/outchain/player?type=1&id=135098711&auto=1&height=90"></iframe>
|
||||
<iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=298 height=52 src="//music.163.com/outchain/player?type=1&id=135098711&auto=1&height=32"></iframe>
|
Loading…
Add table
Add a link
Reference in a new issue