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>
<meta charset="utf-8">
<title>_CHANNEL_ : _TITLE_ [BunkerBOX]</title>
<link rel="icon" type="image/png" href="_IPFSROOT_/styles/logo.png" />
<link rel="stylesheet" href="_IPFSROOT_/styles/video-js.css" type="text/css" />
<link rel="stylesheet" href="_IPFSROOT_/styles/forest.css" type="text/css" />
<link rel="stylesheet" href="_IPFSROOT_/styles/decoration.css" type="text/css" />
<link rel="stylesheet" href="_IPFSROOT_/styles/layout.css" type="text/css" />
<link rel="icon" type="image/png" href="styles/logo.png" />
<link rel="stylesheet" href="styles/video-js.css" type="text/css" />
<link rel="stylesheet" href="styles/forest.css" type="text/css" />
<link rel="stylesheet" href="styles/decoration.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>
<body>
<header>
@ -25,26 +31,24 @@
controls
preload="auto"
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">
Activer JavaScript SVP
</p>
</video>
</div>
</center>
<article>
<h1 class="video-title">
<h1 class="video-title">
_TITLE_
</h1>
</article>
<div id="videosChan"><div class="wrapper"></div></div>
<center>
<h6>
<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>
</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>
var player = videojs('vbunk', {
});
</script>
<script>
$.getJSON('_IPNSL_/history._CHANNEL_.json', function (json) {
// _IPNSL_ is showing the latest, could be relative to show the actual chain.
$('#videosChan').pagination({
dataSource: json.Videos,
pageSize: 1,