railpage/railpagecore

View on GitHub
lib/Formatting/BbcodeEtc/templates/video.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php if ($player === 'embed') { ?>
    <embed src="<?php echo $url; ?>" width="<?php echo $width; ?>" height="<?php echo $height; ?>" type="application/x-shockwave-flash"></embed>
<?php } else { ?>
    <iframe src="<?php echo $url; ?>" width="<?php echo $width; ?>" height="<?php echo $height; ?>" frameborder="0"></iframe>
<?php } ?>