=== ProPlayer === Contributors: isa.goksu Donate link: http://isagoksu.com/projects Tags: flv, video, embed, youtube, vimeo, google, metacafe, veoh, myspace, dailymotion Requires at least: 2.7 Tested up to: 2.7 Stable tag: trunk Display online videos from various sources in any Custom FLV Player. == Description == Display online videos from various sources in any FLV Custom Player. I used (JW FLV Media Player). You can customize your player with addons and skins. Please check add-ons page for more information. Other options might be any FLV player. However I found following players in the Internet: * ToobPlayer * MC Media Player * http://uppod.ru/player/intro * Xmoov FLV Player * http://sonettic.com/cinema * Open FLV Player * http://flv-mp3.com * http://www.martijndevisser.com/blog/flv-player You can use any of following online FLV media players. However, system is optimized for JW FLV Media player. My personal second best is ToobPlayer. When you change the player, it might require some little code changes too. I tried to code as flexible as I can. Currently supported video sources are: * All files that you've uploaded to your server (movies, images, etc..) * 56 * Bebo * Bofunk * Clipfish * Crunchyroll * Dailymotion * eBaumsWorld * Google Video * Metacafe * MySpace * MyVideo * Supernovatube * Tudou * Veoh * Vimeo * Youku * Youtube == Installation == It's pretty simple to install. Just follow the common intention: 1. Unzip the plugin file, it will create a directory named `pro-player` 1. Upload the directory to the `/wp-content/plugins/` directory 1. Activate the plugin through the 'Plugins' menu in WordPress That's it. The usage is like this: http://www.youtube.com/watch?v=2YAvfxA6a94 http://vimeo.com/1473498 http://www.mydomain.com/media/awesome.mp4 == Frequently Asked Questions == = Can I play YouTube files? = Yes, indeed you can play any video source file that's supported by ProPlayer. = Do I have to provide full video URL or just some part of it? = Yes, you have to provide full video URL. ProPlayer doesn't work if you just place some part of the URL. Please check following usages; http://www.youtube.com/watch?v=2YAvfxA6a94 = Are you gonna support more video resources? = Actually, I've created this plugin for my blog. And I thought all these video sources are enough. However, if there is a big demand for other video sources, I can implement them too. = Can ProPlayer play mp3 files? = Yes, ProPlayer supports any of the following file types: video: [3g2, 3gp, aac, f4b, f4p, f4v, flv, m4a, m4v, mov, mp4, sdp, vp6] image: [gif, jpg, png, swf] sound: [rbs, mp3] The only thing you need to do is adding a type attribute for your video file if it is other than FLV: http://www.trt.net.tr/medya/ses/2008/11/19/09be6054-1829-4cac-b068-e9493200196c.mp3 http://www.mydomain.com/albums/summer/1.jpg = Can I change the width and height? = Width, height and type are optional attributes. You can pass these attributes to change the width and height: http://vimeo.com/1473498 Defaults for these attributes will be used if you don't pass them. And defaults are 'width' = 530, 'height' = 253. If you wanna change the defaults just go and edit plugin source. It's really easy. = Can I change the theme of the player? = Yes you can. You can even add some add-ons like rating, etc.. Just check the addons page site JW FLV Media Player for details. = Can I style a little bit more? = Yes, if you wanna style your player container like adding borders, changing background etc, just define "div.pro-player-container" in your CSS file: div.pro-player-container { border: 1px solid red; } == Screenshots == Here are some screenshots from the player. ![Batman, The Dark Knight](screenshot-1.png) ![Warner Bros Trailer](screenshot-2.png) == Limitations == Unfortunately I haven't implemented a ID detection algorithm. So you sometimes have to manually strip the irrelevant tags from the link URL. For example: instead of: http://vimeo.com/2440304&embed=23023492873 you should place: http://vimeo.com/2440304 This is not mandatory. However, some videos doesn't work if you don't strip the irrelevant text from the video URL.