equal
deleted
inserted
replaced
118 |
118 |
119 var end_timecode = (Math.floor(tcode) + 300) * 1000; |
119 var end_timecode = (Math.floor(tcode) + 300) * 1000; |
120 if (end_timecode > duration) |
120 if (end_timecode > duration) |
121 end_timecode = duration; |
121 end_timecode = duration; |
122 |
122 |
123 console.log("b, e:", begin_timecode, end_timecode); |
|
124 var templ = Mustache.to_html(platf_url, {media: media_id, begin: begin_timecode, |
123 var templ = Mustache.to_html(platf_url, {media: media_id, begin: begin_timecode, |
125 end: end_timecode}); |
124 end: end_timecode}); |
126 |
125 |
127 /* we create on the fly a serializer to get the ajax */ |
126 /* we create on the fly a serializer to get the ajax */ |
128 var serializer = new IriSP.JSONSerializer(IriSP.__dataloader, templ); |
127 var serializer = new IriSP.JSONSerializer(IriSP.__dataloader, templ); |