| @@ 282-290 (lines=9) @@ | ||
| 279 | /** |
|
| 280 | * @return bool|string |
|
| 281 | */ |
|
| 282 | public function getMp4VideoUrl() { |
|
| 283 | $file = $this->Mp4(); |
|
| 284 | ||
| 285 | if (! ($file instanceof File) || ! $file->exists()) { |
|
| 286 | return false; |
|
| 287 | } |
|
| 288 | ||
| 289 | return $file->getAbsoluteURL(); |
|
| 290 | } |
|
| 291 | ||
| 292 | /** |
|
| 293 | * @return bool|string |
|
| @@ 295-303 (lines=9) @@ | ||
| 292 | /** |
|
| 293 | * @return bool|string |
|
| 294 | */ |
|
| 295 | public function getWebMVideoUrl() { |
|
| 296 | $file = $this->WebM(); |
|
| 297 | ||
| 298 | if (! ($file instanceof File) || ! $file->exists()) { |
|
| 299 | return false; |
|
| 300 | } |
|
| 301 | ||
| 302 | return $file->getAbsoluteURL(); |
|
| 303 | } |
|
| 304 | ||
| 305 | /** |
|
| 306 | * @return bool|string |
|
| @@ 308-316 (lines=9) @@ | ||
| 305 | /** |
|
| 306 | * @return bool|string |
|
| 307 | */ |
|
| 308 | public function getOggVideoUrl() { |
|
| 309 | $file = $this->Ogg(); |
|
| 310 | ||
| 311 | if (! ($file instanceof File) || ! $file->exists()) { |
|
| 312 | return false; |
|
| 313 | } |
|
| 314 | ||
| 315 | return $file->getAbsoluteURL(); |
|
| 316 | } |
|
| 317 | ||
| 318 | /** |
|
| 319 | * Fetching/downloading picture from the providers url address and |
|