VideoDisplay not loading new video on a Mac

Hi Everyone,
I am at the final stages of releasing a product to my client and if I dont get this problem fixed it may be detrimental to me getting paid, so much hair has been pulled out so far!!!
I have a created a bbc iplayer type application that downloads videos, stores them for viewing offline and plays the selected one.   Before the selected video is played, a 10 second flv containing the clients logo plays.
This works fine on a windows system but a Mac doenst like it.   The intro animation plays, but when it is finished it does not play the second video loaded into the videodisplay component.
If this works on a windows system it means there is nothing wrong with my code - right?    The  both videos exist and the player plays both so therefore the code is ok.  Is there a known problem about how the videodisplay component renders video on the Mac?
I thought one of the benefits of using something like Air was that you didnt have to worry about the operating system it resides on.
Here is a simplified version of my code below if anyone can spot why this would be.
//Called on creationComplete
protected function onComplete(evt:FlexEvent):void { launchSplash() }
protected function launchSplash():void
   //trace(">>VideoPlayerPanel:launchSplash--")
   _videoDisplay.source = "assets/Ident.flv";
   _videoDisplay.addEventListener(VideoEvent.COMPLETE,onSplashComplete)
   disablePlayercontrols()  
protected function onSplashComplete(evt:VideoEvent):void
   trace(">>VideoPlayerPanel:onSplashComplete--")
   _videoDisplay.removeEventListener(VideoEvent.COMPLETE, onSplashComplete)
   _videoDisplay.stop();
   _videoDisplay.source = null;
   _videoDisplay.close()
   Alert.show("Starting 1.5 Second Timer","onSplashComplete")
   var _pauseTimer:Timer  = new Timer(1500,1)
    _pauseTimer.addEventListener(TimerEvent.TIMER_COMPLETE, onTimerComplete)
    _pauseTimer.start()
   function onTimerComplete(event:TimerEvent):void
    trace(">>VideoPlayerPanel:onSplashComplete:onTimerComplete--")
    Alert.show("Timer Completed - Setting Video to play","onTimerComplete")
    _pauseTimer.removeEventListener(TimerEvent.TIMER_COMPLETE, onTimerComplete)
    _pauseTimer.reset()
    playSelectedVideo()
protected function playSelectedVideo():void
   trace(">>VideoPlayerPanel:playSelectedVideo--")
   Alert.show("Video Should be playing","playSelectedVideo")
   _videoDisplay.source = _vidSource;
   _videoDisplay.play()
   enablePlayercontrols()
   if(_videoData.type.toString() == "audio"){showAudioImage()}
If anyone can help me on this one I greatly appreciate it as I work on my own so have no one to look over my code...
THANKS!

Hi,  OK here is the basic code in two forms - one attached and the other one
pasted below:
The Ident video plays fine, but the video loaded in by the user does not
play on the Mac (fine on windows)
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" initialize="init()">
     <mx:Panel width="100%" height="100%" title="Video Window">
          <mx:VideoDisplay id="_vidDisplay" width="100%" height="100%" source="ident.flv" autoPlay="false" />
          <mx:ApplicationControlBar width="100%">
               <mx:TextArea height="20" width="100%" text=""/>
               <mx:Button label="Browse" click="{browseForFile(event)}" />
               <mx:Button label="Play" click="{_vidDisplay.play()}" />
          </mx:ApplicationControlBar>
     </mx:Panel>
     <mx:Script>
          <![CDATA[
                    import flash.events.Event;
                    import flash.events.MouseEvent;
                    import flash.filesystem.File
                    import mx.events.VideoEvent;
                    protected var _appDir:File;
                    [Bindable]
                    protected var _vidSource:String;
                    protected function init():void
                         _vidDisplay.addEventListener(VideoEvent.COMPLETE,onSplashComplete)
                    protected function browseForFile (evt:MouseEvent):void
                         trace(">>Main:browseForFile--")
                         _appDir = File.userDirectory.resolvePath("UKA");
                         _appDir.browseForOpen("Select your video to load")
                         _appDir.addEventListener(Event.SELECT,onSelected)
                    protected function onSelected(evt:Event):void
                         trace(">>Main:onSelected--",_appDir.nativePath)
                         _vidSource = _appDir.nativePath;
                         _vidDisplay.play();
                    protected function onSplashComplete(evt:VideoEvent):void
                         trace(">>Main:onSplashComplete--", _appDir.nativePath)
                         _vidDisplay.removeEventListener(VideoEvent.COMPLETE,onSplashComplete)
                         _vidSource = _appDir.nativePath;
                         _vidDisplay.source = _vidSource;
                         _vidDisplay.play();
               ]]>
          </mx:Script>
