# HG changeset patch # User hamidouk # Date 1324478142 -3600 # Node ID 63e7b66d2a80b99f50d0ab7c25b882bf90072ea8 # Parent a784e70993b39e44e150438e70d4f0b297881e76 fixed typo which made stuff break. diff -r a784e70993b3 -r 63e7b66d2a80 src/js/main.js --- 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 */