WordPress.org

Forums

JW Player for Flash & HTML5 Video
[Plugin: JW Player Plugin for WordPress] Problem uploading my commercial version! (28 posts)

  1. PutABeatOn
    Member
    Posted 4 years ago #

    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

  2. JW Player
    Member
    Plugin Author

    Posted 4 years ago #

    @PutABeatOn,

    Could you provide the exact error message the plugin is giving? That way I can isolate what the problem could be.

    Thanks.

  3. PutABeatOn
    Member
    Posted 4 years ago #

    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?

  4. JW Player
    Member
    Plugin Author

    Posted 4 years ago #

    Can you provide a screenshot and send it to support@longtailvideo.com?

    Thanks.

  5. PutABeatOn
    Member
    Posted 4 years ago #

    sent and thank you!!!

  6. JW Player
    Member
    Plugin Author

    Posted 4 years ago #

    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.

  7. PutABeatOn
    Member
    Posted 4 years ago #

    yes please show me what i need to do

  8. JW Player
    Member
    Plugin Author

    Posted 4 years ago #

    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.

  9. PutABeatOn
    Member
    Posted 4 years ago #

    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"]);
    }

    ??

  10. JW Player
    Member
    Plugin Author

    Posted 4 years ago #

    That's correct.

  11. PutABeatOn
    Member
    Posted 4 years ago #

    worked! ur the man!

    about using my own skin should i start a new topic?

  12. PutABeatOn
    Member
    Posted 4 years ago #

    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

  13. JW Player
    Member
    Plugin Author

    Posted 4 years ago #

    Can you provide a link to the page where the error is happening?

  14. PutABeatOn
    Member
    Posted 4 years ago #

  15. JW Player
    Member
    Plugin Author

    Posted 4 years ago #

    Try removing the registered symbol '®' from the name of your custom player.

  16. drift_dave
    Member
    Posted 4 years ago #

    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

  17. JW Player
    Member
    Plugin Author

    Posted 4 years ago #

    @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.

  18. PutABeatOn
    Member
    Posted 4 years ago #

    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??

  19. JW Player
    Member
    Plugin Author

    Posted 4 years ago #

    @PutABeatOn,

    The file itself looks correct. What is the exact error message that is being displayed?

    Thanks.

  20. vich11
    Member
    Posted 4 years ago #

    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. :-\

  21. JW Player
    Member
    Plugin Author

    Posted 4 years ago #

    @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.

  22. vich11
    Member
    Posted 4 years ago #

    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

  23. JW Player
    Member
    Plugin Author

    Posted 4 years ago #

    @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.

  24. vich11
    Member
    Posted 4 years ago #

    Permissions are 777 for the file and the directory in which it resides.

    Vic

  25. JW Player
    Member
    Plugin Author

    Posted 4 years ago #

    @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.

  26. sea2moon
    Member
    Posted 3 years ago #

    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

  27. esmi
    Forum Moderator
    Posted 3 years ago #

    Try increasing the memory available to PHP:
    http://wordpress.org/support/topic/253495#post-1017842

  28. JW Player
    Member
    Plugin Author

    Posted 3 years ago #

    @sea2moon,

    Indeed this looks like a PHP memory issue.

    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • JW Player for Flash & HTML5 Video
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic