[FLEX:VideoDisplay]

Hola a todos, por favor alguien que pueda ayudarme, lo que
pasa esk necesito
utilizar el componente de VideoDisplay, de Flex, lo tengo de
la siguiente
forma:
<mx:VideoDisplay width="401" height="231" id="myVid"
source="uploadedFiles/phone.flv" autoPlay="false" x="170"
y="196"/>
<mx:Button label="Play" click="myVid.play();"/>
<mx:Button label="Stop" click="myVid.stop();"/>
<mx:Button label="Pause" click="myVid.pause();"/>
Y estoy importando estas 2 librerias
* import mx.controls.VideoDisplay;
* import mx.controls.videoClasses;
Pero cuando kiero ponerle play al video me marca este error,
y no se pork,
he buscado pero todos los ejemplos que he encontrado tiene lo
mismo que yo
Este es el error que me arroja
Error: 1000: No bitrate match
at mx.controls.videoClasses::VideoPlayer/play()
at mx.controls::VideoDisplay/play()
por favor alguien que me pudiera ayudar, se los agradeceria
muchisimo..
Saludos!!!

Well I am getting closer but I have a slight problem. I am
using a timer and advancing the playHead position by .1 which works
fine until it gets about 7 seconds into the video. At that point it
starts jumping by 7 or so. Below is the code I am using. Can anyone
spot something obvious that I am doing wrong?

