streaming: updated to have chat
This commit is contained in:
parent
4b2c31c775
commit
0e7d96a965
|
@ -1,24 +1,30 @@
|
||||||
<?php
|
<?php
|
||||||
/* Template Name: Streaming */
|
/* Template Name: Streaming */
|
||||||
get_header();
|
get_header();
|
||||||
wp_nav_menu( array( 'theme_location' => 'stream-menu', 'container_class' => 'content subnav cf' ) );
|
//wp_nav_menu( array( 'theme_location' => 'stream-menu', 'container_class' => 'content subnav cf' ) );
|
||||||
?>
|
?>
|
||||||
|
<br>
|
||||||
<section class="content grid">
|
<section class="content grid">
|
||||||
<div class="col-left">
|
<div class="col-left">
|
||||||
<!-- <h1><?php pll_e('Streaming') ?></h1> -->
|
<!-- <h1><?php pll_e('Streaming') ?></h1> -->
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
if (!empty($_GET['track'])) {
|
if (!empty($_GET['track'])) {
|
||||||
|
$track = $_GET['track'];
|
||||||
|
} else {
|
||||||
|
$track = "stage";
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
<div class="videoWrapper">
|
<div class="videoWrapper">
|
||||||
<iframe src="/stream/index.php?track=<?php echo htmlspecialchars($_GET['track']); ?>" allowfullscreen>
|
<iframe src="/stream/index.php?track=<?php echo htmlspecialchars($track); ?>" allowfullscreen>
|
||||||
<p>Your browser does not support iframes</p>
|
<p>Your browser does not support iframes</p>
|
||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<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
|
<?php
|
||||||
if ( have_posts() ) :
|
if ( have_posts() ) :
|
||||||
while ( have_posts() ) : the_post();
|
while ( have_posts() ) : the_post();
|
||||||
|
|
Loading…
Reference in New Issue