View Full Version : Playing .mp4 file in flash player
mdoubledragon
14th June 2008, 17:22
Hi Guys,
How do I play .mp4 files I encoded with H.264 and AAC in Flash Player 9. I downloaded and installed the latest RPM on my Linux machine but pasting the file location in Firefox gives me the "Save As.." option. I don't want to use any third party FLV player.
smok3
14th June 2008, 17:36
you need to use 3rd party player + all the code to embed it into some page (or make one yourself).
Dark Shikari
14th June 2008, 17:45
Hi Guys,
How do I play .mp4 files I encoded with H.264 and AAC in Flash Player 9. I downloaded and installed the latest RPM on my Linux machine but pasting the file location in Firefox gives me the "Save As.." option. I don't want to use any third party FLV player.Use something like the JW Media Player (a Flash-based player). Here's a browser-embedded example (http://mirror05.x264.nl/Dark/Flash/index_lowbitrate.html).
mdoubledragon
15th June 2008, 11:55
Well that sucks! When I found out that Flash Player 9 had gained support for H.264 and AAC in latest release, I was glad that finally I could send content to clients in H.264 and AAC without worrying about how they are going to play that as almost everyone has FlashPlayer installed on their systems.
Is it necessary that the page that contains the embedding code is served through a webserver or can it be a static file. If yes, then may be I could modify the page so that it accesses demo video files from a subfolder and package everything into a zip file for distribution.
smok3
15th June 2008, 13:13
i don't understand the question, maybe better explain what would you want to do? (The easiest way is most probably using a web server..., what is the problem with that?)
Dark Shikari
15th June 2008, 15:07
Well that sucks! When I found out that Flash Player 9 had gained support for H.264 and AAC in latest release, I was glad that finally I could send content to clients in H.264 and AAC without worrying about how they are going to play that as almost everyone has FlashPlayer installed on their systems.
Is it necessary that the page that contains the embedding code is served through a webserver or can it be a static file. If yes, then may be I could modify the page so that it accesses demo video files from a subfolder and package everything into a zip file for distribution.Its how its always been; nothing has changed, Flash isn't meant to be a replacement for standalone media players. You can trivially play a video in the browser, and that's what its meant to do.
I'm guessing you could probably design some standalone app to use flash to play videos client-side, but why you would want to... I'm not really sure.
LoRd_MuldeR
15th June 2008, 17:39
If you need a standalone app to play MP4 files, why not use MPlayer? It's OpenSouce and cross-platform :)
You can either use one of the existing front-ends (SMPlayer, MPUI, etc.) or you can easily create your own front-end.
Also there is VLC Media Player as an alternative...
Nevertheless you prefer Flashplayer, you could simply embed a HTML doc into your app (for exmaple via IE) and load the Flashplayer there.
The HTML code could be generated dynamically by your app and load a local MP4 file for playback.
Alternatively your app could only generate the required HTML code and then open the HTML doc with the default browser...
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.