fixed typo which made stuff break.
--- a/src/js/main.js Wed Dec 21 15:35:21 2011 +0100
+++ b/src/js/main.js Wed Dec 21 15:35:42 2011 +0100
@@ -17,9 +17,10 @@
} else {
// load the real popcorn
$L = $L.script(libs.popcorn).script(libs["popcorn.code"]);
- if (config.player === "youtube")
+ if (config.player.type === "youtube") {
$L = $L.script(libs["popcorn.youtube"]);
- if (config.player === "vimeo")
+ }
+ if (config.player.type === "vimeo")
$L = $L.script(libs["popcorn.vimeo"]);
/* do nothing for html5 */