videojs/video-js-swf — pull request #77 by t2y (2014-01-25 18:12:31+00:00)
Title: Fixed to be able to replay when the RTMP streaming is ended

The video-js-swf doesn't stop (pause) when a video is ended. Then, it doesn't replay with 1 click. Our streaming server is Red5 with RTMP streaming.

According to the developers guide (Controlling video playback), the pause action is needed before seeking and call resume() to play after paused.
http://help.adobe.com/en_US/as3/dev/WS5b3ccc516d4fbf351e63e3d118a9b90204-7d4d.html
```as
function stopHandler(event:MouseEvent):void
{
// Pause the stream and move the playhead back to
// the beginning of the stream.
ns.pause();
ns.seek(0);
}
```
Reference: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/NetStream.html

I think that calling 3 methods(pause, seek, resume) at the same time is better since it's difficult to understand which method is called in order on event-driven processing.

This patch works for us. Could you review it?