public void openWindow(string id) { Hotspot current_hotspot = (Hotspot)table[id]; inputPanelControl.loadHotspot(id, current_hotspot.getName(), current_hotspot.getText(), current_hotspot.getUrl_photo()); goToHotspot(current_hotspot); videoPlayer.Pause(); }