<!-- Copyright 2019 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file. -->
<!DOCTYPE html>
<html dir="$i18n{textdirection}" lang="$i18n{language}">
<meta charset="utf-8">
<title>$i18n{appTitle}</title>
<link rel="icon" type="image/svg" href="system_assets/app_icon.svg">
<style>
body {
background-color: #202124;
height: 100vh;
margin: 0;
overflow: hidden;
position: relative;
}
/*
* Any changes to this file except for these media queries should also be
* copied to index.html.
*/
@media (prefers-color-scheme: dark) {
body { background-color: #202124 }
}
@media (prefers-color-scheme: light) {
body { background-color: white }
}
/*
* This is the <iframe> style set for sandboxed chrome-untrusted:// guests.
* `user-select: none` is applied here to avoid the iframe obtaining a grey
* overlay if it is clicked while loading (b/227678322). `position: fixed` is
* needed to avoid unexpected scrolling in fullscreen (b/263329344).
*/
iframe {
border: 0;
height: 100%;
position: fixed;
user-select: none;
width: 100%;
}
</style>
<script src="chrome://resources/mojo/mojo/public/js/mojo_bindings_lite.js"></script>
<script src="/first_message_received.js"></script>
<iframe src="chrome-untrusted://media-app/app.html" allow="fullscreen; cross-origin-isolated; web-share;"></iframe>
<script src="/launch.js" type="module"></script>
</html>