The answer to your IT questions
 

Advanced search  • Search tips
My QUESTIONS & ANSWERS
 Question:

Preloader for SWF, SWF player free, any ideas?

User Asked by: james73
Published on: 09:13/25.05.2008
Status: OPEN
I have swf and I want to convert it to nice player like youtube with preloader and play and stop buttons. I want to download something for free. any ideas?
 Answers: 1
Sort by: /\ date | rating
Image Answer by: xpert
Posted on: 09:13/25.05.2008
Rating: 1 from possible 5 with 1 votes
Download FLV, SWF media player at:
http://www.jeroenwijering.com/?item=LongTail_Video

Then add needed files to your project:
mediaplayer.swf
swfobject.js

and in your HTML code add this:


<div id="container"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</div>
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
	var s1 = new SWFObject("mediaplayer.swf","mediaplayer","300","185","8");
	s1.addParam("allowfullscreen","true");
	s1.addVariable("width","300");
	s1.addVariable("height","185");
	s1.addVariable("file","video.flv");
	s1.write("container");
</script>

Vote:

Please vote! Your opinion matters!
If you haven't found what you've looking for, post a question
  
| Home | Hall of fame | Register | Log in | Terms of service | Help | Contacts |