2017-03-16 16:59:53 +01:00
|
|
|
|
<div class="ai1ec-modal ai1ec-fade timely" id="ai1ec-video-modal"
|
2017-11-09 17:36:04 +01:00
|
|
|
|
style="width: 600px; margin-left: -300px; margin-top: -200px;">
|
|
|
|
|
<div class="ai1ec-modal-dialog">
|
|
|
|
|
<div class="ai1ec-modal-content">
|
|
|
|
|
<div class="ai1ec-modal-header">
|
|
|
|
|
<button class="ai1ec-close" data-dismiss="ai1ec-modal">×</button>
|
|
|
|
|
<h1><small><?php echo esc_html( $title ); ?></small></h1>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="ai1ec-video"></div>
|
|
|
|
|
<?php if ( isset( $footer ) ): ?>
|
|
|
|
|
<div class="ai1ec-modal-footer">
|
|
|
|
|
<?php echo $footer; ?>
|
|
|
|
|
</div>
|
|
|
|
|
<?php endif; ?>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2017-03-16 16:59:53 +01:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
/* <![CDATA[ */
|
2017-11-09 17:36:04 +01:00
|
|
|
|
// TODO: Localize this variable using requirejs-suitable technique rather than
|
|
|
|
|
// this way.
|
|
|
|
|
var ai1ecVideo = {
|
|
|
|
|
youtubeId: '<?php echo $youtube_id; ?>'
|
|
|
|
|
};
|
2017-03-16 16:59:53 +01:00
|
|
|
|
/* ]]> */
|
|
|
|
|
</script>
|