STDMETHODIMP VLCVideo::toggleFullscreen() { libvlc_media_player_t *p_md; HRESULT hr = getMD(&p_md); if( SUCCEEDED(hr) ) { libvlc_toggle_fullscreen(p_md); } return hr; };
void VlcPlugin::toggle_fullscreen( libvlc_exception_t *ex ) { if( playlist_isplaying(ex) ) libvlc_toggle_fullscreen(libvlc_media_player,ex); }
void VlcPluginMac::toggle_fullscreen() { if (!get_options().get_enable_fs()) return; if (playlist_isplaying()) libvlc_toggle_fullscreen(getMD()); }