loadingscreen.php (1048B)
1 <!-- SPDX-License-Identifier: AGPL-3.0-or-later
2 SPDX-FileCopyrightText: 2024 JayVii <jayvii[AT]posteo[DOT]de>
3 -->
4
5 <h1 style="text-align:center;">Please be patient</h1>
6
7 <p style="text-align:center;">
8 Loading <?php echo sizeof($streams["stream"]); ?> streams. This may take a
9 moment.
10 </p>
11
12 <br>
13
14 <!-- Loading Screen Animation -->
15 <div class="wrapper-loading">
16 <div class="box-wrap">
17 <div class="box one"></div>
18 <div class="box two"></div>
19 <div class="box three"></div>
20 <div class="box four"></div>
21 <div class="box five"></div>
22 <div class="box six"></div>
23 </div>
24 </div>
25
26 <!-- single quotes required, due to serialization -->
27 <form id="channels" action="/" method="post">
28 <input
29 type="hidden"
30 id="streams"
31 name="streams"
32 value='<?php echo serialize($streams["stream"]); ?>'
33 >
34 </form>
35
36 <!-- Form Submitter -->
37 <script>
38 setTimeout(
39 function(){
40 document.querySelector("#channels").submit();
41 },
42 1);
43 </script>