Video player does not play movie every time

Hello

I am a beginner with flash technology . I use "Flex builder 4.5" and tries to insert a video on a web site that play a lot of films (on DP or Direct Play mode).

My problem is that the video player does not load the film selected each time (it fail to initialize) and (how to explain properly...) when gel loading, if I select the same movie again in the list, it load it in a second.

For me, a video is "charged" when metadata are received (video in day time) and the play button is on.

But the method is called to load the video (in fact initialization) is the same every time. I have change the attribute 'source' of the video player, and the initialize() method is called automatically.

Can you help me find how to make sure that load a video on my player (in 100% of cases) which extends from the Flex mx.controls.VideoDisplay?

Or can you explain why the video player does not load the video as well on Firefox than IE or SAFARI (on MAC)? Is the plugin different? Because on an old computer with IE, the video player do not work at all (never load movies).

For now, I think to add a timer on load and every 30 seconds restart the method init if video not yet initialized. But this isn't a solution, just a patch that may not work.

I'm french, sorry for syntax errors or other. I tried to be as clear as possible. Feel free to correct me!

Happy new year to all...

Okay, I solved it by myself.
So if this could help someone, I use the attribute "stateChange" of the VideoDisplay component to manage the loading film correctly.

This site help me powerfully:

http://blog.flexexamples.com/2007/07/23/detecting-a-connection-error-when-loading-an-FLV-w ith the videodisplay control.

Good luck next time.

Tags: Flex

