forked from OpenFest/initfest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
page-streaming.php
44 lines (39 loc) · 944 Bytes
/
page-streaming.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?php
/* Template Name: Streaming */
get_header();
//wp_nav_menu( array( 'theme_location' => 'stream-menu', 'container_class' => 'content subnav cf' ) );
?>
<br>
<section class="content grid">
<div class="col-left">
<!-- <h1><?php pll_e('Streaming') ?></h1> -->
<?php
if (!empty($_GET['track'])) {
$track = $_GET['track'];
} else {
$track = "stage";
}
?>
<div class="videoWrapper">
<iframe src="/stream/index.php?track=<?php echo htmlspecialchars($track); ?>" allowfullscreen>
<p>Your browser does not support iframes</p>
</iframe>
</div>
<div class="videoWrapper">
<iframe src="https://webirc.ludost.net/?channels=ofq&uio=d4&nick=ofq<?php echo rand(10000,99999)?>" width="647" height="400"></iframe>
</div>
<br>
<?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(); ?>