equal
deleted
inserted
replaced
15 // load our popcorn.js lookalike |
15 // load our popcorn.js lookalike |
16 $L = $L.script(libs.jwplayer); |
16 $L = $L.script(libs.jwplayer); |
17 } else { |
17 } else { |
18 // load the real popcorn |
18 // load the real popcorn |
19 $L = $L.script(libs.popcorn).script(libs["popcorn.code"]); |
19 $L = $L.script(libs.popcorn).script(libs["popcorn.code"]); |
20 if (config.player === "youtube") |
20 if (config.player.type === "youtube") { |
21 $L = $L.script(libs["popcorn.youtube"]); |
21 $L = $L.script(libs["popcorn.youtube"]); |
22 if (config.player === "vimeo") |
22 } |
|
23 if (config.player.type === "vimeo") |
23 $L = $L.script(libs["popcorn.vimeo"]); |
24 $L = $L.script(libs["popcorn.vimeo"]); |
24 |
25 |
25 /* do nothing for html5 */ |
26 /* do nothing for html5 */ |
26 } |
27 } |
27 |
28 |