I'm Sending this Video Blob to the uploadVideo.php file how would i retrieve it on the uploadvideo.php page?
function postVideoToServer(videoblob) {
var data = {};
data.video = videoblob;
data.metadata = 'test metadata';
data.action = "upload_video";
jQuery.post("http://mysite.com/uploadvideo.php", data, onUploadSuccess);
}
More Details
function postVideoToServer(videoblob) {
var data = {};
data.video = videoblob;
data.metadata = 'test metadata';
data.action = "upload_video";
jQuery.post("http://mysite.com/uploadvideo.php", data, onUploadSuccess);
}
And On the uploadvideo.php i have this:
<?php
require("connect.php");
$video = $_POST["video"];
$up = mysql_query("INSERT INTO video VALUES ('$video')");
?>
But it still does not seem to work? I Think i am doing something wrong?