1 | <?php |
||
10 | class Video extends ElementBase |
||
11 | { |
||
12 | /** |
||
13 | * The URL of a video resource associated with the object. |
||
14 | * |
||
15 | * @var string |
||
16 | */ |
||
17 | public $url; |
||
18 | |||
19 | /** |
||
20 | * An alternate URL to use if a video resource requires HTTPS. |
||
21 | * |
||
22 | * @var string |
||
23 | */ |
||
24 | public $secureUrl; |
||
25 | |||
26 | /** |
||
27 | * The MIME type of a video resource associated with the object. |
||
28 | * |
||
29 | * @var type |
||
30 | */ |
||
31 | public $type; |
||
32 | |||
33 | /** |
||
34 | * The width of a video resource associated with the object in pixels. |
||
35 | * |
||
36 | * @var int |
||
37 | */ |
||
38 | public $width; |
||
39 | |||
40 | /** |
||
41 | * The height of a video resource associated with the object in pixels. |
||
42 | * |
||
43 | * @var int |
||
44 | */ |
||
45 | public $height; |
||
46 | |||
47 | /** |
||
48 | * @param string $url URL to the video. |
||
49 | */ |
||
50 | 1 | public function __construct($url) |
|
56 | |||
57 | /** |
||
58 | * Gets all properties set on this element. |
||
59 | * |
||
60 | * @return array|Property[] |
||
61 | */ |
||
62 | public function getProperties() |
||
89 | } |
||
90 |