<!DOCTYPE html>
<html lang="{{ lang }}">

	<head>
		<meta charset="utf-8">
		<base href="{{ baseURL }}">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
		<meta name="robots" content="noindex">
		<meta name="googlebot" content="noindex">
		<meta name="description" content="{{ title ~ ' - ' ~ siteName }}">
		<meta name="msapplication-TileColor" content="{{ themeColor }}">
		<meta name="theme-color" content="{{ themeColor }}">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<link rel="manifest" href="manifest.webmanifest">
		<link rel="mask-icon" href="assets/img/maskable_icon.png" color="#ffffff">
		<link rel="shortcut icon" href="favicon.ico" type="image/ico">
		<title>{{ title ~ ' - ' ~ siteName }}</title>
		<link rel="stylesheet" href="assets/css/player-v3.1.min.css">
		<link rel="stylesheet" href="assets/css/style-v3.2.min.css">
		{{ GA }}
		{{ GTM_Head }}
	</head>

	<body class="videoplayer">
		{{ GTM_Body }}
		<div id="mContainer" class="embed-container">
			<div class="embed-wrapper">
				<h1 id="message" style="{{ isError ? 'display:block' : '' }}">{{ message }}</h1>
			</div>
		</div>
		<script>
			if ("serviceWorker" in navigator) {
				navigator.serviceWorker
					.register('sw.js')
					.then(function(res) {
						console.debug("service worker registered")
					})
					.catch(function(err) {
						console.debug("service worker not registered", err)
					})
			}
		</script>
		{{ Histats }}
		{{ PopupAds }}
	</body>

</html>
