PeerTube/client/src/index.html

73 lines
3.1 KiB
HTML
Raw Normal View History

2016-08-09 21:45:21 +02:00
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
2018-02-22 11:54:17 +01:00
<meta name="theme-color" content="#fff" />
2019-01-31 16:32:03 +01:00
<meta property="og:platform" content="PeerTube" />
<!-- Web Manifest file -->
<link rel="manifest" href="/manifest.webmanifest?[manifestContentHash]">
2018-02-08 10:00:09 +01:00
<link rel="icon" type="image/png" href="/client/assets/images/favicon.png?[faviconContentHash]" />
<!-- logo background-image -->
<style type="text/css">
.icon-logo {
background-image: url(/client/assets/images/logo.svg?[logoContentHash]);
}
</style>
2017-06-11 12:28:22 +02:00
2016-11-04 12:50:01 +01:00
<!-- base url -->
2017-12-11 17:36:46 +01:00
<base href="/">
2019-07-10 14:06:19 +02:00
<!-- /!\ The following comment is used by the server to prerender some tags /!\ -->
<!-- title tag -->
<!-- description tag -->
<!-- custom css tag -->
<!-- meta tags -->
<!-- /!\ Do not remove it /!\ -->
</head>
<!-- 3. Display the application -->
2018-04-04 09:30:54 +02:00
<body id="custom-css">
2016-11-04 12:50:01 +01:00
<noscript>
<p>It seems you are either <strong>blocking or disabling Javascript</strong> on your browser, and we totally get that. However this endpoint uses Angular, so the front end is in full JavaScript and won't work without it.</p>
2019-08-02 10:53:36 +02:00
<p>There might be numerous reasons you refuse to use JavaScript. If it just has to do with security (or lack thereof) of JavaScript-based web applications, then depending on your threat menace you might want to go through the code running on the node you are trying to access, and look for security audits.</p>
2019-08-02 10:53:36 +02:00
<p>There are other non JS-based unofficial clients to access PeerTube. You can find a list maintained by the PeerTube project in <a href="https://framagit.org/framasoft/peertube/documentation/-/raw/master/use-third-party-application.md">the thid-party applications section</a>. You can also develop your own as our code is open source and libre software under the <a href="https://github.com/Chocobozzz/PeerTube/blob/develop/LICENSE" target="_blank" rel="noopener">GNU AGPLv3.0</a> and documented on <a href="https://docs.joinpeertube.org/api-rest-reference.html">docs.joinpeertube.org</a>.</p>
</noscript>
<div id="incompatible-browser" class="alert alert-danger" style="display: none">
<p>We are sorry but it seems that PeerTube is not compatible with your web browser.</p>
<p>Please try with the latest version of <a href="https://www.mozilla.org" target="_blank">Mozilla Firefox</a>.</p>
<p>If you think this is a mistake, do not hesitate <a href="https://github.com/Chocobozzz/PeerTube/issues/new" target="_blank">to report it</a>.</p>
</div>
<script type="text/javascript">
2020-08-24 11:55:42 +02:00
function displayIncompatibleBrowser () {
var elem = document.getElementById('incompatible-browser')
if (elem.className.indexOf('browser-ok') === -1) {
elem.style.display = 'block'
}
}
2020-08-24 11:55:42 +02:00
window.onerror = function () {
displayIncompatibleBrowser()
}
if (/MSIE|Trident/.test(window.navigator.userAgent) ) {
displayIncompatibleBrowser()
}
</script>
2020-12-22 12:05:32 +01:00
<my-app role="main">
2016-06-05 09:34:41 +02:00
</my-app>
2016-11-04 12:50:01 +01:00
</body>
</html>