diff options
| -rw-r--r-- | TODO | 8 | ||||
| -rw-r--r-- | public/javascripts/app.js | 2 | ||||
| -rw-r--r-- | public/stylesheets/style.css | 2 | ||||
| -rw-r--r-- | views/index.ejs | 4 | 
4 files changed, 9 insertions, 7 deletions
| @@ -2,12 +2,12 @@ TODO  ====  v Get characters and images from the TMS API in my character-images.js route -- Get video -	- Connect to Parse API +v Get video +	v Connect to Parse API  - Timer -- Select a character +v Select a character  	- Points in Viggle  v Push to Heroku -- Change Coverflow library +v Change Coverflow library  - Make Leaderboard page  - Make Rules page diff --git a/public/javascripts/app.js b/public/javascripts/app.js index 9bd769b..aa57543 100644 --- a/public/javascripts/app.js +++ b/public/javascripts/app.js @@ -28,7 +28,7 @@ var App = App || null;  		};  		this.initialize_video = function(url) { -			console.log(url); +			$('section.video video').attr('src', url);  		};  		this.get_characters = function(series_id, params) { diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css index bb3ac3a..263452e 100644 --- a/public/stylesheets/style.css +++ b/public/stylesheets/style.css @@ -9,7 +9,7 @@ section.video {  	z-index: 15;  } -section.video iframe { +section.video video {  	position: absolute;  	top: 0;  	left: 0; diff --git a/views/index.ejs b/views/index.ejs index 4b800e5..4438a2d 100644 --- a/views/index.ejs +++ b/views/index.ejs @@ -22,7 +22,9 @@  <body>  	<div role="main">  		<section class="video"> -			<iframe width="680" height="360" src="http://www.youtube.com/embed/Yj1TXR68BPA" frameborder="0" allowfullscreen></iframe> +			<video src="" controls> +				Your browser does not support the <code>video</code> element. +			</video>  		</section>  		<section id="character-select"> | 