Similar Messages

  • Use flash video coponent in flex?

    Hi
    I want to use flash player video player feature.Please let me
    know how to do this.
    I need use the class fl.video.VideoEvent but it is not flex
    libary.do I have to build swc file,what is the steps to do this.
    Thanks
    Mk

    Hi Mk,
    Emanuil Rusev has created an an easy to use, open source Flex
    video player called FX Video. You can find the FX Video home page
    here:
    http://www.fxcomponents.com/?p=29
    And the FX Video source here:
    http://www.fxcomponents.com/src/fxvideo_0.92/
    Thank you Emanuil!!!
    Please take a look at the FX Video video player and see if it
    provides the functionality that you need. If not, please post back
    with detail on what further functionality you require.
    Regarding
    fl.video.VideoEvent,
    Flex does have a similar event
    mx.events.VideoEvent
    The Flex VideoEvent is related to the Flex UI control
    mx.controls.VideoDisplay.
    VideoDisplay is pretty rudimentary. The FX Video video player cited
    above uses both VideoDisplay and VideoEvent. If you are not
    familiar with the Flex VideoDisplay control, you can find a
    runnable example online in the Flex docs here:
    http://livedocs.adobe.com/flex/3/langref/mx/controls/VideoDisplay.html#includeExamplesSumm ary
    Please post back regarding whether the above answers your
    question, and if you find it helpful :-)
    Best regards,
    g

  • Witch One: VideoDisplay or FLVPlayback ?

    hi,
    I create a Flex application that must a lots of video tu
    use...
    some time i use "videodisplay" some time the
    "FLVPlayback"....
    i know NetStream to...
    what are the most difference ?
    So at this time, witch is the best to use ? for:
    - H264
    - Fullscreen Hardware
    - progressive / streaming
    Thanks a lots for your answer...
    and excuse me for my bad english !

    Adobe Newsbot hopes that the following resources helps you.
    NewsBot is experimental and any feedback (reply to this post) on
    its utility will be appreciated:
    Flex 3 - VideoDisplay control:
    The Flex streaming VideoDisplay control makes it easy to
    incorporate streaming media into .... When you read from or write
    to a NetConnection, NetStream,
    Link:
    http://livedocs.adobe.com/flex/3/html/controls_17.html
    Displaying a video in Flex using the NetConnection,
    NetStream, and:
    Displaying a video in Flex using the NetConnection,
    NetStream, ... If you are doing simple playback of video
    VideoDisplay a really easy way to playback
    Link:
    http://blog.flexexamples.com/2008/03/01/displaying-a-video-in-flex-using-the-netconnection -netstream-and-video-classes/
    Flex 3 - Using the DRMAuthenticateEvent class:
    Adobe Flex 3 Help ... Add this event handler to a NetStream
    object that points to ... The following example contains a
    VideoDisplay object with a source
    Link:
    http://livedocs.adobe.com/flex/3/html/DRM_5.html
    Flashcomguru.com: Playing a live FMS stream using
    VideoDisplay in:
    Jan 17, 2007 ... According to the Flex docs this is possible:
    'The VideoDisplay ... the Camera to a VideoDisplay and you CAN
    attach the NetStream to the
    Link:
    http://www.flashcomguru.com/index.cfm/2007/1/17/Playing-a-live-FMS-stream-using-VideoDispl ay-in-Flex2
    mx.controls.VideoDisplay (Flex 3):
    The VideoDisplay control lets you play an FLV file in a Flex
    application. .... a metadata information packet that is received
    from a call to the NetStream.
    Link:
    http://livedocs.adobe.com/flex/3/langref/mx/controls/VideoDisplay.html
    [Red5] Flex VideoDisplay component and red5:
    Aug 14, 2006 ... [Red5] Flex VideoDisplay component and red5
    ... it seems that its trying to attach a netstream before the
    connection is even made right ?
    Link:
    http://osflash.org/pipermail/red5_osflash.org/2006-August/004917.html
    Disclaimer: This response is generated automatically by the
    Adobe NewsBot based on Adobe
    Community
    Engine.

  • Media server and Media live encoder running, but how do I view my stream?

    Ok. This is the first time I have ever used these two programs. I got the Media server running and connected and the Media live encoder streaming and connected to the server. I have not been able to test the stream to see if it is working correctly however, judging by the logs, it seems to be working. What I really want to know is the simplest instructions on how to view the stream from outside of my network, as it is broadcasting over the net. I am trying to do a live stream.
    With just these two programs running is there a link I can go to that it will automatically play the stream back?
    What exactly to I need to do now to be able to give someone my link over the net so they can watch the stream?
    Do I actually need a server to put the /applications/live folder onto?
    Thank you!
    (ps I have been reading the adobe documentation on this but I'm still confused)

    I am certainly no expert as I have just started working
    with this myself.  But I will try to help.
    To view the stream you need a client. As started in the Flash Media Server Development Guide:
    You can use any of the following clients to play video streamed from the live service:
    Flash Media Server sample video player (RootInstall/samples/videoPlayer)
    Flash FLVPlayback component (fl.video.FLVPlayback)
    Flex VideoDisplay component (mx.controls.VideoDisplay)
    Any custom-built application that runs in Flash Player, AIR, or Flash Lite 3
    You can pick up this link at http://help.adobe.com/en_US/FlashMediaServer/3.5_Deving/WS5b3ccc516d4fbf351e63e3d11a0773cf ae-7ff7.html
    I have a very basic example of a custom-built player that does work - I'm running FMS Dev (localhost) and a webcam.  Let me know if you need the example.
    Good luck.  I hope more experts will start to post help, as I am struggling with some things myself.
    Phillip

  • Display webcam

    I found this tutorial on displaying a webcam feed.
    http://blog.flexexamples.com/2008/01/22/displaying-a-webcams-video-in-a-flex-videodisplay- control/
    Does anyone know how to have the feed show to people over the
    internet? I have installed on my server and when the camera loads
    on my computer I see my image but if I load the site on another
    computer the feed does not show.
    What am I missing?
    Thanks

    You need to use Flash Media Server or Red5 to do video chat
    type applications.

  • The problem in using of (mx) VideoDisplay.attachCamera(camera) in flex webapp

    i have encountered a problem last night. my code looks like the following:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx"
                   minWidth="955" minHeight="600">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <fx:Script>
            <![CDATA[
                private function onCreateComplete():void
                    var camera:Camera = Camera.getCamera();
                    if(camera)
                         vid.attachCamera(camera);
            ]]>
        </fx:Script>
        <mx:VideoDisplay id="vid" width="300" height="300"
                         verticalCenter="0" horizontalCenter="0"
                         creationComplete="onCreateComplete()"/>
    </s:Application>
    when i run the code above in my firefox, the videodisplay component showed in the browser,
    but the video captured by my camera didn't show in the videodisplay.
    if i change the <s:application> to <s:windowedapplication>, and run as a desktop app, everything is OK.
    then what is the problem of not showing the video captured by my camera in flex webapp?
    BTW, my flashbuidler's flex SDK is 4.5.

    Please post your query on flex forum as it does not look like FMS issue : http://forums.adobe.com/community/flex/flex_general_discussion?view=discussions

  • Video stream won't seek past ~2400 sec using flex 3's VideoDisplay.  help!

    I have a video on the developer edition of FMS 3.5 that is quite large.  The total time is ~19,000 seconds.  Seeking to points prior to 2433.482 seconds work fine using VideoDisplay.playheadTime.  However if I try to set the playheadTime to any number over 2433.482 seconds, the video state is as follows:
    Video state: seeking
    Video state: paused
    Video state: buffering
    Video state: playing
    and the video never reaches the point.  it just stops at 2433.482
    I have messed with this for days.  I'm pretty sure it's not the flex application.  I looked through the conf file on the server but I couldn't find any variable that would be restricting it.  please help!!

    bump!

  • FLEX - Playing a h264 file with VideoDisplay takes a LONG time to begin playback

    FLEX - Playing a mp4{frame size 1280x720} video begin playback after all video load completely[progressive download not working] but other mp4{frame size 768x432} progressive download and play. Please help.
    http://devindia.pixable.com/rnd/player/
    Thanks in advance,
    Premkant

    That was the first thing I thought but netflix and youtube are working great. I have noticed that it only seems to be happening on movies created using my kodak sport recorder. I am not sure if it is something to do with the source or the size of the movies.

  • How to delay creation of VideoDisplay

    My Flex' app reads an xml with different video-source-url's.
    On the same time the VideoDisplay is created. But it does not have
    the url for the VideoDisplay source property because parsing is
    taking to long.
    How can I delay the creation of the VideoDisplay component?

    "Flextoth" <[email protected]> wrote in
    message
    news:glktfo$ipm$[email protected]..
    > My Flex' app reads an xml with different
    video-source-url's. On the same
    > time
    > the VideoDisplay is created. But it does not have the
    url for the
    > VideoDisplay
    > source property because parsing is taking to long.
    >
    > How can I delay the creation of the VideoDisplay
    component?
    >
    Do you actually need to delay its creation, or just delay
    setting its source
    property?

Maybe you are looking for

  • How do I stop the pop up "An ActiveX control on this page ...?

    I recently installed an accounting program on my computer. In order to access several pages on this program, a message appears on the screen and I must address it before I can get access to my required page on the accounting program. The message is a

  • Reevaluation indicator in Vendor master

    Hi MM Gurus,           Can anybody let me know about Re-Evaluation Allowed indicator in Purchasing View of Vendor Master. Pls revert back with example for better understanding Points would be rewarded. Regards, Girish.C.M.

  • Hide/Show Today View from Lock Screen in iOS 8

    In iOS 7 I had customized for the Today View not to show from the lock screen. In iOS 7 the Setting was simple, Go to Settings > Notification Center > Turn Off "Today View" for the lock screen. I updated to iOS 8 & the Today view is much more useful

  • Suppressing Bex Messages

    Hi, I have a condition in my query and because of this I got a message popping-up when running the query.  The instruction said i can deactivate the message using RSRT1.  So That's what I did.  I took note of the BRAIN no. 144 and and tick on the sup

  • Just upgraded iPhone 4 to 7.0.3 and lost photos

    I just upgraded my iPhone 4 to iOS 7.0.3.  I thought I had backed it up to my Win8 PC, but now have only 42 (of about 900) photos.  How do I get them back?