You are here

public function Capped::flash in Video Filter 8

Flash video (flv)

Overrides VideoFilterBase::flash

File

src/Plugin/VideoFilter/Capped.php, line 25

Class

Capped
Provides Capped codec for Video Filter.

Namespace

Drupal\video_filter\Plugin\VideoFilter

Code

public function flash($video) {
  return [
    'src' => 'http://capped.micksam7.com/playeralt.swf?vid=' . $video['codec']['matches'][1],
  ];
}