equal
deleted
inserted
replaced
47 test("test the creation of a correct popcorn object", function() { |
47 test("test the creation of a correct popcorn object", function() { |
48 |
48 |
49 var layoutManager = new IriSP.LayoutManager({container: "LdtPlayer", width: 327, height: 542}); |
49 var layoutManager = new IriSP.LayoutManager({container: "LdtPlayer", width: 327, height: 542}); |
50 var pop = IriSP.configurePopcorn(layoutManager, this.popcornOptions); |
50 var pop = IriSP.configurePopcorn(layoutManager, this.popcornOptions); |
51 notDeepEqual(pop, undefined, "returned object is not undefined"); |
51 notDeepEqual(pop, undefined, "returned object is not undefined"); |
52 |
|
53 /* FIXME: add more test options ? */ |
|
54 equal(pop.options.type, "jwplayer", "the player is of the correct type."); |
|
55 }); |
52 }); |
56 |
53 |
57 test("test the creation of a video tag", function() { |
54 test("test the creation of a video tag", function() { |
58 |
55 |
59 var popcornOptions = { |
56 var popcornOptions = { |