{
	"name": "EmbedVideo",
	"version": "3.4.3",
	"author": [
		"[https://www.mediawiki.org/wiki/User:Octfx Octfx]",
		"[https://www.mediawiki.org/wiki/User:Alistair3149 Alistair3149]",
		"Jim R. Wilson",
		"Andrew Whitworth",
		"Alexia E. Smith",
		"Cameron M. Chunn"
	],
	"url": "https://github.com/StarCitizenWiki/mediawiki-extensions-EmbedVideo",
	"descriptionmsg": "embedvideo-description",
	"license-name": "MIT",
	"type": "parserhook",
	"requires": {
		"MediaWiki": ">= 1.39.0",
		"platform": {
			"php": ">=8.0"
		}
	},
	"MessagesDirs": {
		"EmbedVideo": [
			"i18n"
		]
	},
	"ExtensionMessagesFiles": {
		"EmbedVideoMagic": "EmbedVideo.i18n.magic.php"
	},
	"AutoloadNamespaces": {
		"MediaWiki\\Extension\\EmbedVideo\\": "includes/"
	},
	"APIModules": {
		"embedvideo": "MediaWiki\\Extension\\EmbedVideo\\ApiEmbedVideo"
	},
	"ResourceModules": {
		"ext.embedVideo.messages": {
			"messages": [
				"embedvideo-service-archiveorg",
				"embedvideo-service-bandcamp",
				"embedvideo-service-bilibili",
				"embedvideo-service-dailymotion",
				"embedvideo-service-kakaotv",
				"embedvideo-service-loom",
				"embedvideo-service-navertv",
				"embedvideo-service-niconico",
				"embedvideo-service-soundcloud",
				"embedvideo-service-sharepoint",
				"embedvideo-service-spotify",
				"embedvideo-service-twitch",
				"embedvideo-service-videolink",
				"embedvideo-service-vimeo",
				"embedvideo-service-youtube",
				"embedvideo-service-youku",
				"embedvideo-service-localvideo",
				"embedvideo-service-externalvideo",
				"embedvideo-consent-privacy-notice-text",
				"embedvideo-consent-privacy-policy"
			]
		},
		"ext.embedVideo.videolink": {
			"es6": true,
			"packageFiles": [
				"ext.embedVideo.videolink.js",
				{ "name": "fetchFactory.js", "file": "fetchers/fetchFactory.js" },
				{ "name": "queryKeyParser.js", "file": "fetchers/queryKeyParser.js" },
				{ "name": "bilibili.js", "file": "fetchers/bilibili.js" },
				{ "name": "niconico.js", "file": "fetchers/niconico.js" },
				{ "name": "oembed.js", "file": "fetchers/oembed.js" },
				{ "name": "iframe.js", "file": "modules/iframe.js" }
			],
			"styles": [
				"ext.embedVideo.consent.less",
				"ext.embedVideo.evl.less"
			],
			"position": "top",
			"targets": [
				"desktop",
				"mobile"
			]
		},
		"ext.embedVideo.consent": {
			"es6": true,
			"packageFiles": [
				"ext.embedVideo.consent.js",
				{ "name": "fetchFactory.js", "file": "fetchers/fetchFactory.js" },
				{ "name": "queryKeyParser.js", "file": "fetchers/queryKeyParser.js" },
				{ "name": "bilibili.js", "file": "fetchers/bilibili.js" },
				{ "name": "niconico.js", "file": "fetchers/niconico.js" },
				{ "name": "oembed.js", "file": "fetchers/oembed.js" },
				{ "name": "iframe.js", "file": "modules/iframe.js" }
			],
			"styles": [
				"ext.embedVideo.consent.less"
			],
			"position": "top",
			"targets": [
				"desktop",
				"mobile"
			]
		},
		"ext.embedVideo.overlay": {
			"scripts": [
				"ext.embedVideo.overlay.js"
			],
			"styles": [
				"ext.embedVideo.consent.less"
			],
			"position": "top",
			"targets": [
				"desktop",
				"mobile"
			],
			"messages": [
				"embedvideo-play"
			]
		},
		"ext.embedVideo.styles": {
			"styles": [
				"ext.embedVideo.styles.less"
			],
			"targets": [
				"desktop",
				"mobile"
			]
		}
	},
	"ResourceFileModulePaths": {
		"localBasePath": "resources",
		"remoteExtPath": "EmbedVideo/resources"
	},
	"config": {
		"EmbedVideoAddFileExtensions": {
			"description": "Adds 'flac', 'mkv', 'mov', 'mp3', 'mp4', 'oga', 'ogg', 'ogv', 'wav', 'webm' to $wgFileExtensions.",
			"value": true
		},
		"EmbedVideoEnableVideoHandler": {
			"description": "Enables the video handler which displays local videos using the html5 <video> tag.",
			"value": true
		},
		"EmbedVideoLazyLoadLocalVideos": {
			"description": "Sets 'preload=none' on every <video> tag.",
			"value": false
		},
		"EmbedVideoUseEmbedStyleForLocalVideos": {
			"description": "Styles local videos like they are embedded",
			"value": true
		},
		"EmbedVideoEnableAudioHandler": {
			"description": "Enables the audio handler which displays local videos using the html5 <audio> tag.",
			"value": true
		},
		"EmbedVideoMinWidth": {
			"description": "Minimum width of the embedded iframe.",
			"value": null
		},
		"EmbedVideoMaxWidth": {
			"description": "Maximum width of the embedded iframe.",
			"value": null
		},
		"EmbedVideoDefaultWidth": {
			"description": "Default fallback width",
			"value": 640
		},
		"FFProbeLocation": {
			"description": "Location to ffprobe",
			"value": "/usr/bin/ffprobe"
		},
		"EmbedVideoEnabledServices": {
			"description": "List of services to enable, if empty, enable all",
			"value": []
		},
		"EmbedVideoRequireConsent": {
			"description": "Explicitly require consent by only loading the iframe after the user clicks play",
			"value": true
		},
		"EmbedVideoFetchExternalThumbnails": {
			"description": "Fetch video thumbnails by querying the respective external oembed endpoints. This results in a http call.",
			"value": true
		},
		"EmbedVideoShowPrivacyNotice": {
			"description": "Require the user to acknowledge that the external service may collect user data, after giving consent",
			"value": true
		}
	},
	"ConfigRegistry": {
		"EmbedVideo": "GlobalVarConfig::newInstance"
	},
	"ExtensionFunctions": [
		"MediaWiki\\Extension\\EmbedVideo\\EmbedVideoHooks::setup"
	],
	"HookHandlers": {
		"EmbedVideoHooks": {
			"class": "MediaWiki\\Extension\\EmbedVideo\\EmbedVideoHooks",
			"services": [
				"ConfigFactory",
				"RepoGroup",
				"MainWANObjectCache"
			]
		}
	},
	"Hooks": {
		"ParserFirstCallInit": "EmbedVideoHooks",
		"BeforePageDisplay": "EmbedVideoHooks",
		"ArticlePurge": "EmbedVideoHooks"
	},
	"manifest_version": 2
}
