This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Flash Site Design > August 2006 > Video Listing Question
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Video Listing Question
|
|
| Joe Pau 2006-08-03, 6:37 pm |
| I've got an flv file and a skin set up on a document in Dreamweaver , what is
the html/css to create an list of other videos that could be played in the same
player inserted on this document or does flash have to open a new window.
Please help the newbie. Thanks.
| |
|
| Hi Joe
If your links are on the html page it is totally possible and I often
prefer it that way but it is tricky if you are not familiar with
Javascript...
1. First off I include my swf using SWFOBJECT:
http://blog.deconcept.com/swfobject/
and this is what I use where the swf will go:
<script language="javascript" type="text/javascript">
var so = new SWFObject("movie_3.swf", "player_flash", "396", "297", "8",
"#060C29");
so.write("player");
</script>
2. Then you need a function kind of like this in your html file:
function changeMovie(_movie){
var so = new SWFObject(_movie, "player_flash", "396", "297", "8",
"#060C29");
so.write("player");
}
3. Create a swf file with using the same skin for each vide and name
them whatever like movie1.swf etc..
4. To have the swf swap with the new one place this code on your link
<a href="java script:;" onclick="changeMovie('movie_4.swf')">Life's a
Beach</a>
This is what we used on this site:
http://www.businessmigration.com.au/see.php
| |
| Eirehotspur 2006-08-17, 6:23 pm |
| This is something I have been looking for quiet a while.
Is there a comprehensive tutorial on doing these sort of Video Listings with
Flash or indeed all the media players for a Video Clip website I need to do.
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|