Skip to main content
Participant
July 18, 2006
Answered

Application method needed

  • July 18, 2006
  • 1 reply
  • 210 views
I am building a video page that will be called by several other pages containing hotspots pointing to a single instance of flvplayer. The problem I am running into is that in dreamweaver when you place an instance on the page it hardwrites the streamname of the file while I would very much like for it to be passed from the calling url.

I am playing with php to bind the arg, but it seems like a lot of trouble for simple internal communication.

JJEK
This topic has been closed for replies.
Correct answer JJEK
Created a php page with mysql, stored the pathnames in a table with an indexed keyfield, passed the key in the url from the calling page, bound the url get variable in the php page and used the key in the php page to query the database for the proper path to the flv file, replaced the static streamName parameter in the flv player component with the variable pathname returned from the query.

It would seem like a good upgrade to allow table components (either in a hidden page form or a dynamic dataset) to be selected as the path for the source file).

I have also coded error handling just in case file managment issues arise and the file path cannot be found or is not correct.

Thanks for the help.

JJE

1 reply

JJEKAuthorCorrect answer
Participant
August 4, 2006
Created a php page with mysql, stored the pathnames in a table with an indexed keyfield, passed the key in the url from the calling page, bound the url get variable in the php page and used the key in the php page to query the database for the proper path to the flv file, replaced the static streamName parameter in the flv player component with the variable pathname returned from the query.

It would seem like a good upgrade to allow table components (either in a hidden page form or a dynamic dataset) to be selected as the path for the source file).

I have also coded error handling just in case file managment issues arise and the file path cannot be found or is not correct.

Thanks for the help.

JJE