Can't play the embedded mp4 video in SWF

Hi, I am creating a basic webpage for the first time. I have successfully inserted a SWF flash player in Dreamweaver, however I am unable to play a mp4 video that is embedded in my swf flashplayer within Dreamweaver web page.
Message was edited by: Madalsa Tested and previewed the exported SWF on stand alone basis, there I am able to play the embedded mp4 video.  Any ideas will be appreciated.

I don't mean to impose or anything, but I'm in dire need of help. I've been trying to understand your directions, but to no avail.
I'm trying to get my embedded .mp4 video to play in my .sfw video on my webpage...  I know that  you said that firefox won't play .mp4 vidoes, and recommend converting it into a ogg.
The thing confusing me is that... I'm not sure which file I should be converting here... Infact I did convert the .mp4 into a ogg well actually it's a .ogv(confused here also), but am i suppose to convert the .sfw file as well? And how would I setup it up in your first example(i ask this question again below)
The .mp4 file was 20131122_123440.mp4 , now it's 20131122_123440.ogv and the .swf file is secondtime.swf
This is the coding I have below set up for my website:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
</head>
<body  bgcolor="blue">
<table width="1001" height="420" align="center">
<tr>
<td></br>
<p align="center">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" name="0" width=1000 height=420 align="middle" id=0>
<param name="movie" value="secondtime.swf" />
<param name="menu" value="false" />
<param name="quality" value="high" />
<param name="bgcolor" value="#FFFFFF" />
<embed src="secondtime.swf" menu="false" quality="high" bgcolor="#FFFFFF" width=1000 height=420 name="0" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</td>
</tr>
</table>
</body>
</html>
Now if I was to simply to put it in this example below:
<video controls>
  <source src="foo.mp4" type="video/mp4">
  <source src="foo.ogg" type="video/ogg">
  Your browser does not support the <code>video</code> element.
</video>
How would I be able to get it to work?
Also, I've read that it could be a pathing issue as well.... Because when I run the video as a test from my computer into firefox it plays the flvplayback (which was the .mp4, and maybe I should of mentioned this in the beginning?), and it works fine.. I placed the .html and the .sfw and the .mp4 in the same folder to try to get it to work, but it doesn't work online, and  I noticed that once I put the .mp4 back on my desktop it plays the video fine in the test run fine... Maybe I should put the .ogv file into the folder instead? I don't even know how that would work.
Thank you for taking your time out to read this, I really apprecaite it!!! Sorry for the lack of understanding as well!

