Playing audio FLV in AIR

Hi,
I followed this example (http://www.adobe.com/devnet/air/ajax/quickstart/sound_in_html.html) and the docs here (http://help.adobe.com/en_US/AIR/1.5/devappshtml/WS5b3ccc516d4fbf351e63e3d118666ade46-7cf8. html) to play mp3s, which works great, but if I try to do the same with a FLV audio file nothing happens.  Is there something else I should be using?
Thanks
Robbie

Just wondering if anyone has an answer for this?  Again, I'm trying to play FLV audio through Air, using Javascript.  I have successfully played MP3 through Air/Javascript.
Thanks for your help
Robbie

Similar Messages

  • Flash Player 11.2.202.228 no longer plays my audio flv either

    Audio flvs that previously would play fine no longer play. I get "NetStream.Play.Failed". This occurs when progressively playing over HTTP, i.e. starting NetConnection.connect(null) and then NetStream.play("http://url_of_my_flv");
    Regular RTMP playback still works.
    So, I've seen two posts with similar issues in the last day or so:
    http://forums.adobe.com/message/4307125
    http://forums.adobe.com/message/4308222
    However the fix mentioned in one is not useful since I don't use FLVPlayback component.
    Any ideas?

    Hello,
    This issue was resolved using Adobe Media Encoder, see this forum post for more infromation.
    Please let us know if you still see issues.
    Regards.
    Suhas Yogin

  • HT204291 I do not have video, audio only with air play on my apple tv using my instant video form my iPad

    I do not have video, audio only with air play on my apple tv using my ipadusing instant video

    It needs to be in iTunes, with home sharing enabled on computer and Apple TV. When computer is on and running iTunes you will be able to access via the Computers icon on Apple TV
    File also needs to be in the correct format
    H.264 video up to 1080p, 30 frames per second, High or Main Profile level 4.0 or lower, Baseline profile level 3.0 or lower with AAC-LC audio up to 160 Kbps per channel, 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
    Motion JPEG (M-JPEG) up to 35 Mbps, 1280 by 720 pixels, 30 frames per second, audio in ulaw, PCM stereo audio in .avi file format

  • Adobe AIR for iphone app: can't play audio properly

    I just developed an App by using adobe air. It contains some animations with background music in mp3 format. The problem is that the music is very jerky when the animation is playing... FYI, this is the way how I play audio in flash:new Sound(new URLRequest("m3.mp3")).play() Have I done anything wrong?
    BTW, the funny thing is that if you hit the HOME button, and then come back to the app again, everything plays beautifully...
    Any comments would be appreciated!!! Will be waiting for the answer online.

    Try the loading sound internally method through sound channels and such.
    Great tutorial below.
    http://www.republicofcode.com/tutorials/flash/as3sound/
    var mySound:Sound = new Sound();
    var myChannel:SoundChannel = new SoundChannel();
    mySound.load(new URLRequest("myFavSong.mp3"));
    myChannel = mySound.play();
    I just finished an app that uses a lot of audio while stuff is animated on the timeline and the sound responds well on all iOS devices. (havent tested on 3GS yet)

  • Play audio/video/swf/flv in jsp

    Hi All,
    I am working on education site. I have a following requirement.
    1>User will search the educational resource
    2>Application will provide available resource list . Resource will be any of the following.
    a>video
    b>audio
    c>pdf/doc
    e>flv/swf
    3>User will click on any of the resource and then application will play/load the resource in iframe or in popup .
    Question: 1>How can we play audio/video/flv in jsp?
    2>If the resource is pdf/doc then how to open in iframe so that user can read only?

    "Update" to 11.5?
    Considering that 11.5 was last updated more than a year ago... that's hardly an update.
    You should be using the latest Flash Player:
    Flash Player 12.0.0.70 for ActiveX (Internet Explorer)
    Flash Player 12.0.0.70 Plug-in (All other browsers)
    Flash Player 12.0.0.70 Plug-in (Mac OS X)

  • Play audio only from FLV

    Hi. I'd like to build a player in Flex that will play the audio portion of FLV files only and hide the video. How do you do this in Flex? Thanks.

    as2 or as3?
    actually, it wouldn't matter if you want to do this the crude way:  add an flvplayback component to your stage to play the flv and assign its visible (or _visible) property to false.

  • Standalone app (AIR?) for playing local FLV files

    Can someone point me to a desktop app (Windows and Mac) that can play local FLV files?
    Thanks!

    I don't know about an AIR application but you could make any Flash video player you want to create into a stand-alone simply by publishing it as a "Projector" file. So create your own custom player and include your own branding in the design.
    Or does this need to have a "browse to file" capability? Have never added that to a vid player so I'm not sure how that would work out.
    But here is a simple little .flv video editor that I sometimes use to check out video files:
    http://download.cnet.com/Moyea-FLV-Editor-Lite/3000-2168_4-10912717.html
    It's a video editor, not just a player... but it's free, and allows you to open and play .flv files.... maybe a temp solution ??
    Best wishes,
    Adninjastrato

  • How to play a FLV file located in a second FMS?

    How to play a FLV file located in a second FMS not directly accessible by the flash client?
    - I am publishing an audio stream from the flash client to a FMS;
    - This FMS then publishes the stream to a second FMS, which records the stream to a FLV;
    How can I play in the client the FLV audio file that I recorded in the second FMS?
    - The first FMS is accessible by the flash client, but the second FMS is only accessible by the first FMS.
    thanks in advance
    fabio

    Answer in http://www.flashcomguru.com/forum/forum_posts.asp?TID=4276&PN=1&TPN=1

  • Local videos not playing in Flash/Dreamweaver Air app

    Hi there. I am having trouble playing local video from an Air app created from Dreamweaver. I have found many similar [posts, but most are about Flex and so on. I need some help getting this working form Flash and Dreamweaver.
    What I did wat create a jQuery site that uses Flash to play videos. It will be packaged as a desktop Air app using the Dreamweaver Air plugin.
    From advice that I got here (http://soenkerohde.com/2008/06/playing-local-files-with-air/)
    I started a new Air Project in Flash as suggested. Using an Air flash app makes more sence I guess, but I still need to imbed it into an HTML framework.
    Here is the code I am using:
    import flash.filesystem.File;
    var myVideo:Video = new Video(stage.stageWidth, stage.stageHeight);
    addChild(myVideo);
    var nc:NetConnection = new NetConnection();
    nc.connect(null);
    var ns:NetStream = new NetStream(nc);
    var client:Object = new Object();
    client.onMetaData = function(metadata:Object):void {
    trace(metadata.duration);
    ns.client = client;
    myVideo.attachNetStream(ns);
    var f:File = new File("Special_Assignment_Title.flv");
    ns.play(f.url);
    When I run this I get the following error:
    <blockquote cite="">ArgumentError: Error #2004: One of the parameters is invalid.
              at Error$/throwError()
              at flash.filesystem::File/set nativePath()
              at flash.filesystem::File()
              at videoPlayer_fla::MainTimeline/frame1()[videoPlayer_fla.MainTimeline::frame1:17]</blockquo te>
    Any suggestions on how to fix my problem? Any help would be greatly appreciated

    Instead of using the File object, try URLRequest instead:
                                            var urlReq:URLRequest = new URLRequest("Special_Assignment_Title.flv");
                                            ns.play(urlReq.url);
    Chris

  • Safari will not play audio.

    Safari stopped playing audio for me on my MacBook Air.  The audio on the computer works because i can get audio with full volume when i play a file on iTunes.  Please help me with what might be wrong.

    Welcome to Apple Support Communities. We're users here, and do not speak for "Apple Inc."
    The NPR page uses Flash, and apparently does not have an equivalent HTML5 page.
    If you're using Click-To-Flash and/or Click-To-Plug-in in Safari, make sure Flash is permitted on the page in question.

  • FLVplayback plays audio only

    I have an instance of the FLV playback component on the stage
    called 'my_video' and an FLV called 'group.flv' stored in the same
    folder as the FLA (this is all running from my desktop). If I link
    the component to the FLV through the component inspector panel it
    works fine but when I try to do it with Acionscript I get the audio
    but no video and if I click the play/pause button I get this error:
    1000: Unable to make connection to server or to find FLV on
    server
    I am using this code:
    var connection_nc:NetConnection = new NetConnection();
    connection_nc.connect(null);
    var stream_ns:NetStream = new NetStream(connection_nc);
    my_video.attachVideo(stream_ns);
    stream_ns.play("group.flv");
    Can anyone tell me what I'm doing wrong here.
    Cheers all

    Pop Clingwrap,
    > If I use the FLVplayback can I set the content path
    > dynamically ...
    Yes, that's the example I showed just before the end of my
    first reply.
    Use source for AS3 and contentPath if you're using AS2. It
    may help you to
    realize that components are nothing more than objects -- just
    like movie
    clips, text fields, and practically everything else. Objects
    are defined by
    something called classes, which describe an object's
    properties
    (characteristics), methods (things it can do), and events
    (things it can
    react to). Look in the ActionScript 2.0 or 3.0 Language
    Reference, as
    appropriate, and look up the FLVPlayback class, MovieClip
    class, TextField
    class, and so on, to see what your options are. In AS2,
    component classes
    are listed under the Components Language Reference. All of
    these are
    available under Help (or the F1 key).
    > ... and access the cue points that are embedded?
    You betcha.
    David Stiller
    Co-author, Foundation Flash CS3 for Designers
    http://tinyurl.com/2k29mj
    "Luck is the residue of good design."

  • Play .asx file in AIR

    Hello Everybody,
    I have a problem, I can't play .asx file in AIR...
    How can i fix this, is there a tricky way to let it play in
    AIR?
    Thanks in advance
    Peter

    ASX files are just 'descriptor' files, if you will, for
    Windows Media files. You need to encode the original video file to
    FLV or encode to H.264 codec.

  • I'm running Mavericks 10.9.3, updated iTunes earlier today, but although I can play audio CDs, DVDs will  not play, any suggestions?

    I'm running Mavericks 10.9.3, updated iTunes earlier today, but although I can play audio CDs, DVDs will  not play, any suggestions?

    Hello there, tomazdes.
    The following Knowledge Base article written for the USB SuperDrive, offers some practical steps to try when issues present themselves with particular content playback (feel free to skip Step 3 when working with an iMac or MacBook with built-in drives):
    Apple Computers: Troubleshooting the slot-loading SuperDrive
    http://support.apple.com/kb/HT2801
    Particularly:
    Accepts discs but they don't mount or are automatically ejected
    Make sure the drive is not placed upside down. The aluminum enclosure should be facing up as shown in section 1.
    Check the disc's surface for scratches and dirt, since these things can prevent the disc from appearing on the desktop.
    Connect the MacBook Air SuperDrive directly to the computer's USB port instead a USB hub.
    Reset the System Management Controller (SMC).
    Ensure your drive can read the specific type of disc being used. The System Profiler or System Information may provide additional information regarding what media your computer supports.
    OS X Snow Leopard v10.6 or earlier: Open Apple System Profiler by choosing "About this Mac" from the Apple () menu. Then, click More Info.
    OS X Lion v10.7 and later: Click the Apple () menu and then hold down the Option key. Choose System Information from the menu.
    If the disc continues to not be recognized, contact Apple or an Apple Authorized Service Provider, or make an appointment with an Apple Retail Store.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • How can i stream video and audio from macbook air to my tv?

    how can i stream video and audio from macbook air to my tv?

    Wirelessly: you need an AirPlay - enabled device such as an AppleTV.
    Wired: if your TV has an HDMI port, you need a Thunderbolt to HDMI adapter such as this one:
    Mini DisplayPort to HDMI® Adapter w/ Audio Support
    If your TV does not have an HDMI port you will need a converter that will convert HDMI input to whatever input your TV requires.

  • I have just got a iPod 5 gen 32gb and lightning adapter but can't get it to work with my docking station it will charge but not play audio please help??

    I have bought a 5th gen iPod and lightning adapter but it won't wrk on my docking station it charges but doesn't play audio? Please help

    Does the dock manufacture say it is compatible with the 5G iPod with iOS 6.0.1?
    Have you went to the manufacturer's support site? Contacted them?
    Try resetting the dock. How you do that depends upon the dock
    Sometimes this works
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:       
    iOS: How to back up           
    - Restore to factory settings/new iOS device.

Maybe you are looking for

  • Cannot select multiple images

    I click on the first image, and then hold the shift key and click on a second image, but it only selects the second image.  This used to work!

  • Creating dynamic columns in rdlc report

    Hi, I want to generate an rdlc report where columns are not fixed and decided on the basis of user input. So I can not design the report before and it should be done dynamically at run time. I have the data in datatable. Can anyone help how to achiev

  • Macbook powers up, but remains at blue screen with spinning wheel

    I've had my macbook for about a year and a half now. Today I noticed it was running extremely slow every once in a while. I also noticed a faint beep while using the laptop. I decided to turn the computer off for a little bit and and then started it

  • Is it posible to make a figure or text move across the slide?

    Hi... i am using KN3 and need to know if is posible to move a figure or text across a slide. For instance, a textbox start on left upper corner and then it moves to right lower corner? it is possible to do? thanks in advance

  • Capture IP without using X-Forwarded For

                      Hello Friends, We are running a web-application that has a login on the very first page. We want to capture the real IP addresses of all the customers that visit our application. We have Cisco layer 3 Load balancer configured in a s