测试播放器之番外

感谢上篇提及参考文献http://darkbluesoul.wordpress.com/2009/12/11/wordpress-com如何嵌入视频/之作者深蓝灵魂

因此我可以放弃上文提到又辛苦有白痴的折衷方法……

所以现在还是用插入代码,


把代码里的斜体改成想播放的MP3的地址就行了,可惜只支持MP3播放。

这里原文作者的官方说明,关于自定义播放器样式的,则在此处http://en.support.wordpress.com/audio/

我真2……真的…… [哀怨啊……] 但是既然已经如此,前面几个也就不作修改了。以后就有好看简洁的播放器可以embe~d了 🙂

还是用今天分享的陈奕迅来试验好了。

go~!

附:

用以备份的代码们。

Customizing the Audio Player

Audio player with default colors

Example of color customizations

[audio http://wpcom.files.wordpress.com/2007/01/mattmullenweg-interview.mp3 |bg=0x0000ff|righticon=0xff0000]

(Note: Do not put a space in the code after ‘mp3′ as you see above. This was used in order to make the information wrap in the layout. The only space inside the brackets should be between ‘audio’ and ‘http.’)

Default Color options

  • bg=0xF8F8F8
  • leftbg=0xEEEEEE
  • lefticon=0×666666
  • rightbg=0xCCCCCC
  • rightbghover=0×999999
  • righticon=0×666666
  • righticonhover=0xFFFFFF
  • text=0×666666
  • slider=0×666666
  • track=0xFFFFFF
  • border=0×666666
  • loader=0×9FFFB8
  • bgcolor=0xFFFFFF

Audio Player Width

The default width is 290px. To use a different width (maybe in a sidebar text widget) use the width parameter.

[audio http://wpcom.files.wordpress.com/2007/01/mattmullenweg-interview.mp3|width=180]

Additional Info

  • Please note that if you copy and paste the above code into your visual editor, it will result in errors because there are a few HTML tags within the brackets that are needed so that we can actually display the code (as opposed to the audio player).
  • There should be a space between audio and http.
  • Only mp3 audio files can be played on the WordPress audio player. This is a Flash limitation.
  • The audio player expects the file to be encoded at 44.1kHz
  • The audio player can be used in text widgets.
Advertisements

5 comments so far

  1. puresy on

    哈哈哈! 成功! 帅气阿帅气…… 欢乐死了~

  2. phreeric on

    2

  3. phreeric on

    你不2

  4. 深蓝灵魂 on

    呵呵,太客气了!边栏的IM不错,我也搞一个!

    • puresy on

      ��:) �Դ�widget������ȥ��վ��ɾͺá� ף��� ^^

      ���ӣ�Gphone

      上文是“哈哈!wp自带widget~ 然后到官网生成代码就好拉
      叉子@Gphone”
      看来gphone的编码到了wp家就会乱>< 下次寻解决方式。


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: