Skip to content

Commit

Permalink
Change to html5 player
Browse files Browse the repository at this point in the history
  • Loading branch information
grant committed Nov 14, 2014
1 parent c8af40a commit 32f2298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/js/movie.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function Movie(title, youtubeUrl, summary, posterUrl, data) {
var self = this;
self.data = data;
self.youtubeUrl =
ko.observable("http://www.youtube.com/v/" + youtubeUrl.split('v=')[1] + "?autoplay=1&controls=0&showinfo=0&enablejsapi=1");
ko.observable("http://www.youtube.com/embed/" + youtubeUrl.split('v=')[1] + "?autoplay=1&controls=0&showinfo=0&enablejsapi=1");
self.title = ko.observable(title);
self.friends = ko.observableArray([]);
self.summary = ko.observable(summary);
Expand Down

0 comments on commit 32f2298

Please sign in to comment.