public function applyJSON(array $json)
 {
     parent::applyJSON($json);
     $this->applyProperty($json, 'url');
     $this->applyProperty($json, 'width');
     $this->applyProperty($json, 'height');
 }
Example #2
0
 public function applyJSON(array $json)
 {
     parent::applyJSON($json);
     $this->applyProperty($json, 'name');
     $this->applyProperty($json, 'poster');
     $this->applyProperty($json, 'sources', NULL, MediaSource::class, TRUE);
 }
Example #3
0
 public function applyJSON(array $json)
 {
     parent::applyJSON($json);
     $this->applyProperty($json, 'countries');
     $this->applyProperty($json, 'exclude_countries');
     $this->applyProperty($json, 'restricted');
 }
Example #4
0
 public function applyJSON(array $json)
 {
     parent::applyJSON($json);
     $this->applyProperty($json, 'configuration', NULL, Configuration::class);
     $this->applyProperty($json, 'updated_at');
     $this->applyProperty($json, 'preview_url');
 }
Example #5
0
 public function applyJSON(array $json)
 {
     parent::applyJSON($json);
     $this->applyProperty($json, 'by_external_acct');
     $this->applyProperty($json, 'by_id');
     $this->applyProperty($json, 'source_id');
     $this->applyProperty($json, 'to_external_acct');
     $this->applyProperty($json, 'by_reference');
 }
 public function applyJSON(array $json)
 {
     parent::applyJSON($json);
     $this->applyProperty($json, 'name');
     $this->applyProperty($json, 'type');
     $this->applyProperty($json, 'time');
     $this->applyProperty($json, 'metadata');
     $this->applyProperty($json, 'force_stop');
 }
 public function applyJSON(array $json)
 {
     parent::applyJSON($json);
     $this->applyProperty($json, 'url');
     $this->applyProperty($json, 'srclang');
     $this->applyProperty($json, 'label');
     $this->applyProperty($json, 'kind');
     $this->applyProperty($json, 'default');
 }
 public function applyJSON(array $json)
 {
     parent::applyJSON($json);
     $this->applyProperty($json, 'media', NULL, Media::class);
     $this->applyProperty($json, 'player', NULL, Player::class);
     $this->applyProperty($json, 'scripts');
     $this->applyProperty($json, 'stylesheets');
     $this->applyProperty($json, 'plugins', NULL, Plugin::class, TRUE);
 }
 public function applyJSON(array $json)
 {
     parent::applyJSON($json);
     $this->applyProperty($json, 'id');
     $this->applyProperty($json, 'url');
     $this->applyProperty($json, 'emebed_code');
     $this->applyProperty($json, 'embed_in_page');
     $this->applyProperty($json, 'preview_url');
     $this->applyProperty($json, 'preview_embed_code');
 }
 public function applyJSON(array $json)
 {
     parent::applyJSON($json);
     $this->applyProperty($json, 'master');
     $this->applyProperty($json, 'profile');
     $this->applyProperty($json, 'callbacks');
     $this->applyProperty($json, 'poster');
     $this->applyProperty($json, 'thumbnail');
     $this->applyProperty($json, 'capture_images');
 }
Example #11
0
 public function applyJSON(array $json)
 {
     parent::applyJSON($json);
     $this->applyProperty($json, 'accountId');
     $this->applyProperty($json, 'branches', NULL, BranchList::class);
     $this->applyProperty($json, 'description');
     $this->applyProperty($json, 'id');
     $this->applyProperty($json, 'name');
     $this->applyProperty($json, 'created_at');
     $this->applyProperty($json, 'url');
     $this->applyProperty($json, 'embed_count');
 }
Example #12
0
 public function applyJSON(array $json)
 {
     parent::applyJSON($json);
     $this->applyProperty($json, 'id');
     $this->applyProperty($json, 'app_name');
     $this->applyProperty($json, 'stream_name');
     $this->applyProperty($json, 'codec');
     $this->applyProperty($json, 'container');
     $this->applyProperty($json, 'encoding_rate');
     $this->applyProperty($json, 'duration');
     $this->applyProperty($json, 'height');
     $this->applyProperty($json, 'width');
     $this->applyProperty($json, 'size');
     $this->applyProperty($json, 'uploaded_at');
 }
 public function applyJSON(array $json)
 {
     parent::applyJSON($json);
     $this->applyProperty($json, 'type');
     $this->applyProperty($json, 'src');
 }
 public function applyJSON(array $json)
 {
     parent::applyJSON($json);
     $this->applyProperty($json, 'master', NULL, Branch::class);
     $this->applyProperty($json, 'preview', NULL, Branch::class);
 }
 public function applyJSON(array $json)
 {
     parent::applyJSON($json);
     $this->applyProperty($json, 'comment');
 }
Example #16
0
 public function applyJSON(array $json)
 {
     parent::applyJSON($json);
     $this->applyProperty($json, 'starts_at');
     $this->applyProperty($json, 'ends_at');
 }
 public function applyJSON(array $json)
 {
     parent::applyJSON($json);
     $this->applyProperty($json, 'items', NULL, Player::class, TRUE);
     $this->applyProperty($json, 'item_count');
 }
 public function applyJSON(array $json)
 {
     parent::applyJSON($json);
     $this->applyProperty($json, 'name');
     $this->applyProperty($json, 'version');
 }
Example #19
0
 public function applyJSON(array $json)
 {
     parent::applyJSON($json);
     $this->applyProperty($json, 'thumbnail');
     $this->applyProperty($json, 'poster');
 }
Example #20
0
 public function applyJSON(array $json)
 {
     parent::applyJSON($json);
     $this->applyProperty($json, 'id');
     $this->applyProperty($json, 'account_id');
     $this->applyProperty($json, 'complete');
     $this->applyProperty($json, 'created_at');
     $this->applyProperty($json, 'cue_points', NULL, CuePoint::class, TRUE);
     $this->applyProperty($json, 'custom_fields');
     $this->applyProperty($json, 'description');
     $this->applyProperty($json, 'duration');
     $this->applyProperty($json, 'economics');
     $this->applyProperty($json, 'folder_id');
     $this->applyProperty($json, 'geo', NULL, GEO::class);
     $this->applyProperty($json, 'images', NULL, Image::class, TRUE);
     $this->applyProperty($json, 'link', NULL, Link::class);
     $this->applyProperty($json, 'long_description');
     $this->applyProperty($json, 'name');
     $this->applyProperty($json, 'reference_id');
     $this->applyProperty($json, 'schedule', NULL, Schedule::class);
     $this->applyProperty($json, 'sharing', NULL, Sharing::class);
     $this->applyProperty($json, 'state');
     $this->applyProperty($json, 'tags');
     $this->applyProperty($json, 'text_tracks');
     $this->applyProperty($json, 'updated_at');
 }
Example #21
0
 public function applyJSON(array $json)
 {
     parent::applyJSON($json);
     $this->applyProperty($json, 'template', NULL, PlayerTemplate::class);
     $this->applyProperty($json, 'autoplay');
 }