web: Readd warnOnUnsupportedContent for backwards compatibility, but mark it deprecated and unused
This commit is contained in:
parent
586c3bebf6
commit
e610c9a9ce
|
@ -20,6 +20,7 @@ export const DEFAULT_CONFIG: Required<BaseLoadOptions> = {
|
||||||
upgradeToHttps: true,
|
upgradeToHttps: true,
|
||||||
compatibilityRules: true,
|
compatibilityRules: true,
|
||||||
favorFlash: true,
|
favorFlash: true,
|
||||||
|
warnOnUnsupportedContent: true,
|
||||||
logLevel: LogLevel.Error,
|
logLevel: LogLevel.Error,
|
||||||
showSwfDownload: false,
|
showSwfDownload: false,
|
||||||
contextMenu: ContextMenu.On,
|
contextMenu: ContextMenu.On,
|
||||||
|
|
|
@ -337,6 +337,19 @@ export interface BaseLoadOptions {
|
||||||
*/
|
*/
|
||||||
favorFlash?: boolean;
|
favorFlash?: boolean;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This is no longer used and does not affect anything.
|
||||||
|
* It is only kept for backwards compatibility.
|
||||||
|
*
|
||||||
|
* Previously:
|
||||||
|
* "Whether or not to display an overlay with a warning when
|
||||||
|
* loading a movie with unsupported content."
|
||||||
|
*
|
||||||
|
* @default true
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
|
warnOnUnsupportedContent?: boolean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Console logging level.
|
* Console logging level.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue