Upload and autoencoding script for jPlayer