You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.
In this case, my $cbf remains NULL, I need to add a sleep() method since it looks like the datas need some time to be queryable from Brightcove - like this:
$id = $bc->createMedia('video', $file_bc, $metaData, $options);
sleep(30); //added this sleep()
$searchParams = array(
'video_id' => $id,
'media_delivery' => 'HTTP',
'video_fields' => 'FLVURL'
);
$cbf = $bc->find('videobyid', $searchParams);
$flvurl = $cbf->{'FLVURL'}; // the data is not NULL
die(var_dump($flvurl)) ;
Is there a workaround to avoid this?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Actually I use the createMedia function to upload a video to Brightcove:
$id = $bc->createMedia('video', $file_bc, $metaData, $options);
It works fine, but I want to get the download URL of my file immediately after uploaded it - like this:
In this case, my
$cbf
remainsNULL
, I need to add asleep()
method since it looks like the datas need some time to be queryable from Brightcove - like this:Is there a workaround to avoid this?
The text was updated successfully, but these errors were encountered: