How to Play MPG videos in Flex web app?

Hi,
I would like to play MPG file in my flex app. Video player available in flex plays only .flv file.
Is there any way of doing this?? can somebody post an example of this??
Any help wud be highly appreciated.
Regards,
khushboo

I think there's a dereferrer field in the HTTP header that you can query from the HttpRequest.

Similar Messages

  • HT3775 how to play a video MPG format on a mac

    how to play a video MPG format on a mac

    Try VLC media player it seems to play almost any codec.
    https://www.macupdate.com/app/mac/5758/vlc-media-player

  • How to play HLS stream in flex

    i aim to create a flex mobile application for iOS platform,which will play videos of streaming form.
    as i kown,only Http Live Streaming(HLS) is supported on iOS, then how to realize the playball of video of HLS form?
    if i have a valid m3u8 playlist url,how to play it in my flex mobile application?can anybody help or give me some advices?
    i will be thankful!

    GRag and Mesh are correct. You cannot use Flex to access a file on a user's hard drive, which is where your path is pointing.
    Instead, create a folder within your Flex project, under the "src" folder (example: src/assets/videos), and put the SWF there. Change the path in your code to point to the new location, like "assets/videos/myVideoFile.swf". Note that you don't refer to the src folder; it is the "root" of your application, and when you deploy all your files to your web server, you will be copying the folders you created to the root folder of your web server. So, all the paths will remain consistent. Flex will attempt to find "assets/videos/myVideoFile.swf", starting from the "root", or location, of the application itself.

  • How to play YouTube videos in HD on iPhone over cellular?

    Does anyone know how to play YouTube videos using the Google YouTube app in HD on the iPhone over cellular? I'm asking because I have an iPhone 5 with a large LTE data plan, which I don't mind using a bit more data for better clearity on the videos. I know in the past people have suggested to use YouTube in the Safari broswer to view videos in HD, but I find it to be non-consistant. Anyone have a better idea how to watch YouTube videos in HD on iPhone/iPad over cellular (3G/LTE)?

    Did you use iAD to create the widget?   If  you did...  then there support  group  should have answers.
    If you used one of the widgets in iBA  - as you have  had no suggestion for a fix... you will need to contact iBooks support.
    The  More Like This column on the right shows links to similar problems.
    It would  seem to be  related to  your  use of  You Tube and Vimeo content or maybe its how you  put the  widget content  together.
    Have  you search the iBA help files, previous posts and the iBA  tips?

  • How to play a video

    how to play a video ,there is no option to play it

    In the account for your wife, preferences > accounts, you would add an app to the list of apps that run at login.  You may be able to add a file to this list, don't know.  You could write a simple script with open name-of-video file.  Possibly as simple as:
    #! /bin/bash
    # open is equivalent to double clicking on the file.
    open name-of-video
    Robert

  • How to play HD video on blackberry playbook

    Hi
    Plz tell me how to play HD videos on bb plybook

    Playbook natively supports hd video playback...not all formats though...infact the demo video of playbook is in hd...
    Further...if u still wanna play video of some format not supported by playbook...download QMplayer from appstore...its a paid app but trials free...

  • HT204382 I just bought Quicktime MPEG - 2 to play MPG video files and still doesn't work. any suggestion?

    I just bought Quicktime MPEG - 2 to play MPG video files and still doesn't work. any suggestion?

    Please note:
    If your Mac has OS X Lion, MPEG-2 functionality is built in and the QuickTime MPEG-2 Playback Component is unnecessary.
    QuickTime MPEG-2 Playback Component for Mac OS X - Apple Store (U.S.)

  • I DONT KNOW HOW TO PLAY THE VIDEO ON MY IPOD

    i dont know how to play the video on my ipod when i select it from the menu the song starts playing but there is no video all there is is a little picture in the top right hand corner can someone help please?

    the videos of course have to be in the correct format that's why an app like ipod itunes will be helpful in making your videos viewable you can even do the encoding yourself i might suggest checking out this helpful guide http://www.macworld.com/article/48480/2005/12/convertvideo.html once your videos have been converted the videos may appear in the Movies part of your itunes desktop hopefull this helps

  • I'm using iPad 4 with iOS. How to play YouTube video in background?

    Any suggestion?

    Welcome to the Support Communities. This article may help:
    How to Play YouTube Videos in the Background on iOS
    ...Found by doing THIS.
    And this is just a tip: You can edit your post within 15 minutes. To edit your initial post of a thread, click on the Edit post link in the Actions section at upper right. To edit your subsequent posts of a thread, click on the Edit link at the bottom of the particular post you want to edit. Either way, when done editing, click the blue Update button.

  • How to play a video in AIR on a mobile device

    Does anyone have any walkthrough they can share for how to play a video in an mobile AIR app? This would be for a video that's bundled with the air app.
    Thanks!

    Since the video is bundled, I'd recommend you make usage of the GPU accelerated StageVideo class:
    StageVideo - Adobe ActionScript® 3 (AS3 ) API Reference
    On that page you will find several tutorial and code links (under the description) on how to use it, for example:
    Adobe Flash Platform * Using the StageVideo APIs
    Getting started with stage video | Adobe Developer Connection
    The basics about it is if you have ever created a video player using NetStream and NetConnection then you already know how to use it. After the event fires indicating if StageVideo is available you can make use of it or determine if you need a fallback (regular Video with software rendering).
    Unlike just using the FLVPlayback component, you must create and attach your own video controls. Again if you've ever made a custom player with NC/NS classes above then chances are you've made custom controls. Just whichever buttons you desire for your functionality (play/pause, seek, volume, etc).
    It's worth repeating, I'm only recommending this because I choose this method with bundled videos. If you need to stream, NetStream will not give you the information you need for buffering/seeking. In that scenario I resort to using StageWebView on iOS which embeds a native HTML5 MP4 playback control. I actually start receiving the stream to get the metadata (video size) and generate a HTML page with a <video> tag that makes the video an appropriate size. Video in StageWebView does not work well (especially Flash video) on Android prior to KitKat so I avoid that and use StageVideo, which works great.

  • How to play a video file stored locally in the system

    hi
    how to play a video file stored locally
    thanks
    mraj

    Hi,
    You can't do that in a simple way. You need to have a port open in the firewall, and you need to have a server process on the remote machine.
    Kaj

  • How do I add image upload to web app edit template?

    How do I add image upload to web app edit template. When creating fields I am selecting image from the field type. But the only way to upload and image is when I create the web app item within the admin. The option to upload an image is not available when the user submit web form opens.
    Wont send any of these questions through this email anymore but really needed assistance.
    Thanks,
    Gordon

    On the Details tab of the Web App setup, under Web App Item Options; have you ticked "Allow File Upload" and specified a Default Upload Folder?

  • Is it possible to play music videos on the Music App of my iPad 2? or it's only possible in the Video App?

    Is it possible to play music videos on the Music App of the iPad 2? Or create a playlist for the Video App? or sort the music videos by artist, genre, album, etc.?

    I have two music videos on my iPad and they don't even show up in the Music App - only in the Videos App so I have to conclude that you can only play them in the Videos App.
    I could be wrong - heaven knows it won't be the first time - but I see no way to play it in the Music App.

  • HT4437 Can I play a video from the remote app onto apple tv whilst simultaneously stra,ing music to other speakers via express?

    Can I play a video from the remote app onto apple tv whilst simultaneously stra,ing music to other speakers via express?

    Thank you for that, I wanted to make sure I was trying to replicate the same thing as you. Just tried it now, works fine for me.
    Of note though, this will take a relatively well performing network to achieve this, I have such a network, if your network is not as good as it might be, you might encounter problems.
    For the avoidance of doubt, I used the remote app on my phone to get my iTunes library on my computer to stream music to 3 of my Apple TVs, I then used the remote app to control another Apple TV and get it to stream a music video from my computer to it. Of interest I managed to do this while my wife was using yet another Apple TV (not with the remote app) to watch something else from iTunes on my computer.

  • How to highlight text in the iCloud web app

    Hi,
    My computer recently broke so I had to use my mom's windows computer to do my homework. I had to use the iCloud web app Pages to do my homework. My assignment requires to be able to highlight stuff so does anyone know how to highlight text in the iCloud web apps?

    You can do this easily by using a "modify class" parameter in your web template.
    Following methods are of your interest to change char/KF headers.
    CAPTION_CELL          changes formats/values of characteristic headers
    STRUCTURE_CELL          changes formats/values of key figure headers
    Hope it helps.
    Hari Immadi
    http://immadi.com
    SEM BW Analyst

Maybe you are looking for