streaming page

This commit is contained in:
Vasil Kolev 2017-08-07 11:12:05 +03:00 committed by Openfest
parent 0f15f6c48b
commit 08bbce3e67
1 changed files with 38 additions and 0 deletions

38
page-streaming.php Normal file
View File

@ -0,0 +1,38 @@
<?php
/* Template Name: Streaming */
get_header();
//wp_nav_menu( array( 'theme_location' => 'footer-schedule', 'container_class' => 'content subnav cf' ) );
?>
<section class="content grid">
<div class="col-left">
<h1><?php pll_e('Streaming') ?></h1>
<?php
if (!empty($_GET['track'])) {
?>
<div class="videoWrapper">
<iframe src="/stream/index.php?track=<?php echo htmlspecialchars($_GET['track']); ?>" allowfullscreen>
<p>Your browser does not support iframes</p>
</iframe>
</div>
<?php
}
?>
<?php
if ( have_posts() ) :
while ( have_posts() ) : the_post();
the_content();
endwhile;
endif;
?>
</div>
<?php
get_sidebar();
?>
</section>
<?php echo do_shortcode( '[transport]' ); ?>
<?php get_footer(); ?>