node/add/x video upload progress bar stays at 0% with no animation

Comments

entendu’s picture

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));
}
kylebrowning’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.