You are here

public function DefaultMp3Player::checkInstalled in AudioField 8

Checks to see if this audio plugin has been properly installed.

Parameters

bool $log_error: Flag to indicate whether or not alert should be logged/shown.

Return value

bool Returns a boolean indicating install state.

Overrides AudioFieldPluginBase::checkInstalled

File

src/Plugin/AudioPlayer/DefaultMp3Player.php, line 34

Class

DefaultMp3Player
Implements the Default HTML5 Audio Player plugin.

Namespace

Drupal\audiofield\Plugin\AudioPlayer

Code

public function checkInstalled($log_error = FALSE) {

  // This is built in to HTML5, so it is always "installed".
  return TRUE;
}