Projet

Général

Profil

Révision 1f142f4f

Ajouté par Florent Torregrosa il y a plus de 8 ans

Issue #592: Update file_entity to version 7.x-2.0-beta2.

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