Upload progress bar no longer works
dsantangelo - June 11, 2009 - 17:53
| Project: | CDN2 Video |
| Version: | 5.x-2.x-dev |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
node/add/x video upload progress bar stays at 0% with no animation

#1
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));
}
#2
#3
Automatically closed -- issue fixed for 2 weeks with no activity.