WordPress.org

Support

Support » Plugins and Hacks » JW Player for Flash & HTML5 Video » [Plugin: JW Player Plugin for WordPress] Problem uploading my commercial version!

[Plugin: JW Player Plugin for WordPress] Problem uploading my commercial version!

  • PutABeatOn

    @putabeaton

    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

Viewing 15 replies - 1 through 15 (of 27 total)
  • Plugin Author JW Player

    @longtail-video

    @putabeaton,

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

    Thanks.

    PutABeatOn

    @putabeaton

    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?

    Plugin Author JW Player

    @longtail-video

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

    Thanks.

    PutABeatOn

    @putabeaton

    sent and thank you!!!

    Plugin Author JW Player

    @longtail-video

    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.

    PutABeatOn

    @putabeaton

    yes please show me what i need to do

    Plugin Author JW Player

    @longtail-video

    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.

    PutABeatOn

    @putabeaton

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

    ??

    Plugin Author JW Player

    @longtail-video

    That’s correct.

    PutABeatOn

    @putabeaton

    worked! ur the man!

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

    PutABeatOn

    @putabeaton

    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

    Plugin Author JW Player

    @longtail-video

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

    PutABeatOn

    @putabeaton

    Plugin Author JW Player

    @longtail-video

    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

Viewing 15 replies - 1 through 15 (of 27 total)
  • The topic ‘[Plugin: JW Player Plugin for WordPress] Problem uploading my commercial version!’ is closed to new replies.
Skip to toolbar