Let me get this straight. You want us to HELP you put MORE advertising on the web?
:angry:
If this is not the case, then don't use a pop-up format, or it will be blocked.
Is the user supposed to select a flash file? If so, use a dropdown menu or other selection method, and pass the URL to your JavaScript program.
MidiMagic
Nearly a Senior Poster
3,319 posts since Jan 2007
Reputation Points: 730
Solved Threads: 182
The simplest way is to use an anchor link. Each link can directly call a multimedia video player. Using an anchor link:
<a href="film123.mpg">Movie Number 123</a>
Use one such link for each video file.
But this opens the player by itself in a new window.
It's harder to open the player in a page full of ads.. You need to have some kind of selector to select the proper flash file. It's going to be a dropdown menu, (html select tag), radio buttons (input tag), or some other input device on the html page.
Then you need either an onclick JavaScript function call or a PLAY button telling the JavaScript function to start the video. The selector will provide the url of the flash file in a variable.
The html object tag is used to embed the player in the page.
MidiMagic
Nearly a Senior Poster
3,319 posts since Jan 2007
Reputation Points: 730
Solved Threads: 182