Install ImageMagick for image conversion:
brew install imagemagick
Install tesseract for OCR:
brew install tesseract --all-languages
Or install without --all-languages
and install them manually as needed.
diff --git a/dist/shaka-player.compiled.d.ts b/dist/shaka-player.compiled.d.ts | |
index e6dcbc69da69831c5b327d4ca4a28c4a648caf8a..19c4e9b9d816f5cf12a4e2b8b3d3cf2e326c4e57 100644 | |
--- a/dist/shaka-player.compiled.d.ts | |
+++ b/dist/shaka-player.compiled.d.ts | |
@@ -5424,6 +5424,7 @@ declare namespace ಠ_ಠ.clutz { | |
static isTypeSupported (keySystem : string , contentType : string ) : boolean ; | |
} | |
} | |
+export default shaka; | |
// Generated from /home/runner/work/shaka-player/shaka-player/externs/webos.js |
Install ImageMagick for image conversion:
brew install imagemagick
Install tesseract for OCR:
brew install tesseract --all-languages
Or install without --all-languages
and install them manually as needed.
/** | |
* This function takes a canvas, context, width and height. It scales both the | |
* canvas and the context in such a way that everything you draw will be as | |
* sharp as possible for the device. | |
* | |
* It doesn't return anything, it just modifies whatever canvas and context you | |
* pass in. | |
* | |
* Adapted from Paul Lewis's code here: | |
* http://www.html5rocks.com/en/tutorials/canvas/hidpi/ |
Service Worker - offline support for the web
Progressive apps - high-res icon, splash screen, no URL bar, etc.
* { | |
font-size: 12pt; | |
font-family: monospace; | |
font-weight: normal; | |
font-style: normal; | |
text-decoration: none; | |
color: black; | |
cursor: default; | |
} |
$(function () { | |
"use strict"; | |
// for better performance - to avoid searching in DOM | |
var content = $('#content'); | |
var input = $('#input'); | |
var status = $('#status'); | |
// my color assigned by the server | |
var myColor = false; |