Projet

Général

Profil

Révision 2b3c8cc1

Ajouté par Assos Assos il y a presque 9 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/file_entity/file_entity.theme.inc
96 96
  if ($variables['loop']) {
97 97
    $audio_attributes['loop'] = 'loop';
98 98
  }
99
  if (!empty($variables['preload'])) {
100
    $audio_attributes['preload'] = $variables['preload'];
101
  }
99 102

  
100 103
  $output .= '<audio' . drupal_attributes($audio_attributes) . '>';
101 104
  foreach ($files as $delta => $file) {
......
148 151
  if ($variables['height']) {
149 152
    $video_attributes['height'] = $variables['height'];
150 153
  }
154
  if (!empty($variables['preload'])) {
155
    $video_attributes['preload'] = $variables['preload'];
156
  }
151 157

  
152 158
  $output .= '<video' . drupal_attributes($video_attributes) . '>';
153 159
  foreach ($files as $delta => $file) {

Formats disponibles : Unified diff