Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
December 15, 2003, 8:29 pm
rate this thread
Does anyone know how to dynamically (client side) change the source for an
embedded object? I am offering a list with media files (mpg, wav) and I want
the file the user selects to be played in the embedded media player. What
happens is that only the initially set media file (in the SRC attribute of
the EMBED element) is played. Onwards it doesn't matter what I assign to the
SRC attribute, only the initial file will play.
I use the OnChange event of the SELECT element to trigger a function that
sets the SRC attribute of the EMBED element. This seems to work as an alert
shows but it doesn't reach the Media Player. Should I kick the EMBED element
Re: EMBED element - dynamically changing SRC attribute
Depends on the embedded object. If it is Microsoft Media player, then
set to true, then it will change.
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — The site's Newest Thread. Posted in » Secure Shell Forum