Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Rotate Source for .mov files.

Status
Not open for further replies.

GWINTO

IS-IT--Management
Nov 26, 2001
188
GB
I am trying to create a window that has links down the left hand side, with each link selecting a new movie (.mov). I want each movie selected to play in the same place in the center of the window, I can do this with still pictures using document.images, but can't seem to find a solution for movies, I've tried using document.embeds but I either haven't got the syntax correct or thats the wrong approach.

Anybody no the solution.... please.

The more you know, the more you realise there is to know....
CCNA MCP
 
typically you should be able to assign your object an id, then access/modify properties via DOM methods, e.g.
Code:
<object id="oMovie" src="path/to/movie.mov" />

<script>
document.getElementById("oMovie").src = "path/to/new.mov";
</script>

=========================================================
-jeff
try { succeed(); } catch(E) { tryAgain(); }
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top