equal
deleted
inserted
replaced
|
1 IriSP.player = function(options) { |
|
2 |
|
3 var directory = new IriSP.Model.Directory(), |
|
4 project = directory.remoteSource({ |
|
5 url: options.url, |
|
6 serializer: IriSP.serializers.ldt |
|
7 }), |
|
8 mashup; |
|
9 |
|
10 project.onLoad(function() { |
|
11 mashup = project.getMashups()[0]; |
|
12 IriSP.mashupcore(project, mashup); |
|
13 project.trigger("set-current",mashup); |
|
14 |
|
15 $(".info-title a").text(mashup.title); |
|
16 $(".info-duration td").text(mashup.duration.toString()); |
|
17 $(".info-author a").text(mashup.creator); |
|
18 $(".info-description td").text(mashup.description); |
|
19 |
|
20 }); |
|
21 } |