This commit is contained in:
ashley 2024-08-19 16:04:37 +00:00
parent adecc668f1
commit 18785ff8c7

View file

@ -2180,7 +2180,7 @@ if (/[?&]autoplay=/.test(location.search)) {
<script id="video" type="application/json"><%- JSON.stringify(inv_vid) %></script><script id="comments" type="application/json"><%- JSON.stringify(inv.comments) %></script> <script id="video" type="application/json"><%- JSON.stringify(inv_vid) %></script><script id="comments" type="application/json"><%- JSON.stringify(inv.comments) %></script>
<!-- Ambient Mode, for PokeTube --> <!-- Ambient Mode, for Poke -->
<% if(IsOldWindows) { %> <% if(IsOldWindows) { %>
<script> <script>
console.error("[AMBIENT MODE] error_device_not_supported") console.error("[AMBIENT MODE] error_device_not_supported")
@ -2196,7 +2196,7 @@ const evenCanvas = document.getElementById("ambient-canvas-2")
const oddCtx = oddCanvas.getContext("2d") const oddCtx = oddCanvas.getContext("2d")
const evenCtx = evenCanvas.getContext("2d") const evenCtx = evenCanvas.getContext("2d")
const frameIntervalMs = 760 const frameIntervalMs = 880
const canvasOpacity = "0.4" const canvasOpacity = "0.4"
let intervalId let intervalId