Browse Source

Adding video to home page

Andrea Franceschini 9 years ago
parent
commit
dff6615b53
1 changed files with 5 additions and 1 deletions
  1. 5 1
      pages/home.php

+ 5 - 1
pages/home.php

@@ -1,13 +1,17 @@
 <?php
 $bodyclasses = 'home page';
 
-$description = 'Hi, I am a PhD candidate at The Open University, but I also do other things.';
+$description = 'I am a PhD candidate at The Open University, but I also do other things.';
 $keywords = 'music, learning, tabletop, research, the open university';
 $twitter_image = 'images/colopic.jpg';
 ?>
 
 <?=i('_header')?>
 
+		<h2>I do things.</h2>
+		
+		<style>.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }</style><div class='embed-container'><iframe src='https://www.youtube.com/embed/AONzmnAHZ6w?rel=0' frameborder='0' allowfullscreen></iframe></div>
+
 		<h2>What can I do for you?</h2>
 	
 		<a href="<?=$baseurl?>research" class="research work column"><span>Research</span></a>