web/client.php
changeset 551 a84acdf6ef56
parent 546 fd35749faca9
child 553 65e5d6884a9e
--- a/web/client.php	Mon Mar 19 12:47:11 2012 +0100
+++ b/web/client.php	Wed Mar 21 12:29:59 2012 +0100
@@ -280,7 +280,7 @@
                             />
                         </object>
                     <?php elseif(isset($config['islive_embed']) && $config['islive_embed']):?>
-                        <?php echo($config['islive_embed']); ?>
+                        <?php echo str_replace(array('{{width}}','{{height}}'), array($videoWidth, $videoHeight), $config['islive_embed']); ?>
                     <?php else: ?>
                         <img src="<?php echo($big_visual_url); ?>" width="<?php echo $videoWidth; ?>"  height="<?php echo $videoHeight; ?>" />
                     <?php endif; ?>