You are here

function amp_process_amp_video in Accelerated Mobile Pages (AMP) 7

Implements hook_process_amp_video().

File

./amp.module, line 265

Code

function amp_process_amp_video(&$variables) {

  // Turn attributes array into a string.  Run this after all preprocessors have
  // had their way with the array.
  $variables['video_attributes'] = drupal_attributes($variables['video_attributes_array']);
}