Getting a dynamic file name

Issues related to playing with Flash Player

Getting a dynamic file name

Postby Savaries » Thu Jan 24, 2013 10:33 pm

I am trying to make it so I can get a file name from a query string and have it play that movie. I dont seem to know how to actually go from setting the querystring on the page before to making the code read and accept it. I have tried several things but none work.

What I am wanting to do is this.
Page 1
Video 1 url /player.html?
Video 2 url /player.html?

Player page
'rtmp' : 'rtmp://'+QueryString('vid_id')

The function i tried above gives an error and the other methods i tried have failed as well. What is the best way to take a querystring and update the rtmp section so the video will play.

Thanks for the help.
Posts: 0
Joined: Mon Jun 25, 2012 6:15 pm

Re: Getting a dynamic file name

Postby admin » Fri Jan 25, 2013 9:28 am

This is really a web development question; whatever you use, php or, you need to find out how to do this thing in your language.
You are passing this parameter (video=) to your web server ; it needs to query this parameter and code it to the page that it returns to client's browser.
Site Admin
Posts: 1042
Joined: Fri Aug 21, 2009 10:13 am

Return to Playing with Flash Player

Who is online

Users browsing this forum: No registered users and 0 guests