We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HI, i want to upload a new video..` how can i change the src of mplayer
` $(function() { console.log('ready') $('#file').change(function(e){ console.log(e.target.files[0])
myfile = e.target.files[0]; var fileURL = URL.createObjectURL(myfile) var video = document.getElementById('file').value; console.log(video);
mplayer.src('assets/video/test1.mp4'); //src of video
var reader = new FileReader(); reader.onload = function() { console.log('onload'); var arrayBuffer = this.result, testDataQ = new Uint8Array(arrayBuffer); testData=testDataQ; console.log(testData); } reader.readAsArrayBuffer(myfile); }) });
above r my file upload code`.. right now video is static..
The text was updated successfully, but these errors were encountered:
No branches or pull requests
HI,
i want to upload a new video..`
how can i change the src of mplayer
` $(function()
{
console.log('ready')
$('#file').change(function(e){
console.log(e.target.files[0])
myfile = e.target.files[0];
var fileURL = URL.createObjectURL(myfile)
var video = document.getElementById('file').value;
console.log(video);
mplayer.src('assets/video/test1.mp4'); //src of video
above r my file upload code`..
right now video is static..
The text was updated successfully, but these errors were encountered: