npapi-vlc | branch: master | Ludovic Fauvet <[email protected]> | Wed Jan 2 17:11:51 2013 +0100| [8752ca929602fc5bfc6a11cba301fd1a1eaaf527] | committer: Ludovic Fauvet
Add the "controls" option to control the toolbar visibility This option is commonly used in the HTML5 video tag to define the visibility of the toolbar. > http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=8752ca929602fc5bfc6a11cba301fd1a1eaaf527 --- npapi/vlcplugin_base.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/npapi/vlcplugin_base.cpp b/npapi/vlcplugin_base.cpp index 51a36f1..9fd1567 100644 --- a/npapi/vlcplugin_base.cpp +++ b/npapi/vlcplugin_base.cpp @@ -173,7 +173,8 @@ NPError VlcPluginBase::init(int argc, char* const argn[], char* const argv[]) { b_autoloop = boolValue(argv[i]); } - else if( !strcmp( argn[i], "toolbar" ) ) + else if( !strcmp( argn[i], "toolbar" ) + || !strcmp( argn[i], "controls") ) { set_show_toolbar( boolValue(argv[i]) ); } _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
