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

Your preferred username that is used when logging in.

pass url params without lightspeed pseudostreaming Created Oct 17, 2009

This thread is solved

Views: 771     Replies: 5     Last reply Nov 10, 2009  
You must login first before you can use this feature

jb123

Posts: 31

Registered:
Oct 16, 2009

pass url params without lightspeed pseudostreaming

Posted: Oct 17, 2009

Hello,

I've read all of the posts that deal with passing querystring params and don't see a clear answer how to do this - maybe I'm tired :)

I am using PHP, Apache and IE 8.0 to test. I am not using lightspeed pseudostreaming. I will be passing in 2-3 params and have used a hard-coded param for testing and have confirmed my current configuration is not passing the params via Flowplayer to my PHP page that will process the params.

I read in the posts that using the lightspeed pseudosteraming plugin, passing in the Start param and escaping the querystring are needed but I haven't been able to make this work. I haven't tried to install the lightspeed plugin because it doesn't make sense that I need to use that plugin to pass params since I'm not using lightspeed or pseudostreaming.

Thanks for your help!

Cheers,
-JB

jb123

Posts: 31

Registered:
Oct 16, 2009

» pass url params without lightspeed pseudostreaming

Posted: Oct 17, 2009

Reply to: pass url params without lightspeed pseudostreaming, from jb123
I'm tired from trying to get this to work ! :)

Here's my relevant code that I didn't attach to my post.

I really like Flowplayer and realize you guys have put and are putting a tremendous amount of great work into it. Thanks!
-JB

flowplayer("player", http://www.foo.com/flowplayer-3.1.3.swf",
{
clip: {
autoPlay: true,
autoBuffering: true,
baseUrl: 'http://www.foo.com/pages/',
url: 'play.php',
queryString: escape('?start=${start}&vid=100'),
scaling: 'scale'
}
}
);

jb123

Posts: 31

Registered:
Oct 16, 2009

(Solved) pass url params without lightspeed pseudostreaming

Posted: Oct 19, 2009

Reply to: » pass url params without lightspeed pseudostreaming, from jb123
Hi all,

I didn't receive any suggestions so I took another crack at this and found the solution.

The symbols "?" "&" "=" need to be escaped and that can be done when passing your URL and paramaters to Flowplayer's url: property as indicated below.

(the fix)
url: escape('play.php?vid=' + myParam1),

I removed the queryString property from my code as it is improper to use it in my situation.

(removed this)
queryString: escape('?start=${start}&vid=100'),

flowplayer("player",http://www.foo.com/flowplayer-3.1.3.swf",
{
clip: {
autoPlay: true,
autoBuffering: true,
baseUrl: 'http://www.foo.com/pages/',
url: escape('play.php?vid=' + myParam1),
scaling: 'scale'
}
}
);

This solution works for me. If the Flowplayer team agrees this is the correct approach I suggest it be added to the documentation because (unless I missed it) it doesn't appear to be documented how to pass querystring params in this circumstance.

Cheers,
-JB

spinhead
Business Heretic

Posts: 15

Registered:
Sep 28, 2009

» (Solved) pass url params without lightspeed pseudostreaming

Posted: Oct 19, 2009

Reply to: (Solved) pass url params without lightspeed pseudostreaming, from jb123
As posted in another thread, here's the solution I found; complete code, with a walkthrough

http://72.9.251.146/~bizbacom/code/secure_s3.php

jb123

Posts: 31

Registered:
Oct 16, 2009

» » (Solved) pass url params without lightspeed pseudostreaming

Posted: Oct 19, 2009

Reply to: » (Solved) pass url params without lightspeed pseudostreaming, from spinhead
Thanks! Your solution rocks!

-Jb

narko

Posts: 5

Registered:
Oct 30, 2009

» » » (Solved) pass url params without lightspeed pseudostreaming

Posted: Nov 10, 2009

Reply to: » » (Solved) pass url params without lightspeed pseudostreaming, from jb123
unfortunately walkthrough is not accessible anymore, can you please repost it somewhere?

thanks a lot in advance!