Similar Questions

  • Why video player does not open in alcatel 4020d fire c

    Why iam does not open the camera and video player does not work properly please send the answer to this problem and how to reduce the iam

    Can you explain in detail what is happening?

  • Media Player does not play the video, only the sound that's a .avi format and when downloaded on fb it played entirely

    the media player does not show the video noise.  Same thing in the power point presentation, I tried to download.  The video plays correctly uploaded on facebook

    It happens with all videos?

    You can download and install ffdhow and check again the question: -.

    http://sourceforge.NET/projects/ffdshow/

    or, you can try VLC Player: -.

    http://www.videolan.org/VLC/

  • I have a Pavilion notebook dv7-1175nr with a Blu - ray palyer player who does not play movies.

    Initially, it came with Vista and a Blu - ray player. He recently had a facility fresh retail of Windows 7 Pro and all the drivers & software freshly downloaded and installed on the HP site. Since the Blu - ray drive upgrade is not play movies.

    Hello

    If you use HP MediaSmart DVD to play Blu ray discs, try the following.

    HP now provides a version of PowerDVD 10 Cyberlinks which seems to be a better solution.  Download the latest installer for it on the link below and save it in your downloads folder.

    http://ftp.HP.com/pub/SoftPaq/sp56501-57000/sp56904.exe

    Once the download is complete, open windows control panel, open programs and features, make a right click the entry for HP MediaSmart DVD and select uninstall - when this process is complete, restart the laptop.

    When windows has reloaded, open your downloads folder and double-click Setup for PowerDVD 10 start the installation.  Once this done, see if your Blu ray now playing the discs OK.

    Kind regards

    DP - K

  • Media Player does not play certain things, just clips of information when I'm looking videos how to my carpentry work.

    It does not play somethings, but it will not play a lot of things, is it changeable?   Thank you

    Windows media player only supports extensions of little...

    to play the other one, you can use the player vlc

    http://Get.videolan.org/vlc/2.0.6/Win32/VLC-2.0.6-Win32.exe

  • Windows Media Player does not play my DVD from my video camera mini

    I have a Hitachi DVD cam that uses the mini DVD. My ex wants now the DVD cam so I'll try to read/copy DVDs.  Unfortunately my Media Player does not recognize that there is nothing on the disk but there is that I can look on the device itself.  Any ideas please?  I can't even watch it on my DVD player!

    Thank you very much

    Wendy

    I have a Hitachi DVD cam that uses the mini DVD. My ex wants now the DVD cam so I'll try to read/copy DVDs.  Unfortunately my Media Player does not recognize that there is nothing on the disk but there is that I can look on the device itself.  Any ideas please?  I can't even watch it on my DVD player!

    Thank you very much

    Wendy

    ======================================================
    Maybe the DVD must be finalized:

    See the following article:

    How to finalize a Hitachi Mini DVD recorder
    http://www.ehow.com/how_7336858_finalize-Hitachi-Mini-DVD-recorder.html

    Good luck...

  • Windows Media Player does not play with sound .m2ts.

    WMP does not play with sound .m2ts.  used for, it is no more.  I tried the ms fix the thing did not help the cause.  What can I do to fix this?

    Hello

    1. which version of the Windows operating system is installed on your computer?

    2 have you made changes on the computer before this problem?

    3. what version of Windows Media Player do you use?

    4. are you able to play .m2ts files to other players?

    5. what exactly happens when you try to play the file?

    I suggest you try to install Codecs and see if it helps.

    Codecs: Frequently asked questions:

    http://Windows.Microsoft.com/en-us/Windows7/codecs-frequently-asked-questions

    Warning: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    See the following article from Microsoft to check the version of Windows Media Player.

    http://support.Microsoft.com/kb/190990

    Hope the information is useful.

  • For HP2000 2b19wm DVD player does not play smoothly

    I have a 2000 2-month old laptop 2b19wm, it was bought mainly for my husband to watch DVDs while he is on the road.  It does not play smoothly the DVD, audio and video are not synchronized correctly.  I tried to play new DVDs that have never been played on any system, so they are certainly not dirty.  The reader is not bad either.  It is definitely a hardware problem or a driver.  Any suggestions?

    Hello

    Could be something to do with the playback software. What software do you use (or your husband)? Please try the following software:

    http://www.videolan.org/VLC/index.html

    Kind regards.

  • Satellite P300 - Toshiba DVD player does not play DVD

    "I have a Toshiba Satellite P300 1Ci and when I play a DVD with a Toshiba DVD player, I get an error saying:" kan niet naar een extern uitvoeren expensive video. Page External uitgang nagaoui u would beeindigd toepassing van El' or in my best English: cannot run the video to an external device. Check your configuration of the external port after you have completed this process.

    can someone help me?

    Hello

    Want to watch a DVD on the external monitor? Or can you explain what you mean with external device?
    Maybe the application should be reinstalled. You can download it on the Toshiba site.

    I don t use a Toshiba DVD player so I think that I can help you, but I use VLC media player to watch DVD s. It of a small video player that can play most audio and video files. It s really nice tool and freeware. You should try it too! ;)

  • Media Player does not play the .m4a file

    I just want to know why my player will not play a file. The file says it's a media player .m4a... I tried to download a recent version of the player, but he said that I had a newer version of it and it wouldn't download. So if I have a new or updated version of the player, why used it play the file?

    Windows Media Player uses the codecs to understand file formats. A codec is software that includes a particular file format. You will need to install a codec.

    If you click Help on the Web in the dialog box it would have been explained to you.

    http://www.Microsoft.com/windows/windowsmedia/player/Webhelp/default.aspx?&mpver=11.0.6000.6353&ID=C00D1199&ContextId=83&OriginalID=80040218

    Also if you let Windows search for the appropriate program when dbl clicking the file it'll tell you what it is and what it can play.

    http://shell.Windows.com/fileassoc/0409/XML/redir.asp?ext=M4A

    Apple's QuickTime player should also be able to play.

    http://www.Apple.com/QuickTime/Download/

  • Hi, I'm trying to use Windows Live Movie Maker to create a movie. The film is in MP4 format and the program does not allow me to open to make a new film. Windows Media Player does not play either.

    You have problems with programs:
    -Windows Live Movie Maker
    -Windows Media Player

    Error messages:
    -Windows Live Movie Maker: Sorry Movie Maker cannot open this project file. The file is not compatible with Windows Live Movie Maker or damaged. Please select a different project file. (button: "Learn more".)
    -Windows Media Player: Windows Media Player cannot play the file. The player might not support the file type or does not support the codec used to compress the file.

    Recent changes to your problem:
    None

    What have you tried to solve the problem:
    Reinstall Windows Live Movie Maker

    Format of the file:
    MP4

    You have problems with programs:
    -Windows Live Movie Maker
    -Windows Media Player

    Error messages:
    -Windows Live Movie Maker: Sorry Movie Maker cannot open this project file. The file is not compatible with Windows Live Movie Maker or damaged. Please select a different project file. (button: "Learn more".)
    -Windows Media Player: Windows Media Player cannot play the file. The player might not support the file type or does not support the codec used to compress the file.

    Recent changes to your problem:
    None

    What have you tried to solve the problem:
    Reinstall Windows Live Movie Maker

    Format of the file:
    MP4

    =============================================
    The dialog box that you quoted says "Project file" in Windows Live Movie Maker
    It would be a file with an extension WLMP. Or if the file was created with
    an earlier version of Movie Maker, it can have an extension .mswmm.

    So... just to clarify... MP4 extension or WLMP or something else?

    If the files are MP4, you will need to convert them to WMV format before
    import into Movie Maker.

    There are many programs that can do conversions...
    The following freeware is an example...:

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    Format Factory
    http://www.pcfreetime.com/
    (the file you want to download is: > FFSetup250.zip
    (FWIW... installation..., you might want to
    Uncheck all of the boxes on the last screen)

    First... after the download and installation of Format
    Factory... you can open the program and
    left click on the toolbar, the "Option" button and
    "Select an output folder to" / apply / OK.
    (this is where you find your files after they)
    are converted)

    Drag and drop your video clips on the main screen...

    Select "all to WMV" / OK...

    Click on... Beginning... in the toolbar...

    That should do it...

    For information on playback of MP4 files... the following article may be worth a visit:

    Multimedia Windows Media Player (316992)
    file formats
    http://support.Microsoft.com/kb/316992/en-us
    > scroll waaay to MPEG-4 (.mp4)

    Alternative media players:

    FWIW... it is always preferable, if you create a system restore
    point before installing any software or updates.

    With the help of the Windows Vista system restore
    http://www.howtogeek.com/HOWTO/Windows-Vista/using-Windows-Vista-system-restore/

    VLC Media Player
    http://www.videolan.org/

    Media Player Classic
    http://www.filehippo.com/download_media_player_classic/

    Apple Quicktime
    http://www.Apple.com/QuickTime/Download/

    QuickTime Alternative
    http://www.filehippo.com/download_quicktime_alternative/

    And it might be worth a try to download
    and install 'one' of the following free codec packs:

    * Proceed at your own risk *.

    Vista Codec Package
    http://fileforum.betanews.com/detail/Vista-codec-package/1159994557/1

    K - Lite Codec Pack (full)
    http://www.filehippo.com/download_klite_codec_pack/

    CCCP (combined Community Codec Pack)
    http://www.CCCP-project.NET/wiki/index.php?title=Main_Page

    Good luck...

    Volunteer - MS - MVP - Digital Media Experience J - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

  • Windows media player does not play internet files video anymore__

    on my computer windows media playeer stopped playing all internet which have been transferred and it set as my default media player

    Restore point:

    http://www.howtogeek.com/HOWTO/Windows-Vista/using-Windows-Vista-system-restore/

    Do Safe Mode system restore, if it is impossible to do in Normal Mode.

    Try typing F8 at startup and in the list of Boot selections, select Mode safe using ARROW top to go there > and then press ENTER.

    Try a restore of the system once, to choose a Restore Point prior to your problem...

    Click Start > programs > Accessories > system tools > system restore > choose another time > next > etc.

    http://www.windowsvistauserguide.com/system_restore.htm

    Read the above for a very good graph shows how backward more than 5 days in the System Restore Points by checking the correct box.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    If the above does not solve it:

    http://social.answers.Microsoft.com/forums/en-us/vistapictures/threads

    Manage your pictures and videos: play, burn, import and more with Media Player or other programs.

    They will help you when repost you your question in the Forum above.

    See you soon.

    Mick Murphy - Microsoft partner

  • Windows Media Player does not play .avi or .mpeg video files?

    I downloaded video files to the video format .avi, and then try to play them with Windows Media Player. He plays the sound for the video file, but no video. I try to convert the file to the format .mpeg, and this time that Windows Media Player says that it could not acquire a codec this file with, whatever saying he acquired a codec at the bottom of the screen. So I download the codec xvid on the internet and install it, but even in this case, the files are still playing. How can I fix it?

    I downloaded video files to the video format .avi, and then try to play them with Windows Media Player. He plays the sound for the video file, but no video. I try to convert the file to the format .mpeg, and this time that Windows Media Player says that it could not acquire a codec this file with, whatever saying he acquired a codec at the bottom of the screen. So I download the codec xvid on the internet and install it, but even in this case, the files are still playing. How can I fix it?

    ================================
    The free VLC Media Player will play about
    No matter what...

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    VLC Media Player
    http://www.filehippo.com/download_vlc/
    (works on XP/Vista/7)

    If you prefer to use Windows Media Player... maybe
    GSpot is worth a try:

    The following free utility to identify the codec you
    need to read an AVI file:

    Download GSpot
    http://www.free-codecs.com/download/GSpot.htm
    (left-click the text: "Download GSpot")
    (on the next screen...
    left click: 'Download [GSpot 2.70]')

    You don't have to install it... just unzip the file and
    GSpot.exe left click to launch.

    GSpot Super quick start
    http://www.headbands.com/GSpot/v26x/Quick_Start.html

    If all else fails... it may be worth trying to download
    and install 'one' of the following codec packs:

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    * Proceed at your own risk *.

    (1) Windows 7 Codec Pack
    http://download.CNET.com/Windows-7-Codec-Pack/3000-13632_4-10965840.html
    (2000/XP/2003/Vista/Server 2008 / 7)

    (2) K-Lite Codec Pack (full)
    http://www.filehippo.com/download_klite_codec_pack/
    (Windows 2000 / XP / 2003 / Vista / Windows7 / XP64 / Vista64 / Windows7 64)

    (3) info on CCCP (combined Community Codec Pack)
    http://www.CCCP-project.NET/wiki/index.php?title=Main_Page
    (XP SP1 or more, Vista, Windows 7 - 32 bit - 64 bit)

    And you may need to update your video driver.

    Good luck...

    Volunteer - MS - MVP - Digital Media Experience J - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

  • Flash player does not play videos. Videos HTML5 also plays do not.

    This problem started suddenly last night.

    When I try to play a video it shows the symbol of buffering, then crashes the flash plugin.

    Html5 in YouTube videos show the first frame of the video then freeze and do not play. When I uninstall flash HTML5 videos seem to work.

    It's exactly the same problem as I had before. See link: no videos playing. Fire fox. V19 Flash. Windows 8

    I don't know what to do. I tried a lot of things last time then the problem magically he resoled oneself.

    Is there a link between Html5 and flash that the problem could be?

    All advice is appreciated I'm studying right now and really need this problem.

    I have already tried:

    • update of flash player
    • install the older version of flash player
    • new installation
    • last windows update installed
    • restarted computer several times

    I think I found the problem.

    I uninstalled "Logitech gaming software" and this seems to have worked. It was the last program I installed.

    No idea how this could cause so many problems. I'm going to give one day too late confirming it worked.

    Thanks to all who have helped I really appreciate it.

    Edit:

    It looks like its fixed!

  • Video Lightbox does not play in iFrame in Internet Explorer

    I built a site to include training videos with a widget (jQuery) composition in Muse CC.

    My site plays well on Firefox and Chrome, but in Internet Explorer, the video will eject and play on my Windows Media Player.  I had my team test in IE, and they had the same problem.

    Is that what I can do to make the videos only play in the compostion and the iframe and will not appear?

    EX: programs in school full time. Powered training team

    If you open the site in FF / Chrome, it works well.  If you open in Internet Explorer, a separate pop-up window plays the video.

    Any help is appreciated!

    Thank you!

    The link no longer works, please provide link more details in case you encounter the same problem.

    This can be linked to browser plugin installed.

    Thank you

    Sanjit

Maybe you are looking for

  • R7000 - change of firmware version

    I already had firmware version: V1.0.6.28_1.1.83 installed, but now find the newest website is Firmware Version V1.0.4.30_1.1.67. Why the most recent version is down? I would like to re - download version V1.0.6.28_1.1.83

  • Question of delay at the start of vista on Satellite series

    Hello! I would like to ask - is this normal for a laptop to start Grand vista after a short break? I mean when I write my password on the beginning of the start it, it looks like a hard drive takes a few seconds to "break" and after she, all programs

  • How to set up and test the Profibus network, using the number of piece OR interface master/slave 780161-01

    I bought this card of NEITHER. I've been in contact with Comsoft which apparently is the developer of this Council. I used the Configurator II to try to build the network. The GSD file for my slave is entered. I can also see the GSD file for the mast

  • Word, lines background color table

    Hello I need help working table, the background color of line. I have a different table from the doc. but this specific table will be the place where the bookmark (test2). And this table should have all the lines of even number of color gray or any o

  • Separate values in an excel file and tracing

    Hello I use excel reading table vi to read values from an excel file. I see the data in the output. I wanted to take the first two columns and multiply each value with 20 m and then it draw in a XY Chart. I enclose the files below. Thanks in advance