Open lalit774 opened 11 years ago
Hi, open this page http://opensource.brightcove.com/project/php-media-api-wrapper
Find Query - Additional Parameters
This example shows how to define additional API call parameters using a key-value array.
Existing Code // Define our parameters $params = array( 'id' => 123456789, 'video_fields' => 'video_id,name,shortDescription' );
// Make our API call $video = $bc->find('videoById', $params);
Replace with following code // Define our parameters $params = array( 'id' => 123456789, 'video_fields' => 'id,name,shortDescription' );
Diff video_id must be id.
'video_fields' => 'video_id,name,shortDescription'
'video_fields' => 'id,name,shortDescription'
Hi, open this page http://opensource.brightcove.com/project/php-media-api-wrapper
Find Query - Additional Parameters
This example shows how to define additional API call parameters using a key-value array.
Existing Code // Define our parameters $params = array( 'id' => 123456789, 'video_fields' => 'video_id,name,shortDescription' );
// Make our API call $video = $bc->find('videoById', $params);
Replace with following code // Define our parameters $params = array( 'id' => 123456789, 'video_fields' => 'id,name,shortDescription' );
// Make our API call $video = $bc->find('videoById', $params);
Diff video_id must be id.
'video_fields' => 'video_id,name,shortDescription'
'video_fields' => 'id,name,shortDescription'