public function __construct(BrightCove $brightcove)
 {
     $this->brightcove = $brightcove;
     $this->brightcove->initClient($this->getBaseUrl($brightcove->accountId));
 }
 /**
  * @return \ContemporaryVA\BrightCove\Common
  */
 public function common()
 {
     return $this->brightcove->common();
 }
Exemple #3
0
 /**
  * @param     $query
  * @param int $count
  * @param int $offset
  *
  * @return \Illuminate\Support\Collection
  */
 public function getVideosByQuery($query, $count = 16, $offset = 0)
 {
     return $this->brightcove->videos()->findAll($count, $offset, "-created_at", $query);
 }