You are here

function mediaelement_preprocess_mediaelement_file in MediaElement 8

Implements mediaelement_preprocess_mediaelement_file().

1 string reference to 'mediaelement_preprocess_mediaelement_file'
mediaelement_theme in ./mediaelement.module
Implements hook_theme().

File

./mediaelement.module, line 50
Primary module file.

Code

function mediaelement_preprocess_mediaelement_file(&$variables) {
  $variables['attributes']
    ->addClass('mediaelementjs');
}