The install went through and when i try to upload my commercial version of the player in .zip format it says "not valid format" ... what is the problem? i do have a uploads folder permissions set. please help me
The install went through and when i try to upload my commercial version of the player in .zip format it says "not valid format" ... what is the problem? i do have a uploads folder permissions set. please help me
@PutABeatOn,
Could you provide the exact error message the plugin is giving? That way I can isolate what the problem could be.
Thanks.
the exact message was "not valid format" ... i downloaded my licensed player for the site...took that file and uploaded it. So then i went inside the original zip and took out the documents, same thing... is there a directory i can put the file in?
Can you provide a screenshot and send it to support@longtailvideo.com?
Thanks.
sent and thank you!!!
Thanks for sending the screenshots. I found the source of the problem and have a fix for it which will be part of the next update. If you would prefer not to wait you can download the development version or I can show you where to make the change.
Let me know.
Thanks.
yes please show me what i need to do
You will need to edit jw-player-plugin-for-wordpress/admin/UpdatePage.php. On line 118 you should find a function called player_upload(). Edit this function so it looks like the following:
function player_upload() {
return unpack_player_archive($_FILES["file"]["tmp_name"]);
}
That should do it.
Let me know if you have any issues.
so change:
function player_upload() {
$type = $_FILES["file"]["type"];
if ($type == "application/x-zip-compressed" || $type == "application/zip"
|| $type == "application/x-zip" || $type == "application/octet-stream") {
return unpack_player_archive($_FILES["file"]["tmp_name"]);
}
to :
function player_upload() {
return unpack_player_archive($_FILES["file"]["tmp_name"]);
}
??
That's correct.
worked! ur the man!
about using my own skin should i start a new topic?
does this message refer to my licensed player and the page i changed?
task queue failed at step 0: error #2032
...
mind you it worked fine with the non commercial version
Can you provide a link to the page where the error is happening?
Try removing the registered symbol '®' from the name of your custom player.
I am having lots of issues getting this plugin installed. After installing I get the following message on the JW Player menu "Current Player: Version Unknown". When I try and upgrade the plugin OR install my licensed version, nothing works. I have tried making the changes listed above and I get errors in the admin panels.
I have been using WordTube, but thought that this would be a better solution. Not so far...
Help!
Dave
@drift_dave,
What error messages (and where) are you getting? If you can provide that it makes it easier for me to track down where the issues might be.
Thanks.
hello, i got it to work awhile back but erased my entire server and re-installed it recently and im having the same problem with uploading my commercial version... it says bad .zip
here is my updatepage.php file
-----------
[Code moderated as per the Forum Rules. Please use the pastebin]
---------------
what is wrong??
@PutABeatOn,
The file itself looks correct. What is the exact error message that is being displayed?
Thanks.
I have the same issue as drift_dave.
I'm running WP 3.05.
I've FTP'd the plugin zip file (using binary, so it would unzip) and while the plugin seems to be active, I'm having issues.
When I go to the JW admin page in WP it says:
Current Player: Version Unknown (Click Here to Reinstall)
I've done that more than once and it always comes up version unknown.
When I try to upload the licensed version, I get this error:
JW Player was not detected.
When I go to the licensing page, there's nowhere to enter a license, only a button to go purchase one, and a button that says:
Once you have purchased a license for the commercial player, you can upload it here.
So I'm stuck in a loop. :-\
@vich11,
On the page that says the JW Player was not detected are you seeing a JW Player being loaded on that page? A player should be loaded to confirm that the upload worked.
If the player is not showing up this is likely a permissions issue.
Can you confirm that the following directories are writable:
wp-content/uploads/jw-player-plugin-for-wordpress/
wp-content/uploads/jw-player-plugin-for-wordpress/player/
wp-content/uploads/jw-player-plugin-for-wordpress/configs/
Also, is there a player in the wp-content/uploads/jw-player-plugin-for-wordpress/player directory after you do the upload?
Thanks.
Longtail Video,
Yes to all your questions except the first. I'm not seeing a JW Player loading on any admin pages for the plugin.
Vic
@vich11,
If that's the case then the player.swf file probably doesn't have the correct permissions and can't be loaded. Can you check what the permissions are on the uploaded player.swf?
Thanks.
Permissions are 777 for the file and the directory in which it resides.
Vic
@vich11,
Would it be possible to get access to your admin section so we can debug the problem directly? If so, please contact support@longtailvideo.com.
Thanks.
what's wrong?
when i start jw player,it show:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 30720 bytes) in /home/vol11/byethost17.com/b17_8950655/htdocs/blog/wp-content/plugins/jw-player-plugin-for-wordpress/media/JWShortcode.php on line 100
Try increasing the memory available to PHP:
http://wordpress.org/support/topic/253495#post-1017842
@sea2moon,
Indeed this looks like a PHP memory issue.
Thanks.
This topic has been closed to new replies.