Welcome to Dream.In.Code
Become an Expert!

Join 149,594 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,864 people online right now. Registration is fast and FREE... Join Now!




Embed flash video

 
Reply to this topicStart new topic

Embed flash video

electrickjagwire
8 Oct, 2007 - 06:09 PM
Post #1

New D.I.C Head
*

Joined: 10 Sep, 2005
Posts: 23


My Contributions
Wow! It's been more than 2 years sinse i've trolled dreamincode ...I can't believe I remembered my username.

In any event the reason I came here, (What I consider to be the authorative Programming board) is I have a video File. A Flash Video File .FLV and a web site. I need to get the video to play on my site and don't know how... It is particularly long (1hour 15 min) Has anyone done this? Can you help me?


[mod edit] Edited title.
User is offlineProfile CardPM
+Quote Post

Martyr2
RE: Embed Flash Video
8 Oct, 2007 - 09:59 PM
Post #2

Programming Theoretician
Group Icon

Joined: 18 Apr, 2007
Posts: 5,655



Thanked: 313 times
Expert In: C/C++, Java, VB, VB.NET, C#, PHP, Web Development, HTML & CSS, Javascript

My Contributions
Yeah all you need is a flash player and the flv file. I have put a copy of a flash player you can use up on my website. Just right click and click "save as" on the link below.

Free flash player

Then you just need to embed the following code in an html file and put the html, the flv, and the player file you download above in the same folder. Where you see **vid location** you can place a url or just the filename of your flv file.


CODE

<object type="application/x-shockwave-flash" width="400" height="350"

wmode="transparent" data="flvplayer.swf?file=**vid location**&autoStart=true">

<param name="movie" value="flvplayer.swf?file=**vid location**&autoStart=true" />

<param name="wmode" value="transparent" />

</object>


Again, make sure the html page with the code above, the flvplayer.swf and the flv file you want to show are in the same directory of your website. That way it will find all the files. If you don't see it work immediately it is probably because you are missing one of the files or not pointing correctly to the files using their paths.

Enjoy! smile.gif
User is online!Profile CardPM
+Quote Post

electrickjagwire
RE: Embed Flash Video
9 Oct, 2007 - 09:36 AM
Post #3

New D.I.C Head
*

Joined: 10 Sep, 2005
Posts: 23


My Contributions
QUOTE(Martyr2 @ 8 Oct, 2007 - 11:59 PM) *

Yeah all you need is a flash player and the flv file. I have put a copy of a flash player you can use up on my website. Just right click and click "save as" on the link below.

Free flash player

Then you just need to embed the following code in an html file and put the html, the flv, and the player file you download above in the same folder. Where you see **vid location** you can place a url or just the filename of your flv file.


CODE

<object type="application/x-shockwave-flash" width="400" height="350"

wmode="transparent" data="flvplayer.swf?file=**vid location**&autoStart=true">

<param name="movie" value="flvplayer.swf?file=**vid location**&autoStart=true" />

<param name="wmode" value="transparent" />

</object>


Again, make sure the html page with the code above, the flvplayer.swf and the flv file you want to show are in the same directory of your website. That way it will find all the files. If you don't see it work immediately it is probably because you are missing one of the files or not pointing correctly to the files using their paths.

Enjoy! smile.gif


Thank you sooo Much! I knew it had to be more simple than what most every where else was suggesting.... It works briliantly!
Thank you!

User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/7/09 11:17PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month