| @@ -1,5 +1,10 @@ | ||
| 1 | 1 | <?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName |
| 2 | + | |
| 3 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 4 | + exit( 0 ); | |
| 5 | +} | |
| 6 | + | |
| 2 | 7 | /** |
| 3 | 8 | * VideoPress video object retrieved from VideoPress servers and parsed. |
| 4 | 9 | * |
| 5 | 10 | * @since 1.3 |
| @@ -170,8 +175,15 @@ | ||
| 170 | 175 | * @var array |
| 171 | 176 | * @since 1.5 |
| 172 | 177 | */ |
| 173 | 178 | public $captions; |
| 179 | + | |
| 180 | + /** | |
| 181 | + * Error data. | |
| 182 | + * | |
| 183 | + * @var mixed | |
| 184 | + */ | |
| 185 | + public $error; | |
| 174 | 186 | |
| 175 | 187 | /** |
| 176 | 188 | * Setup the object. |
| 177 | 189 | * Request video information from VideoPress servers and process the response. |