Commit 8752ca92 authored by Ludovic Fauvet's avatar 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.
parent 93f59579
......@@ -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]) );
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment