Skip to content

Commit

Permalink
flashlsFlowPlayer.swf: support autoPlay: false, autoBuffering: true
Browse files Browse the repository at this point in the history
related to #104
  • Loading branch information
mangui committed Oct 14, 2014
1 parent 04cfcd2 commit 8b99439
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
Binary file modified bin/debug/flashlsFlowPlayer.swf
Binary file not shown.
Binary file modified bin/release/flashlsFlowPlayer.swf
Binary file not shown.
3 changes: 2 additions & 1 deletion examples/flowplayer/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ <h1> <strong><span style="font-style: italic;">flashls</span></strong><em>
urlResolvers: "httpstreaming",
lang: "fr",
provider: "httpstreaming",
autoPlay: false
autoPlay: false,
autoBuffering: true
},
log: {
level: 'debug',
Expand Down
9 changes: 5 additions & 4 deletions src/org/mangui/flowplayer/HLSStreamProvider.as
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,10 @@ package org.mangui.flowplayer {
// } else {
// _seekable = true;
// }
if (_pauseAfterStart == false) {
_hls.stream.play();
_clip.dispatch(ClipEventType.SEEK);
_hls.stream.play();
_clip.dispatch(ClipEventType.SEEK);
if (_pauseAfterStart) {
_hls.stream.pause();
}
};

Expand Down Expand Up @@ -155,7 +156,7 @@ package org.mangui.flowplayer {
};

/**
* Starts loading the specivied clip. Once video data is available the provider
* Starts loading the specified clip. Once video data is available the provider
* must set it to the clip using <code>clip.setContent()</code>. Typically the video
* object passed to the clip is an instance of <a href="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/media/Video.html">flash.media.Video</a>.
*
Expand Down

0 comments on commit 8b99439

Please sign in to comment.