public PluginHostSvc()
        {
            _host1        = Utils.I.OCCHost?.GetService <IOCCHostGeneral>();
            _overlay      = Utils.I.OCCHost?.GetService <IOCCHostOverlay>();
            _overlayEx    = Utils.I.OCCHost?.GetService <IOCCHostOverlayEx>();
            _playback     = Utils.I.OCCHost?.GetService <IOCCHostPlaybackController>();
            _hostSerenity = Utils.I.OCCHost?.GetService <IOCCHostSerenity>();
            _videoOverlay = Utils.I.OCCHost?.GetService <IOCCHostVideoOverlay>();

            _playback?.RegisterForVideoPlaybackNotifications(true);
            _overlay?.RegisterForVideoCellNotifications(true);
            _videoOverlay?.RegisterForVideoViewNotifications(true);

            _pluginWidth = 300;
        }
Exemple #2
0
 /// <summary>
 /// <see cref="IHostService.RegisterForVideoVideoPlaybackEvents"/>
 /// </summary>
 public void RegisterForVideoVideoPlaybackEvents()
 {
     _playbackController.RegisterForVideoPlaybackNotifications(true);
 }