initfest/page-streaming.php

42 lines
772 B
PHP
Raw Normal View History

2017-08-07 11:12:05 +03:00
<?php
/* Template Name: Streaming */
get_header();
2022-09-28 13:53:30 +03:00
//wp_nav_menu( array( 'theme_location' => 'stream-menu', 'container_class' => 'content subnav cf' ) );
2017-08-07 11:12:05 +03:00
?>
2022-09-28 13:53:30 +03:00
<br>
2017-08-07 11:12:05 +03:00
<section class="content grid">
<div class="col-left">
2020-11-07 19:25:54 +02:00
<!-- <h1><?php pll_e('Streaming') ?></h1> -->
2017-08-07 11:12:05 +03:00
<?php
2022-09-28 13:53:30 +03:00
2017-08-07 11:12:05 +03:00
if (!empty($_GET['track'])) {
2022-09-28 13:53:30 +03:00
$track = $_GET['track'];
} else {
2022-10-13 13:53:04 +03:00
$track = "hall-a";
2022-09-28 13:53:30 +03:00
}
2017-08-07 11:12:05 +03:00
?>
<div class="videoWrapper">
2022-09-28 13:53:30 +03:00
<iframe src="/stream/index.php?track=<?php echo htmlspecialchars($track); ?>" allowfullscreen>
2017-08-07 11:12:05 +03:00
<p>Your browser does not support iframes</p>
</iframe>
</div>
2022-09-28 13:53:30 +03:00
<br>
2017-08-07 11:12:05 +03:00
<?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(); ?>