video-embed-field-embed-code.tpl.php in Video Embed Field 7.2
Default theme implementation to display a video embed field.
Variables available:
- $url: The URL of the video to display embed code for
- $style: The style name of the embed code to use
- $style_settings: The style settings for the embed code
- $handler: The name of the video handler
- $embed_code: The embed code
- $data: Additional video data
See also
template_preprocess_video_embed()
3 theme calls to video-embed-field-embed-code.tpl.php
- video_embed_field_field_formatter_view in ./
video_embed_field.field.inc - Implements hook_field_formatter_view().
- video_embed_field_filter_process in ./
video_embed_field.module - Video Embed Field filter process callback.
- _video_embed_field_show_video in ./
video_embed_field.module - Renders a video for an AJAX call.
File
video-embed-field-embed-code.tpl.phpView source
<?php
/**
* @file
* Default theme implementation to display a video embed field.
*
* Variables available:
* - $url: The URL of the video to display embed code for
* - $style: The style name of the embed code to use
* - $style_settings: The style settings for the embed code
* - $handler: The name of the video handler
* - $embed_code: The embed code
* - $data: Additional video data
*
* @see template_preprocess_video_embed()
*/
?>
<div class="embedded-video">
<div class="player">
<?php
print $embed_code;
?>
</div>
</div>