You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

Forum user: dom23ina

Basic information

Registered Dec 8, 2009
Last login Dec 9, 2009
Forum posts 3
Direct URL http://www.flowplayer.org/forum/users/19905

Latest forum posts

Posts:

Registered:

Having similar problems, but did get Ajax to work using a different method of loading Flowplayer

Posted: Dec 9, 2009

I can load it fine in my standalone page, but when I use the same exact page as an ajax'ed page, it never loads. I've tried multiple configurations, the only way I can get Flowplayer to work using Ajax was to instantiate it using the Object tag. However, the Object tag version of Flowplayer apparently doesn't support events?? So basically my project is screwed unless I can get the js version of Flowplayer to work with ajax. I am very surprised that others have not run into this same problem, if they have, I haven't seen a solution yet.

Posts:

Registered:

Please Help if someone has a better solution!

Posted: Dec 9, 2009

I read that the getEmbedCode works with everything except the events, go figure. That's exactly what I need it to do.

Or

How can I send the event listener instructions through Flashvars? I need to use Flashvars, because it is the only way I can use ajax to load the Flowplayer. Unless, someone has a better way of doing that, then I could use the js method of instantiating a video player.

Does anyone follow me on this or am I spinning my wheels? I can't believe the player doesn't load when I use ajax, and I can't believe there's no way to listen for events with Flashvars. And if there is, the getEmbedCode() does not write it out.

Please help!!!

Posts:

Registered:

getEmbedCode() does not get all of the code. where is the onFinish event handler?

Posted: Dec 9, 2009

I have a simple setup where I am using the Object method to embed the Flowplayer. I am using the Object method of embedding the player, because it is the only way I can get the player to load on my site using an ajax call.

That being said.. I am using the following line of code to get the generated Object HTML.

var code = $f().embed().getEmbedCode();

However, it does not generate all of the code I am using to load my Flowplayer. Here is my Flowplayer code:

$f("player20", "flowplayer-3.1.5.swf", {         
		log: { level: 'debug', filter: 'org.flowplayer.akamai.*, org.flowplayer.rtmp.*' },          
		
		plugins: {                  
			   akamai: { url: 'flowplayer.akamai-3.1.3.swf' },         
			   rtmp: { url: 'flowplayer.rtmp-3.1.3.swf' }     
			   },         
			   
		// make our clip use the akamai and rtmp plugins     
		clip: { provider: 'rtmp' },
	
		onFinish: function(){
			//alert();
			displaySlideshow("slideshow_Homepage_AJAX.cfm");
		}
	
	});
// get the embedding code 
// var code = $f().embed().getEmbedCode(); 
// document.write(code);

As you can see, I have an "onFinish" function. However, the "getEmbedCode()" function does not include this in my Object code. So, how can I fire an onFinish event, if I am loading Flowplayer using Object code?