equal
deleted
inserted
replaced
264 current.pause(); |
264 current.pause(); |
265 |
265 |
266 this.active = nextIdx; |
266 this.active = nextIdx; |
267 this.times.last = clip["in"] - 1; |
267 this.times.last = clip["in"] - 1; |
268 |
268 |
269 if ($popnext !== undefined) { |
|
270 console.log("$popnext ok!") |
|
271 } |
|
272 if ($popnext.currentTime !== undefined) { |
|
273 console.log("$popnext.currentTime ok!") |
|
274 } |
|
275 if (clip !== undefined) { |
|
276 console.log("clip ok!") |
|
277 } |
|
278 if (clip["in"] !== undefined) { |
|
279 console.log("clip[in] ok!") |
|
280 } |
|
281 |
|
282 // Hide the currently ending video |
269 // Hide the currently ending video |
283 current.style.display = "none"; |
270 current.style.display = "none"; |
284 |
271 |
285 // Show the next video in the sequence |
272 // Show the next video in the sequence |
286 next.style.display = ""; |
273 next.style.display = ""; |
323 clip: function( idx ) { |
310 clip: function( idx ) { |
324 return this.inOuts.ofVideos[ idx ]; |
311 return this.inOuts.ofVideos[ idx ]; |
325 }, |
312 }, |
326 // Returns sum duration for all videos in sequence |
313 // Returns sum duration for all videos in sequence |
327 duration: function() { |
314 duration: function() { |
328 |
|
329 var ret = 0, |
315 var ret = 0, |
330 seq = this.inOuts.ofClips, |
316 seq = this.inOuts.ofClips, |
331 idx = 0; |
317 idx = 0; |
332 |
318 |
333 for ( ; idx < seq.length; idx++ ) { |
319 for ( ; idx < seq.length; idx++ ) { |