equal
deleted
inserted
replaced
14 will contain the video. |
14 will contain the video. |
15 */ |
15 */ |
16 case "html5": |
16 case "html5": |
17 var tmpId = Popcorn.guid("video"); |
17 var tmpId = Popcorn.guid("video"); |
18 IriSP.jQuery("#" + containerDiv).append("<video src='" + options.file + "' id='" + tmpId + "'></video>"); |
18 IriSP.jQuery("#" + containerDiv).append("<video src='" + options.file + "' id='" + tmpId + "'></video>"); |
|
19 |
|
20 if (options.hasOwnProperty("width")) |
|
21 IriSP.jQuery("#" + containerDiv).css("width", options.width); |
|
22 |
|
23 if (options.hasOwnProperty("height")) |
|
24 IriSP.jQuery("#" + containerDiv).css("height", options.height); |
|
25 |
19 pop = Popcorn("#" + tmpId).mediafragment({start : 0}); |
26 pop = Popcorn("#" + tmpId).mediafragment({start : 0}); |
20 break; |
27 break; |
21 |
28 |
22 case "jwplayer": |
29 case "jwplayer": |
23 var opts = IriSP.jQuery.extend({}, options); |
30 var opts = IriSP.jQuery.extend({}, options); |