Similar Messages

  • What HTML code do I need to get Adobe Flash to play an embedded MP4 video file (8 MB)?

    What HTML code do I need to get Adobe Flash to play an embedded MP4 video file (8 MB)?
    Thanks
    Mark

    Here are a couple of ways, one using the Netstream class and the other using the FLVPlayback component.
    For the NetStream approach, the following in the timeline code will play/loop the intended mp4 file...
         var video:Video;
         var connect_nc:NetConnection = new NetConnection();
         connect_nc.connect(null);
         var stream_ns:NetStream = new NetStream(connect_nc);
         stream_ns.client = this;
         function netStatusHandler(p_evt:NetStatusEvent):void {  
             if (p_evt.info.code == "NetStream.Play.Stop") {
                 stream_ns.seek(0); // to loop the video
         stream_ns.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
         video = new Video();
         addChild(video);
         video.attachNetStream(stream_ns);
         stream_ns.play("path_to/your.mp4");
    For the FLVPlayback component, add it to the stage, give it an instance name ("fp" used below), assign your mp4 file ("path_to/your.mp4") as the source property in the Properties panel, and select the option to autoplay as well.  Place the following code in the timeline...
         fp.addEventListener(Event.COMPLETE, playAgain);
         function playAgain(evt:Event):void {
             fp.play();
    To put the Flash swf file in an html page, in the Publish Settings set it to publish an swf and an html page.  Publish the file an the html page will be created for you.

  • PPT with embedded MP4 videos not being improted as a playable video - how can I make the MP$ play as a video?

    I have a PPT slide presentation that has embedded MP4 videos (captured using SnagIt) in the presentation. When I import and convert, all my PPT slides convert with animations intact, but the videos are not playable and appear only as a 'static' slide.... I'm messing around with the trial version of Captivate hoping it can do what I think it can (like what I just described here) and am trying to cost-justify the purchase of this package to my management team -but I have to make sure it can do what we want it to do first - so far, no good - but I think I'm probably just missing something...any tips or suggestions?

    Hi there
    One way to accomplish your goal would be to use what I call: The Camtasia Approach
    Basically you play the presentation and use Captivate to record it. Camtasia operates that way with PPT.
    Cheers... Rick

  • Embedded MP4 videos not playing in iOS Safari

    Hi everyone,
    I'm having a problem with embedded MP4 videos (e.g. YouTube videos) not playing correctly in Safari. When I try to play one, I get one of two problems:
    1. On my (first gen) iPad, Safari usually crashes.
    2. On my iPhone 4, videos will load but only play audio, not video, though when I tap on the screen the "play" and "pause" symbols appear.
    Has anyone else run into this problem? Or know how to fix it?
    Thanks,
    Mike

    Ok, I fixed it. Go to some embedded Flash video, click to run and then right click to get Global Settings for Flash. Go into Storage and make sure you aren't blocking any data from being stored on your computer. At the very least choose the "ask me" setting. (For good measure I also went into Advanced and clicked to Delete All Data associated with Flash. But when I restored Block for data storage the videos stopped working, so that seems to be the answer.) I'd be interested to hear if this works for others.

  • Can someone help? Adding a playbar to embedded mp4 video and publishing to html 5

    Hi everyone, I am having a hard time finding a solution. I am sure someone MUST have gone through this same challenge.
    We have some lessons we want to convert to html 5.  These lessons have embedded swfs, which we converted to mp4's. The problem now is that the embedded mp4s do not display with a playbar INSIDE of Captivate when we publish to HTML 5.  The videos needs a playbar for users to control what they are seeing on the screen. Any ideas on how I can have the mp4s have a playbar in Captivate?
    Thanks

    Hello,
    Welcome to Adobe Forums.
    This is a known issue with Adobe Captivate 6 and already passed to concerned team.
    Thanks,
    Vikram

  • I can't play the preview videos on iTunes, Quicktime error

    For some reason I can not play the preview videos on iTunes. I can play the videos I have bought allready though. So, when I try to run quicktime outside of iTunes I get this error message.
    "Quicktime failed to intialize. Error # -2096
    Make sure your Quicktime is properly installed on your computer"
    I've tryed uninstalling quicktime and iTunes and reinstalling them both. And I have also tried reinstalling just the Quicktime without redoing the iTunes.
    If someone can please help I would appreciate it. I would love to be able the preview videos and movies on my iTunes.
    Thanks
    Brian
    HP   Windows XP  

    Can someone please help, thanks!

  • When I publish as an .mp4, the embedded .flv videos clip at the end

    I am using Captivate 6.0.1.240. I have .flv videos that were encoded using Adobe Media Encoder from a .mov file. The videos are embedded on the slide, as multi-slide synchronized video, but only distributed across one slide (as strange as this might seem, it is what was recommended to me because using Event Video resulted in choppy video).
    Now, the videos clip off a second or so before the end of the video. There are no transitions on the video slide or on the slide following it. I have tried extending the length of the slide beyond the length of the video, to no avail.
    What am I missing? How do I get the embedded .flv videos to play fully?

    Hi there,
    As you told you have checked that there is no transition on the Slide on which you have the video.
    Have you checked the transition effect on that video, whether Fade out only or fade in and fade out is selected. Select that multi slide video and click on the properties panel and check the transition on it.
    Also, if this video is on the last slide, check the fade in and fade out on the project. (edit > Preferences > Project > start and end)
    Thanks.

  • HT1349 I have downloaded 4 films purchased on my Ipad to my laptop but can only play 1.  The other 3 do not have a screen symbol in the list and are called ie The Lion King - Extras.  How can I play the films?

    I have downloaded 4 films purchased on my Ipad to my laptop but can only play 1.  The other 3 do not have a screen symbol in the list and are called ie The Lion King - Extras.  How can I play the films?

    Hello Bagpus113
    Check out the article below to troubleshooting issues with the sound for music and for videos. One other thing you can try is to convert the songs to a different format
    iTunes and QuickTime for Windows: Audio does not play or plays incorrectly
    http://support.apple.com/kb/TS1362
    Troubleshooting iTunes for Windows Vista or Windows 7 video playback performance issues
    http://support.apple.com/kb/ts1718
    iTunes: How to convert a song to a different file format
    http://support.apple.com/kb/ht1550
    Regards,
    -Norm G.

  • I can't play the supported formats

    Hi all, I am using on jmf to play audio and video. Unfortunately, I am not able to play the supported formats
    e.g .mpg and .avi.
    In the case of .avi, it can't show the video but I can hear the audio.
    please help me anyone with the same problem solved or any advice?

    mukese wrote:
    Hi all, I am using on jmf to play audio and video. Unfortunately, I am not able to play the supported formats
    e.g .mpg and .avi.As far as I understand, most video formats are container formats that might have a number of different encodings. JMF will play some but not others. For example, I have had a number of Kodak cameras which can take MOVs. The first camera made MOVs that were compatible with JMF. The second did not.
    In the case of .avi, it can't show the video but I can hear the audio.
    please help me anyone with the same problem solved or any advice?Can you play the MOV & either of the MPGs available under the [video section|http://pscode.org/media/#video] of the media page at pscode.org? Note that I want two answers to that question - the first a yes/no for the MOV, the second a yes/no for either MPG.
    Those files have been seen to work with JMF.

  • My iPod Touch 3G 32GB from 4.2.1 to 4.3.2 cannot play the audio of videos when it's hold and after clicking Home button twice to play audio of the video,why?

    When I hold down my iPod Touch 3G 32GB with 4.3.2 I can't play the audio of the video neither clicking play when it's hold why?

    It's a limitation from 4.2.1 for iPhone 3GS and iTouch 3G and not for new devices as iPhone 4, iTouch 4G and iPad 2?

  • I can not play any kind of video on my ipad 3 after i installed ios7 please help me

    i can not play any kind of video on my ipad 3 after i installed ios7 please help me

    I had to reset it again and use the desktop software reinstalling the entire basic software. On your desktop blackberry software go to the software up date thoght tools and if there are no newer veresions available, chose the botton for las version and intall it.

  • I can not play the sequence in preview mode. How do I fix this issue?

    Each frame loads in the preview window when highlighted, but I can not play the sequence.

    I am working on a project for school. I have been draging clips down to the timeline and matching it with a few voice overs. Nothing too complex. I have been previewing my work as I go by pressing the space bar, Im not sure what I did but now Premiere will not play the preview in the Program sequence window.

  • Why does iTunes/iPhone 4S insist it can't find a song on my PC or my phone when it is on both? This is resulting in me being unable to use the ringtones I created from these songs, but I can still play the songs.

    OK, so I'm clearly a newb. I thought if I asked a question, it would post, and now I'm being told to post a comment, so I'm asking the same question again. Sorry I sound like an idiot. I'm new to this apple/mac stuff.
    Why does iTunes/iPhone 4S insist it can't find a song on my PC or my phone when it is on both? This is resulting in me being unable to use the ringtones I created from these songs, but I can still play the songs.

    If you have added the ringtone file correctly to iTunes, it will appear under iTunes 'Tones' library.
    If you don't find Tones library in iTunes, go to iTunes menu EDIT/PRFERENCES under GENERAL tab, check the Tones Box under Library source to display Tones library in iTunes.
    iTunes accepts only m4r file as ringtone and has to be less than 40secs.

  • How can I determine the type of video out connector I need?

    Howdy,
    I have a white macbook purchased Jun/2008. I want to connect to a TV but don't know what adapter I need. How can I determine the type of video out jack my macbook has?
    System Profiler says the model identifier is "MacBook 4,1". Under Graphics/Displays the only thing it says about the "Display Connector" is that no display is connected. Too bad it doesn't tell me what type of connector it is. If I knew the name of the connector I'd probably be home free. But it seems like every macbook model has a different video connector (since the state of the art has advanced over the years) and I haven't been able to keep up with the names.
    Now, I have a 6" long adapter that will convert this connector to VGA. And searching the Apple store for VGA adapters, the existence of mine says my connector is might be one of "Mini DisplayPort", "Apple Mini DVI", "Apple DVI", or "Apple Micro-DVI". But then there is also the connector at
    http://store.apple.com/us/product/M8639G/A?mco=MTY3ODQ5OTY
    and that looks like the one I have. But unlike the other adapters, this one is just called a "VGA Display Adapter". Does the connector have a name? How can I find adapters that have that same connector?
    I know I could use the adapter I have, plus a VGA to VGA cable, to hook up to a TV. But the quality of the VGA signal is poor in the digital world. My goal is to hook up to the TV via HDMI. Is this even possible? By which I mean, will my macbook generate the signals necessary to be able to be converted to HDMI?
    Thanks for any help,
    Zebulon T

    Thanks, Ded,
    You're right, the cable that I have won't work. I't from my previous, 2004 iBook. This is pretty embarrassing... I looked at the cable but didn't bother to try plugging it in.
    Looking at the close-up picture of the Mini-DVI to VGA adapter, that does look like the right connector. So I have Mini-DVI, and the other apter you pointed to can convert this to DVI. I'll take a look to see what makes the most sense, connector wise, downstream from that.
    Thanks very much.
    Zeb T

  • How can I play the songs in iTunes on my Android phone?

    I am a new comer to iTunes.  I just purchased a couple of songs from iTunes and it plays correctly on my iMac and iPad.  I have following questions and seeking the answers.
    1.  Are the songs sited on iTunes server and streaming when I play the song?  It requires internet connection to play the songs.  Can I download the songs onto my device to avoid internet connection.
    2.  Can I play the songs on my Android phone?
    3.  I have some songs on my iMac and appears in the iTunes.  How can I sync with my iPad (currently not appear in the iTunes of my iPad)?
    Thanks!

    i guess the existance of an app means that itunes for the iphone cannot alphabatize itself.  that seems a little odd, given the new updates.  do you use this app?  i've gotten used to the functionality of the standard music app, and am curious how this one compares in terms of usage.
    thank you for the link wjosten.

Maybe you are looking for