Use an FLV player like:
http://www.longtailvideo.com/players/jw-flv-player/and if you need to
place it with a div tag, use an css id and place it where
you like.
<div id="player">my movie alt here<a href="movie.wmv">Windows Media
File</a></div>
<div align="center">
<script type="text/javascript">
var so = new SWFObject('movie.swf','mpl','470','310','8');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addVariable('width','400');
so.addVariable('height','310');
so.addVariable('file','movie.flv');
so.addVariable('image','movie.jpg');
so.addVariable('autostart','true');
so.write('player');
</script>
</div>
Make sense?
Bob
On Thu, May 14, 2009 at 6:12 PM, Rob <[email protected]> wrote:
> Hey guys,
>
> Completely new to this.
>
> I need to put up a TVC online on one of my websites. I need to link this
> off to a site onclick. Unfortunately i have no idea on how to do this.
>
> Basically im importing the mov file into flash, exported it out (got a flv
> file) then imported the flv file into dreamweaver to get the play pause
> feature, now i need to make the movie click able.
>
> One thought i had was to position a div over the movie making the movie
> click-able. How ever despite me trying to position it absolute it still
> appears behind the movie.
>
> any help would be greatly appreciated
>
> The code looks a bit like this (inline styling just for testing purposes)
>
> <a href="www.awesome.com"><div style="z-index:10000;
> width:500px;height:500px; position:absolute;
> background-color:#FF00FF;"> </div></a>
>
> then after that i have the JS for the movie. i dont put the movie in the
> Div.
>
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
--
You received this because you are subscribed to the "Design the Web with CSS"
at Google groups.
To post: [email protected]
To unsubscribe: [email protected]
-~----------~----~----~----~------~----~------~--~---