Xiao

在 markdown 中使用网易云音乐外链播放器

概述

网易云音乐有两种外链播放器插件。

一种是 iframe,像这样:

<iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=330 height=86 src="http://music.163.com/outchain/player?type=2&id=29734857&auto=1&height=66"></iframe>   

另一种是 flash 插件,像这样:

<embed src="http://music.163.com/style/swf/widget.swf?sid=29734857&type=2&auto=1&width=320&height=66" width="340" height="86"  allowNetworking="all"></embed>

### 使用
如今很多平台都不支持 flash 了,所以我使用的是 iframe。

直接使用 iframe 是会直接显示出代码,而不会显示播放器的,需要把 iframe 的widthheight标签的值加上双引号,另外我将自动播放的选项关掉了,就像这样:

<iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width="330" height="86" src="http://music.163.com/outchain/player?type=2&id=29734857&auto=0&height=66"></iframe>

效果如下:

推荐

一首老歌,最近老是听,好听。歌词可以瞎猜猜什么意思。来自地下丝绒,Lou 之后还写过好多首 XXX says,其中的 Caroline says 基本上是这首的翻唱。

Stephanie says
The Velvet Underground

Stephanie says that she wants to know
Why she's given half her life, to people she hates now
Stephanie says when answering the phone
What country shall I say is calling from across the world

But she's not afraid to die, the people all call her Alaska
Between worlds so the people ask her 'cause it's all in her mind
It's all in her mind

Stephanie says that she wants to know
Why it is thought she's the door She can't be the room

Stephanie says but doesn't hang up the phone
What sea shell sea is calling from across the world

But she's not afraid to die, the people all call her Alaska
Between worlds so the people ask her 'cause it's all in her mind
It's all in her mind

She asks you is it good or bad
It's such an icy feeling it's so cold in Alaska,
it's so cold in Alaska, it's so cold in Alaska