diff --git a/main.user.js b/main.user.js index b924d2c..c94730b 100644 --- a/main.user.js +++ b/main.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name PNGExtraEmbed // @namespace https://coom.tech/ -// @version 0.40 +// @version 0.41 // @description uhh // @author You // @match https://boards.4channel.org/*/thread/* @@ -12686,7 +12686,6 @@ cont = document.createElement("img"); } else if (type?.mime.startsWith("video")) { cont = document.createElement("video"); - cont.autoplay = true; cont.loop = true; cont.pause(); } else if (type?.mime.startsWith("audio")) { diff --git a/src/main.ts b/src/main.ts index 5e3f3cd..bc87c08 100644 --- a/src/main.ts +++ b/src/main.ts @@ -87,7 +87,6 @@ async function* streamRemote(url: string, chunkSize = 128 * 1024, fetchRestOnNon if (!('content-length' in obj)) return; const len = +obj['content-length']; - console.log('completed read of ', len); ptr += len; if (fetchRestOnNonCanceled) fetchSize = size; @@ -171,7 +170,7 @@ const processPost = async (post: HTMLDivElement) => { cont = document.createElement("img"); } else if (type?.mime.startsWith("video")) { cont = document.createElement("video"); - cont.autoplay = true; + //cont.autoplay = true; cont.loop = true; cont.pause(); } else if (type?.mime.startsWith("audio")) {