remove _IPFSROOT_ as it will always be ./ (IPFS de-duplicates storage by the way, it can be copied everywhere )

This commit is contained in:
fred 2022-04-10 18:49:52 +02:00
parent 1813ac0787
commit 915c7614a3
1 changed files with 16 additions and 17 deletions

View File

@ -3,11 +3,17 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>_CHANNEL_ : _TITLE_ [BunkerBOX]</title> <title>_CHANNEL_ : _TITLE_ [BunkerBOX]</title>
<link rel="icon" type="image/png" href="_IPFSROOT_/styles/logo.png" /> <link rel="icon" type="image/png" href="styles/logo.png" />
<link rel="stylesheet" href="_IPFSROOT_/styles/video-js.css" type="text/css" /> <link rel="stylesheet" href="styles/video-js.css" type="text/css" />
<link rel="stylesheet" href="_IPFSROOT_/styles/forest.css" type="text/css" /> <link rel="stylesheet" href="styles/forest.css" type="text/css" />
<link rel="stylesheet" href="_IPFSROOT_/styles/decoration.css" type="text/css" /> <link rel="stylesheet" href="styles/decoration.css" type="text/css" />
<link rel="stylesheet" href="_IPFSROOT_/styles/layout.css" type="text/css" /> <link rel="stylesheet" href="styles/layout.css" type="text/css" />
<script src="js/video.min.js"></script>
<script src="js/jquery.min.js"></script>
<script src="js/pagination.min.js"></script>
<link rel="stylesheet" href="styles/pagination.css" />
</head> </head>
<body> <body>
<header> <header>
@ -25,26 +31,24 @@
controls controls
preload="auto" preload="auto"
width="auto" height="360" width="auto" height="360"
poster="_IPFSROOT_/_VUID_.jpg" poster="_VUID_.jpg"
> >
<source src="_IPFSROOT_/_VUID_.m3u8" type="application/x-mpegURL" /> <source src="_VUID_.m3u8" type="application/x-mpegURL" />
<p class="vjs-no-js"> <p class="vjs-no-js">
Activer JavaScript SVP Activer JavaScript SVP
</p> </p>
</video> </video>
</div> </div>
</center> </center>
<article> <article>
<h1 class="video-title"> <h1 class="video-title">
_TITLE_ _TITLE_
</h1> </h1>
</article> </article>
<div id="videosChan"><div class="wrapper"></div></div> <div id="videosChan"><div class="wrapper"></div></div>
<center> <center>
<h6> <h6>
<a href="https://crowdbunker.com/v/_VUID_" target="bunker"> _\/_ </a> powered by <a href="https://astroport.com"><span>"</span>Astroport<span>"</span></a> <a href="https://crowdbunker.com/v/_VUID_" target="bunker"> _\/_ </a> powered by <a href="https://astroport.com"><span>"</span>Astroport<span>"</span></a>
@ -54,19 +58,14 @@
</main> </main>
</body> </body>
<script src="_IPFSROOT_/js/video.min.js"></script>
<script src="_IPFSROOT_/js/jquery.min.js"></script>
<script src="_IPFSROOT_/js/pagination.min.js"></script>
<link rel="stylesheet" href="_IPFSROOT_/styles/pagination.css" />
<script> <script>
var player = videojs('vbunk', { var player = videojs('vbunk', {
}); });
</script> </script>
<script> <script>
$.getJSON('_IPNSL_/history._CHANNEL_.json', function (json) { $.getJSON('_IPNSL_/history._CHANNEL_.json', function (json) {
// _IPNSL_ is showing the latest, could be relative to show the actual chain.
$('#videosChan').pagination({ $('#videosChan').pagination({
dataSource: json.Videos, dataSource: json.Videos,
pageSize: 1, pageSize: 1,