                 var extra :String  = (url == _url) ? "" : (", _url=" + _url);
                 log.debug("Unloaded media [url=" + url + extra + "].");
 
-            } else if (_media is VideoDisplayer) {
-                var vid :VideoDisplayer = (_media as VideoDisplayer);
-                vid.removeEventListener(VideoDisplayer.SIZE_KNOWN, handleVideoSizeKnown);
-                vid.removeEventListener(VideoDisplayer.VIDEO_ERROR, handleVideoError);
-                vid.shutdown();
+            } else if (_media is SimpleVideoDisplay) {
+                var vid :SimpleVideoDisplay = SimpleVideoDisplay(_media);
+//                vid.removeEventListener(VideoPlayerCodes.SIZE, handleVideoSizeKnown);
+                vid.unload();
                 removeChild(vid);
 
             } else if (_media != null) {

     */
    protected function setupVideo (url :String) :void
    {
        var vid :VideoDisplayer = new VideoDisplayer();
        vid.addEventListener(VideoDisplayer.SIZE_KNOWN, handleVideoSizeKnown);
        vid.addEventListener(VideoDisplayer.VIDEO_ERROR, handleVideoError);
        _media = vid;
        addChildAt(vid, 0);
        vid.setup(url);
    }

    /**

        }
    }

//    /**
//     * Handles video size known.
//     */
//    protected function handleVideoSizeKnown (event :ValueEvent) :void
//    {
//        const size :Point = Point(event.value);
//        updateContentDimensions(size.x, size.y);
//    }

//    /**
//     * 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.
