Lone: <Embed> mit Javascript steuern

Beitrag lesen

Hallo wahsaga,

was ist mit dem verlinkten tipp?
auch ausprobiert?
ergebnis?

habe ich wie folgt ausprobiert, klappt aber auch nicht:

<!-- Create an INPUT control to get a file path from the user. -->
<INPUT Type = "TEXT" ID = "inputURL">

<!-- Create a BUTTON control to execute the script. -->
<INPUT  Type = "BUTTON"  ID = "openMedia"  VALUE = "Open Media"
    onClick = "
        /* Specify the URL obtained from user input. */
        document.embeds['Video'].URL = inputURL.value;

/* Start the Player. */
        document.embeds['Video'].controls.play();
">

Das document.embeds['Video'] habe ich auch mit nur "Video." probiert.

Übrigens scheint firefox ein Anzeigeproblem zu haben. Den im Originalposting angegebenen "Stop"-Link auftretenden Bildausfall (Ton läuft weiter) gibt es im IE nicht.

Gruß, Lone.