M
Martin
Hi,
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
somehow?
Martin.
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
somehow?
Martin.