node/add/x video upload progress bar stays at 0% with no animation
The menu callback seems to pass an empty value for arg(3) for me, solved it like so:
Adding the following lines (marked with +)
function cdn2_get_upload_status($vidid) { + if(empty($vidid)) { + $vidid = arg(3); + } $cdn2 = _cdn2_get_soap_client(); // this PRINT_R is NOT FOR DEBUGGING. Don't remove it, mmkay? print_r($cdn2->getVideoUploadStatus($vidid)); }
Automatically closed -- issue fixed for 2 weeks with no activity.
Comments
Comment #1
entendu commentedThe menu callback seems to pass an empty value for arg(3) for me, solved it like so:
Adding the following lines (marked with +)
Comment #2
kylebrowning commented