CoolPlayer 9
Posted by Ken Cheung on Saturday, February 3, 2007 in Video, WordPress : : 151 commentsAndot just rolled out version 9 of his cool CoolPlayer plugin for WordPress. With this new version, you no longer have to hack the plugin to use a local version of the RPC Server. You can specify the location of the server in the admin area (options -> coolplayer). By default, the plugin points to a RPC Server in China. But you can easily change it now. Not only that, you can also set options and test the plugin from the admin page:

Note: It appears your web server needs to support php mbstring and sockets extension in order for the RPC Server to work locally. So if you can't get the RPC Server to work locally, you will have to use the RPC Server in China.
The new version of CoolPlayer supports both the plain text editor and the rich text editor in WordPress. Now you can insert the coolplayer tag directly from the create/edit post page by clicking on the coolplayer button. This version also fixed the auto play problem in FireFox. Now the video doesn't auto start unless you want it to. The audio player also has a new skin:

The embedded player supports these types of files: rm, rmvb, ra, rv, ram, smil, smi, rtsp, rpm, asf, wm, wma, wmv, wax, wvx, ogg, ape, avi, mid, midi, wav, mms, m3u, asx, mov, qt, mqv, m4v, m4a, m4b, mpeg, mpg, m1s, m1v, m1a, m75, m15, mp2, mpm, mpv, mpa, flc, fli, cel, aiff, aif, aifc, cdda, bwf, rts, 3gp, 3gpp, 3g2, 3gp2, au, snd, ulw, smf, kar, qcp, sdv, gsm, amr, caf, amc, mp4, sdp, pdf, fdf, xfdf, xdp, xfd, gif, jpg, jpeg, bmp, png, xpm, dir, dxr, dcr, cst, cct, cxt, w3d, fgd, swa, swf, spl, mp3, flv, rtmp, rbs, xml, rss, xspf, atom.
It also supports YouTube, Ifilm, VSocial, TuDou Video, Evil Chili, Wildko, Yikers Videos & Games, Red Balcony Videos & Games, Live Video, Odeo Audio, Revver, MetaCafe, MySpace, GoEar, Break, Stupid Videos, DailyMotion and Google Video.
The installation is fairly simple. Just download, extract, upload folder to your plugin directory, and activate. I recommend testing the player plugin first before uploading the RPC Server locally. To install the RPC Server: download, extract, upload the files to your coolplayer folder, and activate. Then change the location in the options -> coolplayer menu.
Here's an example of the video player in action:
[coolplayer width="320" height="240" autoplay="0" loop="0" charset="GBK" download="1" mediatype=""]
Santa Boy
[/coolplayer]
The embedded player supports IE, Firefox, Opera, or other Linux/Unix browsers. I don't have a Mac so I have no idea if the video will play in a Mac browser. Does anyone out there know?
One feature I would like to see added is the ability to display a static image for the video. It would be nice if visitors could see a picture instead of a black box in the video player.
If you found this page interesting, bookmark and share it on:
[…] » CoolPlayer 9 […]
[…] More introduction about CoolPlayer 9 (English) […]
[…] » CoolPlayer 9 […]
thanks a lot for the info…
the problem was that i didn't update the rpc files when i updated to v9 so whenever i clicked the edit button in the plugin admin page, it opened the php file for editing…
thanks again…
Yes, the sample video on this page plays on a Mac (10.4.8, Safari v2.0.4 [419.3]).
JimJim, thanks for let me knowing about the Mac. That's good to know.
I've set the screen resolution to 480×380 size other than 320×240 but the video still show at 320×240
I just tried it and 480×380 works too. Try looking at the source code to see if the plugin is inserting the right res.
hmm i mean the zoom. if I want the video resolution to zoom as large as 480 then I have to right click on the play then choose zoom > set 200%
It looks like once the player is embedded into the page, you can't change the use zoon to change the size of the video.
oh really because the version 8 the video display within the size that we set. Most of videos are 320×240 but when I set the screen like 500px it displays full 500px
[…] More introduction about CoolPlayer 9 (English) […]
I really don't know why that was changed in ver 9. If you need to zoom and you don't need ver 9, you can go back to ver 8.x
[…] More introduction about CoolPlayer 9 (English) […]
I understand how to link to youtube and such however how do I house the media on my server and pull it up?
This is what I did for my video above:
1) Created a folder called "video" on my server (you can name it whatever you want)
2) Uploaded my video (santaboy2.wmv) to the video folder
3) I enter the url for my video when prompted in the admin menu. This is the url I used:
http://izachy.com/video/santaboy2.wmv
That's it.
I had a quicktime file uploaded to local server. However, after hidding download bar, i can still right click on the player and save the file as source.
And for the wmv clip above, one can still find the dl link from properties.
Any way to hide all this information? I need to prevent downloading from my sites to reserve bandwidth.
I don't there is a way to hide that info with the plugin.
hi, since i'm using coolplayer 9 my bandwidth increased from 5 mb average to 400 mb per day :(
coolplayer works in that way?
I believe each time the page is loaded, the media file is loaded too — even if the reader does not click on the play button.
I get a huge blank space at the end of my video before the next post. How do I change that?
I have not had that problem. Try adjusting the width and height of the video. It looks like you have it set for 250×500 now. Not sure why it is set at 500. If that doesn't work, try insertng the wordpress "more" tag right before the video.
That was it. Thank you. I guess those numbers don't mean what I thought they meant :-)
I'm interested in knowing what is the difference between CoolPlayer with and without RPC.
What exactly is the RPC about? I know nuts about IT, thus I need explanation. Can anyone help?
Looks like a great plugin, but I can't figure out how to use it with audio files. Is anyone using this for mp3 embedding? There's a bit about "mediaype=" in the code, but putting "audio" or "mp3" in there doesn't do anything…
Nevermind, sorry about that - I got it figured out! Turns out I had a faulty syntax in the URL of the audio file…dur. Works like a hot damn now!
Felix,
The RPC server essentially plays your media file. By default, it points to a server in China. You can install it on your server if you want to improve performance. However, it may also increase the bandwidth used on your server.
[…] More introduction about CoolPlayer 9 (English) […]
I mean, what can the RPC server do?
I tried having a RPC server pointing to my own domain, and using [coolplayer]
http://a-youtube.com-video
[/coolplayer]
still, files are downloaded from youtube.com eh.
Felix, you need to place the media file on your server and then use your domain address for the location of the media file. If you point coolplayer to youtube, it will still play it from youtube - with or without local rpc server.
Thanks Ken.
But, what's the RPC for?
Felix, the coolplayer plugin uses the RPC server to play your media file. It's like using youTube to play your video. The advantage of coolplayer is that you control the resolution of your video. If you upload your video to youTube, they compress it and reduce the quality. The biggest disadvantage of coolplayer is that you consume more bandwidth on your server.
Just started using your great plugin. Just wondering is it possible for instance with displaying a PDF file, to not have all the PDF menu options available. I.o.w. just display the plain PDF contents and barely nothing else.
Mikey, I'm not the author of the plugin. I have not used the plugin with pdf files so I don't really know.
I've seen a few posts about an error when running under XAMPP on a local server and you try and use the Options through the WP dashboard. The problem seems to be due to the fact that there is a file called config.php which is included in options.php and coolplayer.php
The solution to this is to rename config.php to something like cpconfig.php and change the 2 include statements to the new name.
Otherwise, it's a great plugin.
We are hoping to go live with this blog soon.
We installed Cool Player yesterday, and the only issue we have is that in Firefox, it displays to the right of the screen, and not in the center column. There is a test post there now, to see what I mean.
Any ideas on a fix?
Thank you in advance:)
Anyone know how to incorporate Brightroll.com into the videos?
Dan, looks like it is aligned left in both IE and Firefox. If you want it centered, try wrapping the coolplayer tag with coolplayer tag here
Mizzle, I can't find any useful info on the Brightroll site.
"The BrightRoll post-roll ad-unit is a Flash 5 compatible SWF application. It is returned when called by the ad-tag/url given to you for a particular zone. The ad-unit utilizes a small amount of ActionScript to request an XML file from the BrightRoll ad servers for instructions on what to display. All references within ActionScript are self contained and do not use any insecure namespaces or objects (example: _root). The XML request happens to the same machine in order to comply with Flash's 'same domain' security policies. In order to comply with the Flash security models, the loading flash application should not attempt to interact with the BrightRoll ad-unit's namespace.
If your flash player uses a simple play-list, and can take an SWF as the last entry, then just refer to that URL as the last entry in your play list.
If you have a player that doesn't use a playlist or doesn't take SWF assets in a playlist: then you must load the SWF from within the host Flash video player.
For this type of integration, we recommend the following:
* Create a 400 x 300 movie clip
* Instantiate that clip in a layer above the flv playing component and above any other visible controls
* At or near the end of the video, perform a loadMovie call to the BrightRoll ad tag URL, and make the movie clip visible
* Hook the playback controls to modify the ad clip's alpha/visibility as seen fit"
Thats all it has on installing the code on flash files :(
As far as I know, Coolplayer does not use a playlist. If you list multiple files, it creates multiple tabs. It sounds like you have to use the last method mentioned in your comments (ie - loadMovie call).
Hi Ken,
first thanks for this great plugin.
I think I found two bugs:
1. I created a de_DE.js with the same content as the en_us.js in the langs folder, because I use the German version Wordpress. The English one is also in this folder.
If I hold the mouse over the Coolplayer Button when writing a post or page, the description is: "{$lang_coolplayer_desc}". (WYSIWYG-Editor enabled)
2. If the Wordpress builtin WYSIWYG-Editor is enabled and I switch to the code editor, there is no button for the coolplayer. When switching back to the visual editor, the little coldplayer image is there and adding media works.
German Wordpress 2.1.2
If you are interested in a German localization, please contact me via E-Mail.
smoo
Smoochy, it's not my plugin. I just wrote a review of it. Here's the url to the developer's site:
http://www.coolcode.cn/?p=100
I set up the rpc server and uploaded all the files, but when I try testing it out I keep getting it to say Loading but nothing ever loads nor shows the player. Am I doing something wrong
It sounds like the player can't find the file. Check the spelling and directory. Keep in mind that the file name is also case sensitive. So if you name your file: Audio.mp3 (with a capital A), you can't spell it all in lowercase (audio.mp3).
Do you have ICQ or Aim maybe you might be able to help me, I really want this player but im having difficulty getting it to work. It would be so much appreciated.
Sorry, Jason. I don't have either ICQ or AIM. I've also been swamped this week because of a big trade show. Why don't you send me the url and I'll take a quick peek at the source code to see if I notice anything strange. You can also try posting your problems on the plugin site:
http://www.coolcode.cn/?p=100
The play doesn't expand exact size that I set in the config. on opera or firefox browser. for example, I set width=450px and height=400px. The width shows exactly as 450px but the height shift down to 308px.
IE browser works fine.
I am having several issues, I can't get the controls to show under the video, the coolplayer tab is not shown on the editor, and when I resize the window it moves the player off to the right.
Any help on these?
I am testing it here: http://www.esmartjob.com/test/?p=1
Thanks,
Jeff
Alexa, did you come up with the 308px number via the souce code? My stays at the same width and height in both ie and firefox.
Jeff, I don't see any video on the page you listed.
this might be a stupid question, but after reading the authors page and this review I still do not know if I can also use this plugin to put (somehow) videos into my sidebar.
I found a plugin called daikos videobar, but that seems to only take external videos or youtube favorites into the sidebar.
when i activate this plugin then i can't see the text editor when i write an article. i've tried to re-install wp and/or coolplayer but it's not working.
what should i do ?
Ovizii, in my test, CoolPlayer does not work in the side bar.
Svastan, I would deactive the plugin and not use it. If that does not work, you will have to delete it from the plugins directory.
ok, one more question.
I am trying to make something similar to a foto gallery for videos. I would like to post videos in certain categories, and give visitors the option to browse through categories like you would use a foto gallery.
this means I would need something like thumbnails :-) aka a smaller version of the video. Could I use the excerpt to show a smaller video version and when someone clicks on the post he get to see the whole post which contains the full size version?
Can something like this be done? I imagine this like youtube or google videos - for the browsing part, I don't want or need the other functions, just the possibility to display a small version of a video?
ovizii, I don't think the CoolPlayer plugin can do that. You an can create a gallery page with a smaller size player and then link to the full size video.
Thanks for the explanation & helping me get my coolplayer up and running.
The one thing that I still needed to do, which you did not mention, is to edit the rpc.php file to point to my server location instead of the one in China. Before I did that, the RPC test would fail.
Was there something else I was missing?
Chris, you no longer need to hack the plugin to install a local RPC. You can enter the location of the local RPC in the admin menu. See the first paragraph of this post.
I don't understand how to change the rpc server…
Here's what I did… I unzipped the rpc server files and uploaded it into the coolplayer folder (overwriting the original files)… i changed the rpc server url under the options menu, however when i tested it, it said that the rpc was invalid… how do i get it to work? help???
Min, try using my rpc url in the admin menu (see screen shot at the top). If that works, then the plugin can't find your rpc at the location you specified on your server. Try reuploading the rpc files.
I cannot download coolplayer 9.3 and coolplayer_rpc.zip from coolcode.cn. The link may be down.
Would you send me these files??
Thanks in advance.
Looks like CoolPlayer is back online.
Hi,
I was using your plugin Coolcode and it was working fine for 3 weeks. Today, no videos are streaming in my site.
I checked with my hosting site and their server is up. Then I checked coolplayer.meulie.net and this site is down.
Tell me, what would be the problem.
Regards
Nick
http://www.talentshakes.com
http://coolplayer.meulie.net/ had some stability issues, but since october 2007 it was been up and running stable and is accessible for all.
Simply put http://coolplayer.meulie.net/ in your plugin config
FYI: the server is located in Norway.
Regards,
Evert
My god, It is working now. Sorry I didnot comment about your site. I was bit tensed and looking for ways to make my site function properly.
Your site http://www.izachy.com is simple, clear and great. Thanks again.
Regards
Nick
http://www.talentshakes.com
I was playing with this on my test site and was having no end of trouble. The player would show in the post but I couldn't connect and would get a server error.
Turns out, you better not be running your site with PHP5. Once I switched back to PHP4 it started working as advertised.
I also don't see the buttons in the editor and have to manually enter the code.
Perhaps I have an older version? I couldn't get it from the author's site as it would just timeout. In my Options/CoolPlayer I have
RPC Server is valid.
RPC Server version is 9.31
Anyhow, thanks for the pointers about this plugin.
Mark
hmm, maybe it wasn't the 4/5 problem. Maybe I just had a bum version to start with. Once I reloaded everything with ctrl-F5 I can see the button in the editor.
somebody correct me if i am wrong … but basically if i install the RPC server, whatever video i embed from youtube is actually downloaded into my server and uses my bandwidth to be played??
because every time i embed a video fro ma video esharing site, I do not see their logo or anything…. but i do see that the content is pulled from say "proxy.dailymotion.com…"
so what is this RPC server exactly??? how does it work? and will my bandwidth be used instead of youtube/dailymotion???
thanks for any responses!!!
I do not know enough about the CoolPlayer to tell if YouTube is counted against your bandwidth. My guess it does not.
The RPC server determines what to load in order to play the file you want.
thank you man! I hope it will not use my bandwidth!
Anymore insight into what this RPC server stand for and what it does EXACTLY?
cheers!
I would have to study the code and I don't have time for that.
I cant get the description to show under the videoplayer. Can anyone help? email me at kingsoul@konsolekingz.com
i'm very new to WP. But it's great.
I assume you mean the title of your video file. If it can play, but the title doesn't show, it could be a css style problem.
"By default, the plugin points to a RPC Server in China. But you can easily change it now."
Can anyone help me, how to change the RPC server in China to my anything else?
Please my site is not streaming Videos because RPC server in china is down.
Kindly help me.
Nick
You need to install the rpc server first:
1. Download coolplayer_rpc.zip from the plugin site
2. Uncompressed the files to your coolplayer folder
Then change the location of the server in the admin area. See first paragraph and screen shot at the top of this post.
[…] iZachy has a nice concise list of the supported formats: The embedded player supports these types of files: rm, rmvb, ra, rv, ram, smil, smi, rtsp, rpm, asf, wm, wma, wmv, wax, wvx, ogg, ape, avi, mid, midi, wav, mms, m3u, asx, mov, qt, mqv, m4v, m4a, m4b, mpeg, mpg, m1s, m1v, m1a, m75, m15, mp2, mpm, mpv, mpa, flc, fli, cel, aiff, aif, aifc, cdda, bwf, rts, 3gp, 3gpp, 3g2, 3gp2, au, snd, ulw, smf, kar, qcp, sdv, gsm, amr, caf, amc, mp4, sdp, pdf, fdf, xfdf, xdp, xfd, gif, jpg, jpeg, bmp, png, xpm, dir, dxr, dcr, cst, cct, cxt, w3d, fgd, swa, swf, spl, mp3, flv, rtmp, rbs, xml, rss, xspf, atom. […]
I downloaded and installed and everything works fine. Now, I want to put this into a side bar. I figured out how to do that but when I try to add more than one url (sound file) that's when everything gets messed up. The player changes to Quicktime, I don't see the titles for the files, etc. I have a single up right now AND what about the title is a link and opens up in a Quick time file.
I'm not sure what is causing your problem. I did take a quick look at your blog. Looks the player you are using now works just fine. Is there a reason for switching to CoolPlayer from the one that is on your blog now?
I tried the xspf player from an "upload your music site" that housed the files and created the playlist but found out that they were allowing people to upload entire copyrighted CDs so I am opting NOT to use them. My host doesn't support xspf so that is not an option locally. I have been tweeking the Coolplayer and got it to work on the sidebar. Is there a way to get a list of titles instead of the "1 2 3 " display?? Two of my files that people sent me don't work but overall it ok. I don't like the loading each song but hey … it works.
You would have to hack the plugin to change the 1 2 3 to titles…meaning you will need to know php. I assume the plugin author used 1 2 3 because all the titles might not fit.
Nice plugin and it works fine ;)
I uses it for some midis i have, however, i do want to change skin from win media player to that one you have on your image further up on this doc. (the reason of living) Is it possible? where can i find it? And how do i change?
kindly/Lillan
I didn't do anything special to get it. The skin is what the plugin served up. It might have something to do with the OS and browser you are using. Just a guess.
Hello, I have been using this plugin for over a month now, and it's great! However, today I went onto my website as usual and none of the youtube videos were working!! All that they each say is -
"This media can NOT be support to embed into the page,
but you can download it by the following link."
Any advice on how to repair this? I've tried different RPC servers, re-uploading the plugin, deactivating and reactivating, and minor other changes to my site, but I am still faced with the same problem.
Any help would be appreciated.
Jamhead
PS I also posted this on the "Coolcode" site, but I thought if I post on both of these I am more likely to find an answer to this problem.
I'm having the EXACT same problem as of yesterday.
Me too! I think Youtube changed something! Because other sites are still working.
Hmm maybe thats the caseproblem. I hope they havent though - Ive got about 100 youtube videos on my site, so it would be a bit of a pain to have to replace them all lol
Everything seems to be working again… And I didn't change a thing!
[…] More introduction about CoolPlayer 9 (English) […]
I too have this problem. The message I get is this:
This media can NOT be support to embed into the page,
but you can download it by the following link.
I have three YouTube videos included in the playlist, two work ok, the other displays this message. Last night when I inserted it on a post it worked fine, now it doesn't!!?? I have tested it on two different PCs, same problem on both.
Has anyone identified the problem yet? Any help would be much appreciated.
Thanks, Ed
Forget my previous query above - I found the problem - stupid of me, I had removed a letter in the url by mistake!
However (didn't want to complicate the previous query with this problem, but here goes now) there is another problem I am having.
In my 3 youtube video playlist, selecting one of the videos results in nothing happening. That has happened with a number of videos from the same youtube account - here is an example of one of the problematic videos;
http://www.youtube.com/watch?v=SHwf6qv5i5g
Maybe someone else might test this url with their install of coolplayer and tell me if they have the same problem?
Would really appreciate help on this.
Thanks,
Ed
Seems to work fine in my CoolPlayer. Not sure why it doesn't work on your CoolPlayer.
Thanks for checking Ken.
Maybe you need to have a look and see for yourself.
SEE http://www.cleft.ie/2007/01/05/operation-smile-happy-anniversary/
(the post is currently password protected, enter 'smile' to view)
The 'offending' video is the first one of four. It displays ok initially, as it is the first of the four and is displayed by defalt when you enter the page. It plays fine at this point. But then select number 2 or 3 (they work fine) and then try and select number 1 again. Then you will notice the problem - it won't launch.
I have added another of the 'offending ' videos from the same source (number 4) to show that it is not an isolated case. Try to select number 4, nothing happens.
Puzzling.
Ed