Project

General

Profile

Revision 1f142f4f

Added by Florent Torregrosa over 8 years ago

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

View differences:

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) {

Also available in: Unified diff