Commit 50faeb01 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

NPAPI: accept fullscreenenabled as param

Ref #11487
parent fa985c43
...@@ -167,7 +167,8 @@ NPError VlcPluginBase::init(int argc, char* const argn[], char* const argv[]) ...@@ -167,7 +167,8 @@ NPError VlcPluginBase::init(int argc, char* const argn[], char* const argv[])
set_autoplay(boolValue(argv[i])); set_autoplay(boolValue(argv[i]));
} }
else if( !strcmp( argn[i], "fullscreen" ) else if( !strcmp( argn[i], "fullscreen" )
|| !strcmp( argn[i], "allowfullscreen" ) ) || !strcmp( argn[i], "allowfullscreen" )
|| !strcmp( argn[i], "fullscreenenabled" ) )
{ {
set_enable_fs( boolValue(argv[i]) ); set_enable_fs( 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