<section class="slide" id="<?php echo getSlideId(__FILE__); ?> "> <div> <?php echo code('php', ' // PHP php > $foo = "10"; php > print $foo - 5; 5'); ?> </div> </section>
<?php $slideId = getSlideId(__FILE__); ?> <section class="slide" id="<?php echo $slideId; ?> "> <div> <div id="kitten"></div> <script> (function() { // Load the IFrame Player API code asynchronously. var tag = document.createElement('script'); tag.src = "https://www.youtube.com/player_api"; var firstScriptTag = document.getElementsByTagName('script')[0]; firstScriptTag.parentNode.insertBefore(tag, firstScriptTag); var player; window.onYouTubePlayerAPIReady = function() { player = new YT.Player('kitten', { //height: '390', width: '800', videoId: 'Ofge6a3gGis', events: { // onReady: onPlayerReady }, playerVars: { controls: 0, showinfo: 0,