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.

Similar Messages

  • I can't get adobe flash to play games what do I need to do?

    I can't get adobe flash to play games what do I need to do?

    What is your operating system, version & edition?
    What is your web browser?
    I don't understand "can't"; what exactly happens when you try?

  • I need an answer from a person. What do I have to do to get Adobe Flash?

    I am not computer savvy and I am getting frustrated because the reason I downloaded firefox was to get Adobe Flash. Argggg!
    What can you do to help me get it? I am caught in the endless loop of computer answers and I need a live person to tell me what to do.

    You can just look up Adobe or AdobeFlashPlayer. Just make sure it's from official Adobe site. I'm pretty new at personal computing, too. So much to learn! Don't get too frustrated!

  • Need Help for Embed Tag to playing all type of video files in any browser

    Hai,
    I am using the following Embed Tag for playing video files in Browsers.
    <OBJECT
    ID="mediaPlayer"
    CLASSID= "clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
    CODEBASE= "http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
    TYPE="application/x-oleobject"
    STANDBY="Loading media player components..."
    HEIGHT="200" WIDTH="250">
    <PARAM NAME="showcontrols" VALUE="true">
    <PARAM NAME="autostart" VALUE="false">
    <PARAM NAME="loop" VALUE="false">
    <PARAM NAME="filename" VALUE="photo/video/<%=category%>/<%=image.elementAt(i*4+1)%>">
    <EMBED TYPE="video/x-msvideo"
    STANDBY="Loading media player components�"
    CONTROLLER="true"
    CONTROLS="ImageWindow,ControlPanel"
    SHOWCONTROLS="true"
    AUTOSTART="false"
    HEIGHT="200" WIDTH="250"
    SRC="photo/video/<%=category%>/<%=image.elementAt(i*4+1)%>" >
    </OBJECT>
    But this Embed Tag does not playing such type of video files(ex: *.flv, *.mov, *.avi etc.,)
    i need to play all types of video files using the Embed Tag.
    Can anyone please help me for this.
    Edited by: devtamil on Oct 3, 2007 12:27 PM

    Hi,
    Im having a similar problem and i was wondering if you were able to get a solution??
    Thanks for your help.

  • I need to get Adobe flash for my kindle fire

    Is there a free version o's Adobe flash player for kindle fire hd

    Flash Player no longer comes built-in on the new Kindle Fire second generation or the Kindle Fire HD (they are released in September 2012). Adobe is making Flash obsolete, so it's no longer on any new tablets or mobile devices.
    There's a good workaround to make Flash work on the Kindle Fire, however. See here for the details:
    http://budurl.com/KindleFireFlash
    You need to install the "1 mobile market" from here http://www.1mobile.com/app/market/. Then install the Dolphin Browser from the "1 mobile market." Then install adobe flash from here for the Kindle Fire HD http://www.mediafire.com/?33ew28ztmlar44e and here for the regular Kindle Fire http://www.mediafire.com/?ktt26yv3j6jt1iv.
    Hope that helps.

  • Need to get Adobe flash or equlivant on to my iPad 3 can you help?

    I have been instructed by an on line course for my series 65 lic. To download The latest version of Adobe, but I keep getting that it is not made for my device. It rolls over to Adobe Systems Adobe Photoshop Touch for 9.99. When I try to download it gives me an unknown error.   Can sone one help me?

    Hi Bill,
    It might be possible that some of the content for taking the course is in a Flash format which is not supported on Apple mobile devices (like an iPad3). If this is the case, you may need to complete the course on a device that does support Flash content such as a computer or Android tablet. I don't know this for sure (pure speculation) but that kind of sounds like what is happening based on your description. Photoshop Touch is an image editing application, similar to what Photoshop or Photoshop Elements is on a computer. I would recommend contacting the instructor for the online course. You might need to take the course on some kind of different device.
    -Dave

  • How do I get adobe flash to play on galaxy s4.

    Adobe flash on galaxy s4

    See the [[How do I watch Flash videos with Firefox for Android?]] article.

  • How do I get Adobe Flash to play M4V files?

    I have just downloaded and installed version 9.0.115.0 and I
    can't find it (the program file) in order to "associate" M4V files
    with it. Okay, I thought that it may perhaps have embedded itself
    in Firefox so I tried to play a M4V file (which is on my hard disc)
    using Firefox but to no avail.
    I'm sure there is an embarrassingly simple solution!

    JohnSkliros,
    >I have just downloaded and installed version 9.0.115.0
    and
    > I can't find it (the program file) in order to
    "associate" M4V
    > files with it.
    It sounds like you upgraded Flash Player, isn't an
    exectuable file you
    can easily find. It's a plugin or ActiveX control, which
    means it's
    intended to be run inside (to be run by) your browser. In a
    sense, your
    browser is that executable, and Flash Player is a tool the
    browser uses to
    display things.
    > I tried to play a M4V file (which is on my hard disc)
    using
    > Firefox but to no avail.
    Yeah, that makes sense, actually. The updated Flash Player
    doesn't play
    M4V files directly. Instead, it allows Flash programmers to
    display M4V
    files by way of something called the FLVPlayback component,
    or by a
    combination of the Video, NetConnection, and NetStream
    classes. As a media
    player, the Flash plugin still only plays SWF files (normal
    Flash content).
    That Flash content might, in turn, display JPGs, GIFs, PNGs,
    vector art,
    fonts, and now a wider variety of video files, but you can't
    just drag these
    files into Flash Player and see them.
    David Stiller
    Contributor, How to Cheat in Flash CS3
    http://tinyurl.com/2cp6na
    "Luck is the residue of good design."

  • What html code will start an EXE (program) with a click on a webpage link?

    The code in bold below worked. After I switched my browser from IE 11 to Firefox to get the hover on hotspots to work, the program gave me this error message. I moved the EXE file to my local file folder and tried it as shown below. Still no success. Any suggestions?
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>Family Tree Charts</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><style type="text/css">
    <!--
    body,td,th {
        color: #000;
    -->
    </style></head>
    <body link=blue vlink=blue>
    <table width="100%" height="25" border="0" cellpadding="4" cellspacing="0">
      <tr>
        <td width="93%" height="27" bgcolor="#EFEFEF"> <div align="center"><font color="#999999">
        <b>This Software Allows You To Review Neat Charts of Your Family Tree </b></font></div></td>
        <td width="7%" bgcolor="#CCFFFF"> <div align="center"><A href="Mementos_Menu.html"><font size="2">Back</font></a></div></td>
      </tr>
    </table><BR><center>
    <br>
    <FONT color=#ff00ff><strong>Click the link below to download a special software program for your PC.</strong></FONT><br>
    <br>
    <a href="http://jdmcox.com/"><strong>Cox Website</strong></a><br><br>
    <strong>ITEM 1</strong> (AT THIS  WEBSITE) IS  THE <strong>FAMILY TREE CHART</strong> PROGRAM.<br>
    It is called <strong>Simple Family Tree</strong><br>
    <table width="80%" border="2" cellspacing="2" cellpadding="2">
      <tr>
        <td width="49%" align="left" valign="top"><FONT color=#ff00ff><strong>Click the link below to use this special software program after you download and install the program.</strong></FONT><br>
    <br>
    <!--<a href="C:\Program Files (x86)\Simple Family Tree\Simple Family Tree.exe"><strong>Family Tree Charts Program by Doug Cox</strong></a><br><FONT color=#ff00ff>
    -->
    <a href="C:\Users\Tom and Polly\Documents\Genealogy CD\Simple Family Tree\Simple Family Tree.exe"><b>Family Tree Charts Program</b></a><br><br>
    <FONT color=#ff00ff><strong>Click  the &quot;run&quot; button for both warning messages.<br>
    Click the &quot;READ THIS!&quot; menu option when the program opens.<br>
    Click  "X" in the upper right to close the program.<br><br>
    You can update the family data in future years with this program too.</strong></FONT>
    <br></td>
        <td width="51%" align="left" valign="top"><FONT color=#ff00ff><strong>NOTE 1: Be sure your HTML code for this webpage has a proper line to link to the location where the software was installed. You can use NOTEPAD to make HTML code changes. My existing line is: </strong></FONT><br>
          "c:\<u>program files (x86)</u>\simple family tree\simple family tree.exe"<br><br>
          <FONT color=#ff00ff><strong>The underlined portion will need to agree with where the program was installed. Just change the directory (see underlined sample above). Good luck. If I am still living, call me.<br><br>
          NOTE 2: After you download, install, and try to use the program, you may get an error message window that looks like this -&quot;0 FAMS @F191 @ FAM&quot;. This means you have an individual record in your GEDCOM file that does not have a parent. Be sure all GEDCOM records have at least one parent even if you must name the parent UNKNOWN.</strong></FONT></td>
      </tr>
    </table>
    <br></center> 
    <table width="100%" border="0" cellpadding="2" cellspacing="0" bgcolor="#CCCCCC">
        <tr>
          <td bgcolor="#EFEFEF"> <font size="2">&copy;2002 Sales and People</font></td>
        </tr>
    </table></body>
    </html>

    Herbert:
    Here is my latest code attempt, but I get messages about the lines in BOLD that I do not understand.
    Perhaps you will see what I need to fix. Sure appreciate what you have found and shared with such a neophyte (aka dumbo).
    Tom
    <!--
    body,td,th
    -->
    function RunExe(path) {
    try {
    var ua = navigator.userAgent.toLowerCase();
    if (ua.indexOf("msie") != -1) {
    MyObject = new ActiveXObject("WScript.Shell")
    MyObject.Run(path);
    } else {
    netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
    var exe = window.Components.classes['@mozilla.org/file/local;1'].createInstance(Components.interfaces.nsILocalFile);
    exe.initWithPath(path);
    var run = window.Components.classes['@mozilla.org/process/util;1'].createInstance(Components.inteinterfaces.nsIProcess);
    run.init(exe);
    var parameters = ["/c start Simple Family Tree.exe"];
    run.run(false, parameters, parameters.length);
    } catch (ex) {
    alert(ex.toString());
    This Software Allows You To Review Neat Charts of Your Family Tree
    Back
    Click the link below to download a special software program for your PC and your GED file.
    *Cox Website*
    ITEM 1 (AT HIS  WEBSITE) IS  HIS FAMILY TREE CHART PROGRAM.
    It is called Simple Family Tree
    Click the link below to look at my GEDCOM file contents.<br>Instructions are provided in the READ THIS menu option at the top of the window.
      *Show Yarnall Chart*
    *Return to this webpage by clicking on the backarrow after looking at the chart.
    You can update the family data in future years with this program too.*
    ©2002 Sales and People
    Date: Thu, 2 Jan 2014 02:09:18 -0800
    From: [email protected]
    To: [email protected]
    Subject: What html code will start an EXE (program) with a click on a webpage link?
        Re: What html code will start an EXE (program) with a click on a webpage link?
        created by Herbert2001 in Dreamweaver support forum - View the full discussion
    Perhaps this might be helpful:
    https://addons.mozilla.org/en-US/firefox/addon/opendownload-10902/
    It allows executables in Firefox to be run - it is an extenstion, though, so it must be installed in Firefox before your page will work.
    Another option is this solution, but it will still require a manual change in Firefox:
    http://forums.mozillazine.org/viewtopic.php?f=19&t=803615
    Or this: http://stackoverflow.com/questions/6472435/running-exe-in-firefox-why- do-i-get-an-error
    However, you will still have problems with getting it to work cross-browser. Honestly, browsers are not supposed to have access like that to the client side file system, which absolutely makes sense for the web.
    That is why you may have to approach the solution from a different angle - perhaps create a server side cloud version of your application(s) which can be easily accessed and run by your family members. I believe you used C to develop the applications? Although I have no experience with this framework, Wt might be a solution to convert your projects to server side applications:
    http://www.webtoolkit.eu/wt
    Good luck!
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5972893#5972893
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5972893#5972893
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5972893#5972893. In the Actions box on the right, click the Stop Email Notifications link.
               Start a new discussion in Dreamweaver support forum at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • What system requirement do i need to get os x lion?

    what system requirement do i need to get os x lion? i got mac os x 10.4.11 right now

    Well the primary reason is because it's what Apple recommends. When users vary from the manufacturers solutions is when they have problems. Apple makes it very clear what the system requirments are when they publish:
    General requirements
    Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7, or Xeon processor
    2GB of memory
    OS X v10.6.6 or later (v10.6.8 recommended)
    7GB of available space
    Some features require an Apple ID; terms apply.

  • If I get the Apple Universal Dock , what cable do I then need to get video from the dock to my HDTV . What about audio ?

    If I get the Apple Universal Dock , what cable do I then need to get video to my HDTV ? What about the audio portion ?

    OK, so that part is correct. Then, do I just hookup and it automatically goes onto my computer? What will capture it, or will it simply show on my desktop and I need to open it with...what?

  • What can i do to fix the following : You may need an additional audio decoder to play the soundtrack of this file. This file contains a track in the Dolby AC3 Audio (code "8192") format. You may need to install a DirectShow decoder for this audio format i

    You may need an additional audio decoder to play the soundtrack of this file.
    This file contains a track in the Dolby AC3 Audio (code "8192") format. You may need to install a DirectShow decoder for this audio format in order to hear the soundtrack of this file.

    Luckily, there are DOZENS of video/media players and extensions avaliable for the Mac. Many of them are FREE, some of the better FREE ones are...
    PERIAN (quicktime extension)
    http://perian.org/
    QUICKTIME 7.6.6
    http://support.apple.com/kb/DL923
    VLC media player
    http://www.videolan.org/vlc/
    NICEPLAYER
    https://code.google.com/p/niceplayer/
    And if none of those work, there is a possibility that those video files may be corrupted.

  • I  used to have an OLD Photoshop cd but it has been lost and my program is no longer on cd. I talked with some photographer friends and this is what one of them told me to get: Adobe Photoshop Lightroom and CS CC... HELP please?

    I  used to have an OLD Photoshop cd but it has been lost and my program is no longer on cd. I talked with some photographer friends and this is what one of them told me to get: Adobe Photoshop Lightroom and CS CC... HELP please?

    If you still have your serial number, look at OLDER previous versions http://www.adobe.com/downloads/other-downloads.html
    Otherwise, the US$ 9.99 plan is what is current at Cloud Plans https://creative.adobe.com/plans

  • I have Windows XP 32 bit and can not get Adobe flash player to load!!! Do not know what version I ha

    I have
    Windows XP, 32 bit and can not get the flash player to load
    . Do not know what version I had to start with. When I
    try to load the 10.3 version it gets to 50% then tells me
    to close the Internet explorer and bartshel!
    If i do this then there is nothing left to load.
    I tried to save it to my desktop but then itt says no active thread foun
    d. How do I load it without my Internet being open and a
    dobe site up and running when it tells me to close them?

    Thanks the address you gave me gave me what I needed but still had alot of trouble with the game. Come to find out it was my browser IE8 that was causing all the problem. So I changed to google chrome and loaded the regular version of Flash player and have been able to get on the game. Now i have trouble with my plugins can you send me a link to find Adobe flash player plugin 9.0.124.0?
    Date: Tue, 6 Sep 2011 19:39:16 -0600
    From: [email protected]
    To: [email protected]
    Subject: I have Windows XP 32 bit and can not get Adobe flash player to load!!! Do not know what version I ha
    Hi,
    Could you download the appropriate version of the installer from the following page?
    http://forums.adobe.com/thread/889580?tstart=0
    Once downloaded, please quit all of your browsers and launch the installer.  If it still fails, please restart your system and try again.  Let me know how it goes.
    Thanks,
    Chris
    >

  • I need help getting past the installation error "windows cannot fint TEMP file"

    I need help getting past the installation error "windows cannot find TEMP file"

    Seems like some who have tried two devices on the JMICRON IDE port have had trouble. Try without the hard drive and see if you get that error. If that is the case I would try a PATA to SATA converter for your hard drive and connect it to one of the Intel SATA Ports.
    http://www.newegg.com/Product/Product.aspx?Item=N82E16812107112
    http://www.amazon.com/ADDONICS-IDE-SERIAL-CONVERTER-ADIDESA/dp/B000090169
    http://www.compusa.com/products/product_info.asp?product_code=339900#ts
    http://www.xpcgear.com/ide2sata.html
    http://www.ubuyitdirect.com/-p-1045.html?currency=USD
    http://www.satasite.com/sata-ide-converter.htm
    http://www.pcgears.com/default.aspx?oid=187150
     

Maybe you are looking for

  • Efi update 2.5 does not apply

    I cannot apply the MacBook Pro EFI update 2.5, and now the SMC update. The updater tells me they are available, but after restarting, I see they have not been applied, and the updater agrees, and tells me they are still available. When the computer r

  • How can I see my kids texts without them seeing mine?

    I would like to know how I can see my childrens texts and they not see mine? I have an iPhone 5 and they have 4th generation iPod touches.

  • STO -  ERROR IN ME21N  - sadhu kishore , ayub .

    HI ALL , WHILE trying to transfer stock between  2 plants in different copmany codes , in ME21N  the system is unable to recognise the IMG config , thou all is fine .   can any one pl guide ? pl do guide with reg to  stock between  2 plants in differ

  • To get Fiscal period based on Fiscal Year

    Hi Guys,            Can anybody tell me how to get Fiscal period based on Fiscal Year? Thanks, Arpan

  • Converting fmb to txt

    Hi I have around 200 forms modules and would like to convert all of them in one shot to txt files so i can search for a phrase. I understand we can do it thru form designer conver binary to text option but that I have to do one by one. Is there any b