-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Yuri Sulyma
committed
Mar 13, 2022
1 parent
8a9ebd2
commit 5f27579
Showing
39 changed files
with
6,625 additions
and
9,610 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,5 +10,8 @@ node_modules | |
*.png | ||
*.svg | ||
|
||
# generated files | ||
dist | ||
|
||
# certificate | ||
/ssl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
import * as React from "react"; | ||
import {Player} from "liqvid"; | ||
|
||
export default function Link(props: React.AnchorHTMLAttributes<HTMLAnchorElement>) { | ||
const {children, ...attrs} = props; | ||
return <a target="_blank" {...attrs}>{children}</a> | ||
return <a target="_blank" rel="noreferrer" {...attrs}>{children}</a> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
import * as React from "react"; | ||
|
||
/** | ||
Display a loading screen while ractive-player is not-ready. | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// liqvid.config.ts | ||
import type {LiqvidConfig} from "@liqvid/cli"; | ||
|
||
const os = require("os"); | ||
|
||
const config: LiqvidConfig = { | ||
audio: { | ||
transcribe: { | ||
"input": "./dist/audio/audio.webm", | ||
"captions": "./dist/captions.vtt", | ||
"transcript": "./dist/transcript.json", | ||
"apiKey": "ho6IutFyHawhFGGID3vU2PEz7_46-WKHTr6zhPNDU7e_", | ||
"apiUrl": "https://api.us-south.speech-to-text.watson.cloud.ibm.com/instances/ad816af7-c138-4671-8c42-7e4e7fdd5151" | ||
} | ||
}, | ||
render: { | ||
audioFile: "./dist/audio/audio.webm", | ||
concurrency: os.cpus().length, | ||
imageFormat: "png" | ||
}, | ||
thumbs: { | ||
url: "http://localhost:3000/dist", | ||
browserHeight: 800, | ||
browserWidth: 1280, | ||
concurrency: os.cpus().length, | ||
frequency: 1, | ||
imageFormat: "png", | ||
// make sure the output pattern matches the imageFormat | ||
output: "./dist/thumbs/%s.png" | ||
} | ||
}; | ||
|
||
module.exports = config; |
Oops, something went wrong.