WordPress中文论坛 - WordPress Chinese Forums

 找回密码
 注册
查看: 4287|回复: 2

XSPF Player 这个插件怎么设置?

[复制链接]

13

主题

20

帖子

25

金钱

WP 新手

Rank: 1

积分
45
发表于 2006-10-14 20:10:25 | 显示全部楼层 |阅读模式
我装好了 可是不会设置  怎么 设置

16

主题

378

帖子

-7

金钱

WP 高手

Rank: 6Rank: 6Rank: 6

积分
752
发表于 2006-10-14 22:31:32 | 显示全部楼层

16

主题

378

帖子

-7

金钱

WP 高手

Rank: 6Rank: 6Rank: 6

积分
752
发表于 2006-10-14 22:35:15 | 显示全部楼层
==XSPF Player  Installation ==

1. Upload the .ZIP file content to your plugins folder, usually `wp-content/plugins/`.
   After this, you should have the file wp-content/plugins/xspf_player.php and the folder wp-content/plugins/xspf_player,
   with some other files.
2. Activate the plugin on the plugin screen
5. Go to the Managements page (XSPF Player Management) and add some url songs to the database.
6. Invoke the player anywhere into your template pages using: <?php xspf_player::start('category-tag'); ?>
   Where 'category-tag' is the name of a category of songs you defined. E.g.: xspf_player::start('Celt Music')
   Category-tag is optional. If omitted, ALL tracks are played.
   
That's all.

To invoke the player within your post, use <xpsf>_start()</xpsf> (you can press the Quicktag 'Xspf' button in the editor page).

WARNING!!!: This has changed from previous versions of xspf (3.0) (it was <xspf>start()</xspf>). Both will work, but the later one
*MUST* be used with a post/page body, to keep XHTML 1.0 compliance.

Currently any registered user who CAN POST, can embedd the player within the post body.
This CAN BE a security hazard if you don't trust your registered users. So, by now, only admin (User level >= 9) can use this
feature.

== Frequently Asked Questions ==

= How can I play local files? =
Put the COMPLETE URL of your local file as if they were remote files.
You also must upload your Mp3 files to your web server (using, for example the File Management menu in wordpress).
These files must be accesible and public via HTTP.
e.g. If your server is named "www.boriel.com", and your files are under directory /www/media/song1.mp3, you must use
http://www.boriel.com/media/song1.mp3 and NOT /media/song1.mp3.


== Change log ==

* Version 1.0        
                .- Initial Version.
* Version 1.1        
                .- Bug Fix. Playlist not well-formed when info URL's added.
* Version 1.2        
                .- Bug Fix. Playlist not loaded in Internet Explorer.
* Version 1.3        
                .- Bug Fix. Playlist category not correctly selected due to debug instrucions. ARgh!        
                .- Feature. Random play ('shuffle' mode) added for each category.
                .- Feature. When no track title is entered, the URL track is displayed as a default.
* Version 1.4        
                .- Going valid XHTML
* Version 1.5        
                .- PHP 5.x compatible (was already compatible with 5.1)
* Version 1.6        
                .- Feature: Autoload playlist
        .- Feature: Preview in Options panel!
        .- Bugfix: Playlist may give errors with some plugins. Fixed. Thanks, Ana.
        .- Bugfix: Entering a blank URL trak made the management panel to dissapear until page reloaded. FIXED.
                .- Bugfix: Characters ' and " escaped. Fixed.

* Version 2.0 (alias "The Grinch")
                .- Bug Fix: No more than 10 Tracks displayed on the Tracks management panel. FIXED.
                .- Bug Fix: Sometimes didn't delete tracks from database if WP was localized to other languages. FIXED.
                .- Feature: Song order now available per category!
                .- Feature: The 3 Player bundled, and selectable with one click (3 player modes)!
                .- Change: Categories now moved to the management page.
                .- Bug Fix: Some glitches with de CSS fixed.
                .- Feature: Tracks now are paginated for better management.

* Version 2.1
                .- Bugfix: Total page number not correctly displayed in the tracks management panel.
                .- Feature: Improved track management.
                .- Feature: Plugin background color selectable via color picker.
                .- Feature: Improved player mode selection.

* Version 3.0 (alias "D.A.R.Y.L.")
                .- Feature: Can insert the player within the post body
                .- Feature: Added mode 0 (player can choose player URL)
                .- Feature: Added mode 4 (button with overlay menu)
                .- Feature: Parameters changeable on the fly (see Wiki)
                .- Other: Some glitches and code rearrangement.
               
* Version 3.1
                .- Bugfix: Playlist sometimes does not works with PHP version < 5.x (MBCS). Fixed.
                .- Bugfix: Slim mode sometimes showed an underlining color background. Fixed.
                .- Bugfix: Sometimes the height and width were not set when choosing the mode on-the-fly (advanced users). Fixed.
                .- Bugfix: When calling the player inside a post/page body, the output was not XHTML compliant. Fixed (MUST use _start() function now).
                .- Feature: Under some free web-hosts, the playlist did not work because header insertions. This have been solved.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|联系我们|WordPress中文论坛 - CNWP ( 闽ICP备12016335号-11 )

GMT+8, 2018-7-17 00:18 , Processed in 0.087559 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表