From ee2466eb22754c7f4a3296d23f8002bb97c4dfb9 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Fri, 3 Sep 2021 22:33:58 -0400 Subject: Dictionary media import improvements (#1926) * Add base64ToArrayBuffer to StringUtil * Remove unnecessary media-util.js import * Run async requirements in serial rather than parallel * Update API.getMedia handler to convert ArrayBuffer content to base64 * Rename getImageResolution to getImageDetails * Change parameter order of getImageDetails * Pre-process and store media as an ArrayBuffer * Remove MediaUtil.createBlobFromBase64Content * Fix Anki media injection --- ext/search.html | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/search.html') diff --git a/ext/search.html b/ext/search.html index f32b5412..de0cab58 100644 --- a/ext/search.html +++ b/ext/search.html @@ -86,6 +86,7 @@ + -- cgit v1.2.3