Code Duplication    Length = 9-9 lines in 3 locations

code/blocks/video/models/VideoBlock.php 3 locations

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