Commit 9ec3d799 authored by Anssi Piirainen's avatar Anssi Piirainen
Browse files

fixed to show the video also when onBegin misses to fire. Fixes #15.

parent a83c21b4
......@@ -19,7 +19,7 @@ deploy.dir=${site.dir}/content/swf
#
plugin.buildfiles=pseudostreaming/build.xml,controls/build.xml,controls/build-tube.xml,controls/build-air.xml,controls/build-skinless.xml, \
bitrateselect/build.xml,menu/build.xml,bwcheck/build.xml,viralvideos/build.xml,sharing/build.xml
bitrateselect/build.xml,menu/build.xml,bwcheck/build.xml,viralvideos/build.xml,sharing/build.xml,bwcheck/build-httpstreaming.xml
#plugin.buildfiles=analytics/build.xml,audio/build.xml,bwcheck/build.xml,bwcheck/build-httpstreaming.xml \
# captions/build.xml,content/build.xml,controls/build.xml,controls/build-tube.xml,controls/build-air.xml,controls/build-skinless.xml, \
......
......@@ -51,15 +51,11 @@ package org.flowplayer.controller {
//allow for chromeless swf video players to be added into the filter
return clip.type == ClipType.VIDEO || clip.type == ClipType.AUDIO || clip.type == ClipType.API;
};
playlist.onBegin(onBegin, filter, true);
// commenting these out for now. To fix this: http://code.google.com/p/flowplayer-core/issues/detail?id=204
// we will see in testing if this causes trouble :-)
// playlist.onBufferFull(onBegin, filter, true);
// playlist.onStart(onBegin, filter, true);
playlist.onBegin(initContent, filter, true);
playlist.onStart(initContent, filter, true);
}
private function onBegin(event:ClipEvent):void {
private function initContent(event:ClipEvent):void {
var clip:Clip = event.target as Clip;
log.info("onBegin, initializing content for clip " + clip);
var video:DisplayObject = clip.getContent();
......
Version history:
3.2.9
-----
- #15 add cache busting to the file being checked for availability to play back correctly once resolving has completed.
3.2.4
-----
- #601 dispatch resolver failure correctly.
......
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