Ejemplo n.º 1
0
        private bool playPauseToggleIsSilent = false; //Used to indicate whether toggling the button should not issue the toggled signal

        /* Constants */
        //private const string videoSetSubtitleStartIconFilename = "video-set-subtitle-start-16x.png";
        //private const string videoSetSubtitleEndIconFilename = "video-set-subtitle-end-16x.png";
        //private const string videoSetSubtitleStartEndIconFilename = "video-set-subtitle-start-end-30x.png";

        public Video()
        {
            videoArea = Base.GetWidget(WidgetNames.VideoAreaHBox) as Box;

            InitializeVideoFrame();
            InitializePlayer();

            overlay  = new SubtitleOverlay();
            position = new VideoPosition(player);
            tracker  = new SubtitleTracker();

            Base.InitFinished += OnBaseInitFinished;
        }