If you already have the JW Player then you can install it using the upgrade page.
Alternatively you may FTP the player files directly to your site. Place the player.swf and jwplayer.js files in " . JWPLAYER_FILES_DIR . "/player/. " . JW_FILE_PERMISSIONS);
} else if ($result == WRITE_ERROR) {
error_message("Not able to install JW Player.
Please make sure the " . JWPLAYER_FILES_DIR . "/player/ directory exists (and is writabe) and then visit the upgrade page.
Alternatively you may FTP the player.swf and jwplayer.js files directly to your site. " . JW_FILE_PERMISSIONS);
} else if ($result == ZIP_ERROR) {
error_message("The necessary zip classes are missing. Please FTP the player manually. Place the player.swf and jwplayer.js files in " . JWPLAYER_FILES_DIR . "/player/.");
} else if ($result == READ_ERROR) {
error_message("Could not find player.swf or jwplayer.js. Either they are not present or the archive is invalid.
Alternatively you may FTP the player files directly to your site. Place the player.swf and jwplayer.js files in " . JWPLAYER_FILES_DIR . "/player/.");
}
}
function upload_state() { ?>
upgrade page. " . JW_FILE_PERMISSIONS);
default_state();
} else if ($result == ZIP_ERROR) {
error_message("The necessary zip classes are missing. Please upload the player manually instead using the upgrade page.");
default_state();
} else if ($result == READ_ERROR) {
error_message("Could not find player.swf or yt.swf. Either they are not present or the archive is invalid.");
default_state();
} else {
error_message("Not a valid zip archive.");
default_state();
}
}
function error_message($message) { ?>