Commit bed6ec8d authored by Daniel Rossi's avatar Daniel Rossi
Browse files

- #615 dispatch begin if in paused mode too early.

- #629 if start has been dispatched already prevent dispatching many begin events.
- Fixes for #15
parent 0c0b7813
...@@ -7,6 +7,8 @@ Version history: ...@@ -7,6 +7,8 @@ Version history:
- #627 re-enable stagevideo state change listeners if stagevideo is available or detach the fullscreen events on first call. - #627 re-enable stagevideo state change listeners if stagevideo is available or detach the fullscreen events on first call.
- #9 when replaying from stopping, connection does not receive callbacks anymore. - #9 when replaying from stopping, connection does not receive callbacks anymore.
- #15 fixes for #627, handle the display init on startup. - #15 fixes for #627, handle the display init on startup.
- #615 dispatch begin if in paused mode too early.
- #629 if start has been dispatched already prevent dispatching many begin events.
3.2.13 3.2.13
------ ------
......
...@@ -754,7 +754,9 @@ package org.flowplayer.controller { ...@@ -754,7 +754,9 @@ package org.flowplayer.controller {
} else if (event.info.code == "NetStream.Buffer.Full") { } else if (event.info.code == "NetStream.Buffer.Full") {
dispatchPlayEvent(ClipEventType.BUFFER_FULL); dispatchPlayEvent(ClipEventType.BUFFER_FULL);
} else if (event.info.code == "NetStream.Play.Start") { } else if (event.info.code == "NetStream.Play.Start") {
if (! _paused && canDispatchBegin()) { //#615 dispatch begin if in paused mode too early.
//#629 if start has been dispatched already prevent dispatching many begin events.
if (canDispatchBegin() && !clip.startDispatched) {
log.debug("dispatching onBegin"); log.debug("dispatching onBegin");
clip.dispatchEvent(new ClipEvent(ClipEventType.BEGIN, _pauseAfterStart)); clip.dispatchEvent(new ClipEvent(ClipEventType.BEGIN, _pauseAfterStart));
} }
......
...@@ -3,6 +3,7 @@ Version history: ...@@ -3,6 +3,7 @@ Version history:
3.2.4 3.2.4
----- -----
- #601 dispatch resolver failure correctly. - #601 dispatch resolver failure correctly.
- #15 add cache busting to the file being checked for availability to play back correctly once resolving has completed.
3.2.3 3.2.3
----- -----
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment