correct embed injection
authorYves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
Wed, 09 Nov 2011 10:59:25 +0100
changeset 357 3e93a0e83ad1
parent 356 78fc59a78fec
child 358 24c04366c2ca
correct embed injection
web/client.php
--- a/web/client.php	Tue Nov 08 18:19:32 2011 +0100
+++ b/web/client.php	Wed Nov 09 10:59:25 2011 +0100
@@ -287,10 +287,11 @@
 			</object>
 			
 		</div>
-		<?php elseif($config['islive_embed']):?>
+		<?php elseif(isset($config['islive_embed']) && count($config['islive_embed'])>0):?>
+		<div class="videoLivePlayer">
 		    <?php echo($config['islive_embed']); ?>
+		</div>
 	  	<?php else: ?>
-	  
 		<div class="videoLivePlayer">
 			<img src="<?php echo($big_visual_url); ?>" width="500"  height="375" />
 		</div>