</mx:WindowedApplication>
best wishes,
Robert Eastham

Similar Messages

  • Mail not loading new gmail message

    I have Apple Mail 4.3 and since 22 November it is not loading new gmail messages. New messages are appearing in gmail and iphone, but not in Mail - any ideas why this would be

    I'm facing the same problem since 27 Dec 2010, can't find and fix for this problem.
    I can download other mail accounts except imap.gmail.com, it just show loading and nothing happen, and it also choke up almost all my internet bandwidth.
    I gave up and switched to outlook for mac and no such problem.
    Hope apple can look into this problem and I'm sure there are more out there having same issue.

  • My macbook will not load online videos

    My macbook will not load online videos such as youtube or CNN. the videos will just be a black screen and will not load. i have tried using different browsers and also have uninstalled and reinstalled Adobe. what else could it be? Thanks

    If you can't install or update Flash, follow these instructions.
    If you have installed the latest version of Flash, please take each of the following steps that you haven't already tried. After each step, relaunch Safari and test. For a "missing plug-in" error, start with Step 8. Back up all data before making any changes.
    Step 1
    You might have to log out or restart the computer before a Flash update takes effect.
    Step 2
    From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Privacy ▹ Remove All Website Data...
    and confirm. Close the window. Then select
               ▹ System Preferences… ▹ Flash Player ▹ Advanced
    and click Delete All. Close the preference pane.
    Step 3
    If you're only having trouble with YouTube videos, log in to YouTube and load this page. You may see a link with the text "Leave the HTML5 Trial." If so, click that link.
    Step 4
    a. If you get a warning of a "blocked" or "outdated" plug-in, then select the Security tab in the Safari preferences window. In the list of plugins on the left, there should be one—and only one—entry for "Adobe Flash Player," showing the same version number that you installed. Select that entry. On the right there will be a list of websites for which you have specifically allowed Flash, if any. It's normal for the list to be empty. Below that is a menu labeled
              When visiting other websites
    From that menu, select either Allow or Ask.
    b. If you still get the alerts, then go back to the Flash Player preference pane and select the Advanced tab. Click Check Now. Quit and relaunch the browser.
    c. If the alerts still persist, triple-click anywhere in the line below on this page to select it:
    /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources
    Right-click or control-click the highlighted text and select
              Services ▹ Open
    from the contextual menu.* A folder should open. Inside it, there should be a file named "XProtect.meta.plist". If that file is missing and you know why it's missing, restore it from a backup or copy it from another Mac running the same version of OS X. Otherwise, reinstall OS X.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.
    Step 5
    In the Safari preferences window, select the Advanced tab and uncheck the box marked
              Stop plug-ins to save power
    Step 6
    Open this folder as in Step 4:
    /Library/Internet Plug-Ins
    Delete the following item, or anything with a similar name, if present:
              Flash Player (failing).plugin 
    You may be prompted for your login password.
    Step 7
    Re-download and reinstall Flash. Download it from the domain "get.adobe.com". Don't click a link from any other website, including this one, because you can't trust links. They may be an attempt to trick you into installing malware masquerading as Flash. Type the address into the browser window. Never download a Flash update from anywhere else.
    Step 8
    If you get a "missing plug-in" error, select
              Safari ▹ Preferences... ▹ Security
    from the Safari menu bar and check the box marked  
              Allow (or Enable) plug-ins
    Then click the button marked
              Manage Website Settings...
    if present and make sure that the website is not blocked for Flash.
    Step 9
    Select
              Safari ▹ Preferences... ▹ Extensions
    from the Safari menu bar. If any extensions are installed, disable them.

  • Audio does not load with video

    The audio does not load with video in 12?

    Welcome to the forum.
    Can you provide us with a bit more information, please?
    What OS version are you using?
    What are the full specs. of the AV file, that is not Importing with Audio?
    What Project did you set up, at New Project?
    Exactly what steps were used to Import that AV file?
    Did you allow adequate time for PrE 12 to Conform the Audio portion of your file?
    Good luck,
    Hunt

  • My LG G3 gets stuck in an "updating" loop and not load new emails. How do I fix this?

    My LG G3 gets stuck in an "updating" loop and not load new emails. How do I fix this?

    If you toggle Airplane mode On/Off, does it resolve?

  • Mail will not show new emails on my Mac Air but sends OK. Mail server is working

    Hello
    As I said above, Mail will not show new emails on my Mac Air but sends mails OK. The Mail server is working because my iPad is receiving and displaying incoming messages.
    Your advice is most welcome.
    Thanks!

    ''LeoJoy [[#question-1058991|said]]''
    <blockquote>
    Thunderbird successfully displays all of my e-mail accounts in the list of accounts and displays all of the inboxes correctly however it doesn't display the e-mails at my newest address in the unified inbox. To see them, I have to click on that particular e-mail accounts inbox. In every way, this account appears to be set up the same as the all the other ones. The newest e-mail account is a second account through Zoho. What do you think is the problem?
    Mac OS 10.9
    Thunderbird 31.6
    [email protected]
    </blockquote>
    Thank you. I had to select the search from the menu instead og by right clicking but it worked just the same.

  • Could not load rented video on new Nano.  Error code - 0xE00002BE

    I could not load a rented movie on my new Nano. I was able to load another movie however not this one (Her Best Move). Error code given was 0xE00002BE. Plenty of space available.

    I'm having the same problem. Any luck resolving the issue?

  • Firefox will not load pictures, videos or more than one tab at a time. Help!

    Hi there,
    I have reinstalled Firefox 3.6 a few times, but it doesn't seem to fix the problem. When I try and load a site with pictures, videos (such as YouTube, but including a blog post with pictures), or more than one tab at a time, I just get "Untitled" tabs that don't even register the address. This happens especially when clicking to open a link in a new tab from a Google Reader.
    At this point too, a lot of pages will not load correctly; even Firefox Help as it turns out!

    Sorry there is no telephone support. You could try the IRC if you want a quick response, ( whilst it is [https://support.mozilla.com/en-US/kb/ask open] )
    Firefox 4 is not supported, but firefox 3.6 is
    * see [[installing a previous version of firefox]]
    There is a change to a preference which may help, post back with more details of your problems please.

  • Could not load rental video message

    I Downloaded a rental movie from the iTunes Store on my iPad mini after the download the movie appeared in the videos app and I started watching almost immediately after the download was completed. After about 20mins the movie stopped playing and I got a message on the screen saying could not load video. I checked the chapters section on the rental movie and I could see all the chapters loaded. But when I clicked on individual chapters after the 20th min I am getting the same message could not load video. Apparently I could make out that only the chapters containing the first 20mins of the movie are playing and the rest of the chapters are not playing. What could be the issue? Pls help. I know the rental movie lasts for 24hrs but now that I am getting the could not load movie message how will this time period work out ? If there was a problem with the download do

    Hello sameer4mchennai,
    Thanks for using Apple Support Communities.
    Please report the problem with the rental movie by following the steps in the article below.
    How to report an issue with your iTunes Store, App Store, Mac App Store, or iBooks Store purchase
    http://support.apple.com/kb/ht1933
    Take care,
    Alex H.

  • Photoshop CC not loading on MacBook Air with Mac OS 10.9 (Mavericks)

    Photoshop CC is not loading at all after updating my 2013 MacBook Air with Mac OS 10.9. The error message (in German as I am using the German version) says "Konnte Photoshop nicht initialisieren da ein Programmfehler aufgetreten ist" ("couldn't initialize photoshop since a program error occurred") . Application launcher is updated to the latest version and deinstalling and re-installing photoshop CC didn't change anything. What can I do?

    Hi michelangelo52,
    Please refer the KB : http://helpx.adobe.com/creative-cloud/kb/troubleshoot-install-logs-cc.html

  • 5230 Facebook App not loading news feed properly

    I've had the 5230 for a couple of happy months but now the preinstalled Facebook app has gone a bit weird.  It connects as normal and most things work except the most important one - the news feed!  When it loads, I end up with a blank screen where the feed should be.  To add insult to injury, I thought I'd try Nokia for Facebook & Twitter for Ovi store but when I download, it sticks on 0%. 
    I can access Facebook okay on the Snaptu app but that's not as easy on the eye.  Anyone else having any probs with the standard Facebook app?  So annoying!

    Update - Reinstalled app which was a hassle considering ovi insists it is not available for the 5230 even tho the phone comes with it. Prats, making me trawl sites needlessly. Anyway, the news feed loaded again, but when you clicked on "other" for more feed it did not load. Today it will load a 2nd page but not a 3rd. Bizarre. This software blows.

  • Firefox is not loading websites properly on our mac.

    Firefox is not loading banners/background images/various interactive buttons etc on '''all''' web sites: I'm using Firefox/3.6.12 on Mac OS 10.4.11
    Other browsers are fine: ie Safari and Opera.
    Firefox is working fine on our PC.
    I have taken screen shots of Google home page and Firefox home page in Ff and Safari to illustrate this point and can email these to you so you can see what's happening. Ff was working fine yesterday.
    Entering extra information as requested I've noticed that the Default Plugin is showing as disabled in the Technical info under the Trouble shooting menu but is showing as enabled in the plugins list in the Ff drop down.

    Firefox > Preferences > Content : Fonts & Colors > Colors > [X] "Allow pages to choose their own colors, instead of my selections above"
    See also:
    * [[Website colors are wrong]]

  • Ipad will not load new email

    ipad will not load any new emails.  i have one through outlook and one gmail.  neither will load anything new.

    Do you have a wifi or 3 g connection?
    Did it used to work?  What does the mail app do when you open it?  Is there the little circle at the bottom, checking for new mail.
    Have you checked the accounts from safari, or a computer, to see if it is an ISP problem?

  • Firefox will not load any video sites (hulu, stagevu, netflix).

    Firefox or googlechrome will not load any sort of videos playing sites. This is a recent issue. I've watched videos on hulu for the past couple months with no problem.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    Your More system details list shows some modified network.http prefs that do not have the default value.<br />
    Try to disable HTTP pipelining and reset all user set network.http prefs via the right-click context menu to their default values.
    *http://kb.mozillazine.org/about:config
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />
    *Use the Filter bar at to top of the about:config page to locate a preference more easily.
    *Preferences that have been modified show as bold (user set).
    *Preferences can be reset to the default via the right-click context menu if they are user set
    *Preferences can be changed via the right-click context menu: Modify (String or Integer) or Toggle (Boolean)

  • Why can I not sync my videos on my Mac computer to my iPad

    I'm trying to put videos on my iPad from my computer and it says that my iPad will not sync because my iPad does not accept the software, but my boyfriend has the iPad 2 and he was able to put the videos from the Mac computer on to his ipad2

    I've just been given the best advice - transfer the clip to i Movie and then export to i Tunes.
    I think being this simple, it should be explained by Mac support.
    Stevenfromnorthfreo

Maybe you are looking for

  • Incorrect Profitability for AR Credit Memo

    I have facing a problem of Incorrect Profitability in AR CreditMemo. I created a AR CreditMemo for 100pcs an ITEM A at $10. Now this credit memo is showing a loss of $1000. If my item purchase price or last cost is $9. Then it should show me a loss o

  • Expired Items Report

    Hi, I'm trying to create a expired items report component. If I look at wwv_things you find the columns: - EXPIREMODE (Values PERMANENT,DATE,NUMBER) - EXPIREDATE - EXPIRENUMBER With this I'm able to determine whether an item is expired. However I can

  • XI - Backend communication

    XI system is connected to a backend SAP system. The communication is through proxies. As I understand, service user is used for calls made from XI system to backend. - Are user accounts maintained in XI system? - Is there any way to get the Logged in

  • Error Message 507 while reloading software

    I have BB 9700 bold having os 6 installed on it and was reloading the software again, but after restoring my data  on my  bb desktop (for mac) , there was a notification to update the software and then suddenly it crashed in the middle. After that it

  • Apple tv reboots trying to play a number of mp3 files I have

    I have hundreds of mp3 files that do not play on my Apple TV; although, they play fine on iTunes, and iPod Classic, and iPod Shuffle. The files were recorded on Windows and have the following info: kind: MPEG audio file bit rate: 96 kbs sample rate: