![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I've got an embedded object definition, like OBJECT id='mediaPlayer' width="480" height="360" classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95' codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701' standby='Loading Microsoft Windows Media Player components...' type='application/x-oleobject' param name='fileName' value="Mymovie.mpg" ... I'm wondering whether I can 'call' some javascript to enable me to generate the required parameter value for the filename parameter. So, instead of being hardcoded to say "Mymovie.mpg", I'd like to call a javascript function or directly use a variable that returns the string from the URL?name=movie.mpg parameter. I've already got the javascript working to set a variable named qsParm[0] to "movie.mpg" That way I can call the same file from different URL's and simply specify the file name to be played in the URL, rather than have loads of separate html files for each. Can someone tell me whether this is possible as described? I can't do PHP etc. Thanks! Pascal |
![]() |
| Thread Tools | |
| Display Modes | |
| |