How to show a MPEG4/H.264 video in Flash in an HTML page?

Maybe my title isn't clear. I am hoping someone can shed some
light on the h264 use in flash.
Instead of displaying a progressive download .FLV video , I
am trying to have an MPEG4 /h.264 approx. - a 30meg video display
in flash in an .html page. Quicktime is easy to do, but Flash is my
goal.
I read several articles on h264 and flash 9, including this
adobe
H264 article but was hoping there might be an easier and maybe
quicker solution. I did try renaming the .mp4 extension to .flv in
dreamweaver but it did not display the video. (...unless it was
downloading the video completely before displaying...not sure)
There is a ton of sites, blogs and articles on h.264 and how
flash 9 will display it...but when it comes to how one might
actually have h.264 in flash on their own site...I am finding it
difficult to figure out.
Forgive my lack of action script and Flash knowledge...any
direction is appreciated.
Erick

...well I did follow that article on playing an h264/mpeg4
video in flash. It works well, but how would you add playback
controls?
FLVPlayback component only allows you to source an FLV video
not h264/mpeg4.
This is probably a simple as3 answer...but I am not
knowledgeable on as3 to know what code to add.
Any suggests or direction that I should look would be great.
In the meantime I am researching actionscript 3 to find and anwer.
E.

Similar Messages

  • How do I stop Firefox from playing video after I navigate from the page or leave Firefox?

    Simple and annoying. . Extremely frustrating issue with Firefox for Android. ..
    I watch a YouTube video or any flash video. . And after I hit play, the ONLY way to stop it is to hit pause or let it play to the end or close the tab. .
    It will NOT automatically stop if I open another tab. or if I navigate from Firefox. .
    I feel this is a very basic feature. Did I set something up that was wrong?
    Can I ask two questions?
    I have another extremely annoying and frustrating problem with Firefox for Android.
    The "top" (if you pull down the tabs) search bar DOES NOT allow my stock Samsung keyboard to auto space. . Thus instead of typing
    "How do I stop Firefox from playing video after I navigate from the page or leave Firefox?"
    I'll type in
    "HowdoIstopFirefoxfromplayingvideoafterInavigatefromthepageorleaveFirefox?"
    Unless I manually got the space bar.
    Using a recently factory data reset Samsung Galaxy s4 active.. android 4.2.2 and stock Samsung keyboard ... Firefox 34.0.1
    Thanks in advanced.
    Ps
    I was a hardcore xscope user for years and just recently gave in to Firefox when i lost all my bookmarks due to a forced factory data reset. .

    I'm using a different keyboard which works fine in the most top search bar...
    I cannot believe that it's not a feature.
    What if I was watching a video and wanted to shut it off quickly? I'll have to hit back? Wait for the previous screen to load then hit the power button?
    Please tell me that feature ids soon to come

  • How to take advantage of H.264 video streaming of webcam BCC950

    We used flex 4.6 to develop an web app using Logitech webcam of BCC950, We used Graphedit of Directdraw to know BCC950 has pin 0 to support i320,RGB24,and mjpg stream, and pin 3 to support H.264 stream. We also set h264videostreamingsettings in as code to ask for H.264 data directly from the webcam, but from the CPU consuming we can judge flash player only fetch pin 0 uncompressed data instead of H.264 data directly. We need to take advantage of BCC950 H.264 support to get webcam hardware compressed H.264 streaming data to avoid compression by CPU/software. As we know flash does not give programmers choice to define the pin to get data, then what we need to do to make sure we can get H.264 video stream from the webcam directly? thanks. Henry

    ...well I did follow that article on playing an h264/mpeg4
    video in flash. It works well, but how would you add playback
    controls?
    FLVPlayback component only allows you to source an FLV video
    not h264/mpeg4.
    This is probably a simple as3 answer...but I am not
    knowledgeable on as3 to know what code to add.
    Any suggests or direction that I should look would be great.
    In the meantime I am researching actionscript 3 to find and anwer.
    E.

  • How to Show Image form Library with Thumbnail view on visual Web part page using XsltListView web part?

    <WebPartPages:XsltListViewWebPart ID="XsltListViewWebPart_AppWeb"
    runat="server" ListUrl="Lists/MyList" IsIncluded="True"
    NoDefaultStyle="TRUE" Title="XsltListView web part" PageType="PAGE_NORMALVIEW"
    Default="False" ViewContentTypeId="0x">
    </WebPartPages:XsltListViewWebPart>
    For any List it work fine but for Image form library its not working:
    My url: http://sitename:portname/PublishingImages/Forms/AllItems.aspx
    Please provide Solution.
    Question:How To show image library with thumbnail view in Visual Webpart using xslt webpart.

    Is it throwing any error?
    do you set correctly the ListUrl parameter? in this case it will be "PublishingImages"

  • Urgent, SOS for help: How to show the pdf file name at the right bottow of the page?

    I want to show the pdf file name at the right bottow of the page for filing purpose, anybody knows anything?
    I know it can be showed at the left bottom through adobe printer, but i need it to be at the right bottom.
    thanks.

    The result is a UIWebView that displays a blank page. No errors occur in the UIWebView delegate method. The thing is that data has the correct length, in bytes, for the PDF I am trying to display, and I also get the pdf file in Library/Application Support/iPhone Simulator/4.3.2/Applications/ Does anyone have an idea as to what might be going wrong here or how I can better debug this problem?

  • How to use getContent() method in custom JSP Provider to display a HTML Pag

    Hi,
    If anybody knows how to use getContent() method to use in custom jsp providers (developed by ourselves) so that it can be used to retrieve a jsp page (a simple html page) ..
    I want the code in the provider java file to for the getContent method...
    Pls. get back to me asap....if any body has implemented a custom jsp provider...as it's urgent...
    I have alreday placed the JSP file in the directory structure /etc/opt/SUNWps/desktop/default/channel_dir..But still the jsp is not being displayed..
    Pls get me the getContent() method code to retrive the JSP file..
    satyabrata

    Hi,
    You don't have to do anything in the custom JSPProvider's getContent method except the call {  return super.getContent(request,response); } . If all you want is just to show your jsp, then create a channel from the default JSPProvider, and edit the property contentPage of that channel from samplecontent.jsp to your jsp name, save the changes and login again. You should see your JSP.
    Sanjeev.

  • Video won't pause on html page load

    Hi, can anyone help me out? I placed an flv file in blank
    flash file. then I went to publish it, but when it loads (the html
    page its published) it auto plays the flash video. even though I
    select "paused at start" tick box in the HTML publish settings box.
    any ideas why?

    Hi murphy14,
    Was the video purchased from the iTunes Store?
    If it was contact the iTunes Store support from here: http://www.apple.com/support/itunes/store/browser/
    If it was not, make sure the video is in a supported format or convert it.
    The iPod touch supports the following video formats:
    +"H.264 video, up to 1.5 Mbps, 640 by 480 pixels, 30 frames per second, Low-Complexity version of the H.264 Baseline Profile with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; H.264 video, up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Baseline Profile up to Level 3.0 with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; MPEG-4 video, up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats"+
    from http://www.apple.com/ipodtouch/specs.html
    This article: http://support.apple.com/kb/HT1211 will walk you through converting a video file in iTunes. iTunes will convert many video formats but the video may have to be converted with a 3rd-party utility.
    -Jason

  • How to use a jdbc query result to redirect to a variable html page

    uh, my problem is that i'm making a servlet which should redirect to a variable html page based on jdbc query (I'm really sorry if this is not the correct forum to post it, but since it's jdbc i thought it was).
    Anyway, the problem is that when a string say, "mystring" is equal to the value in a column, say "column1" of the database then page should redirect to "mystring.html".
    Is this possible, if so then how?
    and if not then is there any other way to solve my problem?
    please, help!!
    thanks in advance.

    uh, since i've already asked man, please gimme an answer if you know, it'll be appreciated.
    OK, HERE'RE THE DETAILS:(as you requested them)
    i have an html page where there's a textfield say "t1", the value of that text field is sent to the servlet which compares the value of the field with the value in Database, say "db1" in column say "column1".
    if there's a value in the column matching the value inputted in the textfield, then i need the servlet to redirect to an html page of the same name as inputted in the textfield. Hope that helps you understand.....
    thanks in advance.......

  • How to execute an applet after a button was clicked in an html page?

    the title says it all..
    I have an applet, and I want it to run only after I click a button, anyone knows how to do that?

    here is htmlpage
    www.somepage.com/index.html
    index.html has a button the hrefs to /yourapplet.html page
    www.sompage.com/appletPage.html

  • How to synchronize two flash in an html page?

    I've placed two seperate flash on my page but i want them to
    be played at the same time. but how?
    One idea is that one of the flashes sends some data to
    another. But i don't know how to do it by actionScript.
    By defult these two are not loaded at the same time
    Happy new year

    Hello! I try input a .swf file in my homepage, but it doesn't
    work. Can anyone know what would be the problem?
    The link is:
    www.e-promo.hu
    The swf must be at the bottom of the page...

  • How do you re-encode h.264 video without artifacts?

    Hi
    I have a video that was exported out of Premiere using h.264 at max 20mbps. All is good. Since the export takes 10+ hours I now want to create a version for Vimeo and Youtube. Becuase of the file size I don't want to upload the entire 2GB file to these services (I have a 5GB week limit upload at Vimeo) so I'll simply bring the file back into Premiere and export it using the Vimeo or Youtube setting with the max mbps around 5mbps or so. When I do this the resulting output file is unplayable, lots of artifacts and stutters. Some blacks are white even. I'm guessing Premiere is having an issue becuase it's re-encoding an already coded h.264 file, or something like that. Any ideas why this would happen and any solution to producing a good output?
    Cheers.

    As Dave stated, re-compressing already lossy-compressed video directly into another lossy compressed format is never a good idea: In this instance, image quality will degrade severely from that of the original AVCHD video. And all of the suggested intermediate files for Windows habe their disadvantages: DNxHD (and possibly UT) invoke the Apple QuirckTime API that induces a severe gamma shift in the encoded video (in the worst cases, whites come out medium-gray and middle tones come out pitch black) and is very slow to process due to it being restricted to 32-bit operations. Lagarith requires a massively powerful CPU - far more powerful than even a heavily overclocked i7-3960X - just to even play back well (this is based on my experience with Lagarith and my heavily overclocked i7-2600K, which dropped frames massively on playback of Lagarith-encoded material).

  • How to show/hide build in search box in javascript for LightSwitch html clients?

    Hi
    For each collection on content item, there is built-in showSearch button we can add, once the user clicks on the search, a pre-built-in-search-box shows up above the collection so user can search items in the list. How can I show/hide the pre-built-in-search-box
    in javascript?
    Any help will be appreciated
    The built-in showSearch on content item
    The user clicks the search button, and the pre-built-in-search-box shows up to allow user to enter search terms
    jl

    Hi Joe,
    Welcome to Lightswitch forum.
    If you want to show/hide showSearch button, you can execute this line to show the button,
    this.FindControl("showSearch").IsVisible = true;
    Or execute the line below:
    this.FindControl("showSearch").IsVisible = false;
    Please let me know if there is anything that I can do to help.
    Best regards,
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to SHOW/HIDE a dreamweaver layer from a flash button?

    I have almost 2 weeks tying to find a solution for this. Please help...
    -How can you SHOW/HIDE an thml-dreamweaver layer from a flash movie button.
    My html layer name is LAYER1, and my FlashMC botton name is FLBOT1
    Now, what is the actionscript that im suppouse to place in the flash button?
    Please respond, Thanks

    Adobe removed Flash Text and Flash Buttons from CS4 for accessibility reasons.  Flash buttons aren't web friendly.  And if you use this approach, you'll need to work in Flash because DW doesn't write Action Script for you.
    That said, you could do something similar without Flash.
    Pure CSS Disjointed Menu Rollovers
    http://alt-web.com/DEMOS/CSS-Disjointed-Menu-Rollover.shtml
    Pure CSS Disjointed Text Rollovers
    http://alt-web.com/DEMOS/CSS-Disjointed-Text-Rollover.shtml
    Show/Hide Layers with DW behaviors:
    http://www.cbtcafe.com/dreamweaver/showhidelayers/index.html
    Walter Zorn's Tooltips
    http://www.walterzorn.com/tooltip/tooltip_e.htm
    FloatBox Demos
    http://randomous.com/floatbox/demo
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.com/blogspot.com

  • How to get started with playing a video file using Java on JSF page ?

    Hi ,
    I am developing a JSF (Java Server Faces) page.
    I need to develop following functionalities
    1). play video file on web page
    2). Let the user load video file into the system from a web page and that can stored in a database .
    Please guide me on how to do the above or where to get started .
    Thanks,

    hello brother
    I am also doing work on it.....but don't reach at any result plz help me if you have something
    [email protected]

  • How to show a database trigger error message as a notification on a page

    I have a database with database triggers to ensure data integrity.
    If an insert or update does not comply to all the business rules, a database triggers raises an exception. When using Apex this exception is caught in the Error Screen, a separate screen, where the whole error stack is displayed.
    Does anyone know a way to display only the error in RAISE_APPLICATION_ERROR as a notification in the screen from which the transaction was initiated?
    Dik Dral

    Well, having had so little response, i had to figure it out myself ;-)
    Using Patrick Wolff's ideas from ApexLib I 'invented' a solution for my problem, that I would like to contribute to the community. I hope that it will come out a bit nicely formatted:
    Apex: Show Database Error Message in calling form
    The purpose is to show a neat error message in the notification area of the calling form.
    Default Apex show the whole error stack raised by a DB trigger in a separate error page.
    With acknowledgement to Patrick Wolf, I lent parts of his ApexLIB code to create this solution.
    <br./>
    Assumptions
    <ul><li>The error message is raised from a DB trigger using RAISE_APPLICATION_ERROR(-20000,’errormessagetext’).</li>
    <li>The relevant part of the error stack is contained within the strings ‘ORA-20000’ and the next ‘ORA-‘-string, i.e. if the error stack is ‘ORA-20000 Value should not be null ORA-6502 …’, than the relevant string is ‘Value should not be null’ .</li>
    <li>Cookies are enabled on the browser of the user </li>
    </ul>
    Explanation
    The solution relies heavily on the use of Javascript. On the template of the error page Javascript is added to identify the error stack and to extract the relevant error message. This message is written to a cookie, and then the control is passed back to the calling page (equal to pushing the Back button).
    In the calling page a Javascript onLoad process is added. This process determines whether an error message has been written to a cookie. If so the error message is formatted as an error and written to the notification area.
    Implementation
    The solution redefines two template pages, the two level tab (default page template) and the one level tab (error page template).
    Javascript is added to implement the solution. This Javascript is contained in a small library errorHandling.js:
    <pre>
    var vIndicator = "ApexErrorStack=";
    function writeMessage(vMessage)
    {       document.cookie = vIndicator+vMessage+';';
    function readMessage()
    { var vCookieList = document.cookie;
    var vErrorStack = null;
    var vStart = null;
    var vEnd = null;
    var vPos = null;
    vPos = vCookieList.indexOf(vIndicator);
    // No cookie found?
    if (vPos == -1) return("empty");
    vStart = vPos + vIndicator.length;
    vEnd = vCookieList.indexOf(";", vStart);
    if (vEnd == -1) vEnd = vCookieList.length;
    vErrorStack = vCookieList.substring(vStart, vEnd);
    vErrorStack = decodeURIComponent(vErrorStack);
    // remove the cookie
    document.cookie = vIndicator+"; max-age=0";
    return(vErrorStack);
    function getElementsByClass2(searchClass,node,tag)
    var classElements = new Array();
    if ( node == null )
    node = document;
    if ( tag == null )
    tag = '*';
    var els = node.getElementsByTagName(tag);
    var elsLen = els.length;
    var pattern = newRegExp('(^|\\s)'+searchClass+'(\\s|$)');
    for (i = 0, j = 0; i < elsLen; i++) {
    if ( pattern.test(els.className) ) {
    classElements[j] = els[i];
    j++;
    return classElements;
    function processErrorText()
    var errorElements = new Array();
    errorElements = getElementsByClass2("ErrorPageMessage",document,"div");
    if (errorElements.length > 0 )
    { errorText = errorElements[0].innerHTML;
    errorText = errorText.substr(errorText.indexOf("ORA-20000")+ 11);
    errorText = errorText.substr(0,errorText.indexOf("ORA")-1);
    // errorElements[0].innerHTML = errorText;
    writeMessage(errorText);
    function show_message()
    { var vCookieList = document.cookie;
    var vErrorStack = null;
    var vErrorName = null;
    var vErrorMessage = null;
    var vStart = null;
    var vEnd = null;
    var vPos = null;
    // get errorStack
    vErrorStack = readMessage();
    if (vErrorStack == -1) return;
    // search for our message section (eg. t7Messages)
    var notificationArea = document.getElementById("notification");
    if (notificationArea != null)
    { notificationArea.innerHTML = '<div class="t12notification">1 error has occurred<ul class="htmldbUlErr"><li>' + vErrorStack + '</li></ul>'; }
    else
    { alert(vErrorStack); }
    </pre>
    This code is loaded as a static file in Application Express (no application associated).
    In both templates a reference to this code is added in the Definition Header section:
    <pre>
    <script src="#WORKSPACE_IMAGES#errorHandling.js" type="text/javascript"></script>
    </pre>
    This library is called from the two level tab to show the error message (if any) in het onLoad event of the body tag.
    <body onLoad="javascript:show_message();">#FORM_OPEN#
    This code checks whether a message has been written to a cookie and if found displays the message in the notification area.
    In the error template page the Error section has the content:
    <script language="javascript">
    processErrorText();
    window.history.go(-1);
    </script>
    Back
    The call to processErrorText() looks for the error message, extracts the relevant part of it (between ‘ORA-20000’ and the next ‘ORA-‘), writes it to a cookie and returns to the previous screen.
    The link to the previous page is added should an error in the Javascript occur. It provides the user with a path back to the application.
    With these actions taken, the error messages issued from triggers are shown in the notification area of the form the user has entered his data in.
    The need for database driven messaging
    In some cases the need exists to process error messages in the database before presenting them to the user. This is the case, when the triggers return message codes, associated to error messages in a message table.
    This can be done by using a special Error Message Processing page in Apex.
    The error message page extracts the error message, redirecting to the Error Message Processing page with the error message as a parameter. In the EMP page a PL/SQL function can be called with the message as a parameter. This function returns the right message, which is written to a cookie using dynamically generated Javascript from PL/SQL. Than the contol is given back to the calling form.
    The redirect is implemented by location.replace, so that the error message page does not exist within the browsing history. The normal history(-1) will return to the calling page.
    Implementation of database driven messaging
    The solution redefines two template pages, the two level tab (default page template) and the one level tab (error page template).
    Javascript is added to implement the solution. This Javascript is contained in a small library errorHandling.js already listed in a previous paragraph.
    In both templates a reference to this code is added in the Definition Header section:
    <script src="#WORKSPACE_IMAGES#errorHandling.js" type="text/javascript"></script>
    This library is called from the two level tab to show the error message (if any) in het onLoad event of the body tag.
    <body onLoad="javascript:show_message();">#FORM_OPEN#
    This code checks whether a message has been written to a cookie and if found displays the message in the notification area.
    In the error template page the Error section has the content:
    <script language="Javascript">
    var errorText = null;
    function redirect2oracle()
    { window.location.replace("f?p=&APP_ID:500:&APP_SESSION.::::P500_MESSAGE:"+errorText); }
    function getError()
    { errorText = processErrorText(); }
    getError();
    redirect2oracle();
    </script>
    Go to Error Message Porcessing Page
    Back to form
    The call to processErrorText() looks for the error message, extracts the relevant part of it (between ‘ORA-20000’ and the next ‘ORA-‘), writes it to a cookie.
    Then the EPM-page (500) is called with the extracted message as parameter.
    The link to the EPM page and the previous page is added should an error in the Javascript occur. It provides the user with a path back to the application.
    We need to create an Error Message Porcessing Page.
    Create a new page 500 with a empty HTML-region “Parameters”
    Create an text-area P500_MESSAGE in this region
    Create a PL/SQL region “Process Messages” with source:
    convert_message(:P500_MESSAGE);
    Create a PL/SQL procedure convert_message like this example, that reads messages from a message table. If not found, the actual input message is returned.
    CREATE OR REPLACE procedure convert_message(i_message in varchar2) is
    v_id number := null;
    v_message varchar2(4000) := null;
    function get_message (i_message in varchar2) return varchar2 is
    v_return varchar2(4000) := null;
    begin
    select msg_text into v_return
    from messages
    where msg_code = upper(i_message);
    return(v_return);
    exception
    when no_data_found then
    return(i_message);
    end;
    begin
    v_message := get_message(i_message);
    // write the message for logging/debugging
    htp.p('Boodschap='||v_message);
    // write cookie and redirect to calling page
    htp.p('<script language="Javascript">');
    htp.p('document.cookie="ApexErrorStack='||v_message||';";');
    htp.p('window.history.go(-1);');
    htp.p('</script>');
    // enter return link just in case
    htp.p('Ga terug');
    end;
    Note: The way the message is converted is just an example
    With these actions taken, the error messages issued from triggers are shown in the notification area of the form the user has entered his data in.
    Message was edited by:
    dickdral
    null

Maybe you are looking for

  • Having problem with change of name in the datagrid Coding

    I am having problem with changing the name of the datagrid header text name for one of the data either in the flash file or the php file. The thing is i want to change the Course_Name to Course Name that has no underscore so that it will look nicer i

  • BAPI G/L Balance Upload

    Hi, I want BAPI for G/L balance upload. I want to transfer these fields: STYPE(BBKPF-STYPE) LDGRP(BKPF-LDGRP) BSCHL(Posting key) MWSKZ(Tax Code) I looked into BAPI's BAPI_ACC_GL_POSTING_POST and BAPI_ACC_DOCUMENT_POST but I didn't find any field like

  • Google AdSense settings in iWEB site

    Hi all, I developed a site using iWeb and I added some AdSense box into it. I have to issue: the first one is that not all the AdSense boxes are avilable in iWeb and the secondo one, that is more important for me, is that If I add ad AdSense box from

  • My ipod touch 5 gen still in recovery mode how can i get out in recovery mode? i update it in ios 6.2 while my itouch is in jailbrake

    my ipod touch 5 gen still in recovery mode how can i get out in recovery mode? i update it in ios 6.2 while my itouch is in jailbrake

  • Zfs newbie question

    Hello I have a fresh Solaris 10/6 install. My disk have 20Gb but I used only 10GB for the base solaris installation and home directory. I have 10GB free without any partition. I would like to use my free space to store my zones using zfs filesystem.