Browse Subversion Repository
Diff of /NNDDv2/trunk/src/org/mineap/nndd/player/PlayerController.as
Parent Directory
| Revision Log
| Patch
| 2474 |
trace(seekTime); |
trace(seekTime); |
| 2475 |
if(this.windowReady){ |
if(this.windowReady){ |
| 2476 |
if((new Date().time)-lastSeekTime > 1000){ |
if((new Date().time)-lastSeekTime > 1000){ |
| 2477 |
if((videoDisplay != null && videoDisplay.initialized && videoDisplay.duration > 0) || (swfLoader != null && swfLoader.initialized)){ |
if((videoDisplay != null && videoDisplay.initialized && videoDisplay.duration > 0) |
| 2478 |
|
|| (swfLoader != null && swfLoader.initialized)){ |
| 2479 |
|
|
| 2480 |
|
|
| 2481 |
trace("seekStart:" + seekTime); |
trace("seekStart:" + seekTime); |
| 2492 |
videoDisplay.seek(seekTime); |
videoDisplay.seek(seekTime); |
| 2493 |
commentTimerVpos = seekTime*1000; |
commentTimerVpos = seekTime*1000; |
| 2494 |
}else if(this.windowType == PlayerController.WINDOW_TYPE_SWF){ |
}else if(this.windowType == PlayerController.WINDOW_TYPE_SWF){ |
| 2495 |
mc.gotoAndPlay(int(seekTime)); |
if(pausing){ |
| 2496 |
|
mc.gotoAndStop(int(seekTime)); |
| 2497 |
|
} |
| 2498 |
|
else |
| 2499 |
|
{ |
| 2500 |
|
mc.gotoAndPlay(int(seekTime)); |
| 2501 |
|
} |
| 2502 |
commentTimerVpos = (seekTime/swfFrameRate)*1000; |
commentTimerVpos = (seekTime/swfFrameRate)*1000; |
| 2503 |
} |
} |
| 2504 |
|
|
| 2505 |
commentManager.removeAll(); |
commentManager.removeAll(); |
| 2506 |
|
|
| 2507 |
if(!this.pausing || this.windowType == PlayerController.WINDOW_TYPE_SWF){ |
if(!this.pausing){ |
| 2508 |
commentTimer.start(); |
commentTimer.start(); |
| 2509 |
} |
} |
| 2510 |
lastSeekTime = new Date().time; |
lastSeekTime = new Date().time; |
|
|
Legend:
| Removed from v.544 |
|
| changed lines |
| |
Added in v.551 |
|
|
|