# How to embed video file in flash?

**URL:** <https://forum.kirupa.com/t/how-to-embed-video-file-in-flash/42465>\
**Category:** flash\
**Created:** [February 9, 2004, 4:46pm UTC](https://forum.kirupa.com/t/how-to-embed-video-file-in-flash/42465 "2004-02-09T16:46:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![EthanCote\_com](https://avatars.discourse-cdn.com/v4/letter/e/9fc348/32.png) [@EthanCote\_com](https://forum.kirupa.com/u/EthanCote_com)\
**Post date:** [February 9, 2004, 4:46pm UTC](https://forum.kirupa.com/t/how-to-embed-video-file-in-flash/42465/1 "2004-02-09T16:46:03Z")

</div>

Hi all,

I need to embed a video file in flash, how do I go about doing this?

What is the best method (keeping file size in mind)?

I have 3 video formats that need to be embedded in flash. They are real player, window media player and quicktime. Do I need to embed all three or can I get away with embedding only one? Reason for all three is to make sure that someone will be able to view it without having to download the player. I imagine, a user will have one of the three already installed on his/her machine.

Please all help on this matter is great appreciated.

Thanks.

Cheerio,

Chi.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 10, 2004, 8:44am UTC](https://forum.kirupa.com/t/how-to-embed-video-file-in-flash/42465/2 "2004-02-10T08:44:59Z")

</div>

If you want to play the movie inside the swf then you have to import just one of them. I suggest the quicktime format.

BUT, if you want the visitors to download the movies and watch them offline, then you don’t need to embed them. Just use 3 links in your movie that open these 3 files in a new window…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 10, 2004, 4:52pm UTC](https://forum.kirupa.com/t/how-to-embed-video-file-in-flash/42465/3 "2004-02-10T16:52:49Z")

</div>

In regard to your comment about viewing videos offline, I need to launch the movies in the flash interface itself.

Any suggestions?

Cheerio,

Chi. :panda:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 11, 2004, 8:37am UTC](https://forum.kirupa.com/t/how-to-embed-video-file-in-flash/42465/4 "2004-02-11T08:37:30Z")

</div>

I don’t get it.

You just have to put links inside the swf which will target movies.  
3 buttons that will open them.

What do you mean by “launch”?  
Something like screenshot or preview maybe?
