      */
     protected function setupVideo (url :String) :void
     {
-        var vid :VideoDisplayer = new VideoDisplayer();
-        vid.addEventListener(VideoDisplayer.SIZE_KNOWN, handleVideoSizeKnown);
-        vid.addEventListener(VideoDisplayer.VIDEO_ERROR, handleVideoError);
+        var player :FlvVideoPlayer = new FlvVideoPlayer();
+        var vid :SimpleVideoDisplay = new SimpleVideoDisplay(player);
+//        vid.addEventListener(VideoPlayerCodes.SIZE, handleVideoSizeKnown);
         _media = vid;
         addChildAt(vid, 0);
-        vid.setup(url);
+        player.load(url);
+        updateContentDimensions(SimpleVideoDisplay.NATIVE_WIDTH, SimpleVideoDisplay.NATIVE_HEIGHT);
     }
 
     /**

        }
    }

    /**
     * Handles video size known.
     */
    protected function handleVideoSizeKnown (event :ValueEvent) :void
    {
        var args :Array = (event.value as Array);
        updateContentDimensions(int(args[0]), int(args[1]));
    }

    /**
     * Handles an error loading a video.
     */
    protected function handleVideoError (event :ValueEvent) :void
    {
        log.warning("Error loading video [cause=" + event.value + "].");
        stoppedLoading();
        setupBrokenImage(-1, -1);
    }

    /**
     * Handles the INIT event for content loaded with a Loader.

                var extra :String  = (url == _url) ? "" : (", _url=" + _url);
                log.debug("Unloaded media [url=" + url + extra + "].");

            } else if (_media is SimpleVideoDisplay) {
                var vid :SimpleVideoDisplay = SimpleVideoDisplay(_media);
//                vid.removeEventListener(VideoPlayerCodes.SIZE, handleVideoSizeKnown);
                vid.unload();
                removeChild(vid);

            } else if (_media != null) {
