Crates.io | video_web_page_generator |
lib.rs | video_web_page_generator |
version | 0.2.1 |
source | src |
created_at | 2022-05-22 06:56:33.00346 |
updated_at | 2022-05-22 12:42:34.853021 |
description | A basic tool written in rust that makes a html page for embeding videos in discord and twitter from other websites. |
homepage | |
repository | https://github.com/BuyMyMojo/video-web-page-generator/ |
max_upload_size | |
id | 591059 |
size | 34,427 |
A basic tool written in rust that makes a html page for embeding videos in discord and twitter from other websites.
video_web_page_generator
Create a quick and easy Twitter and Discord compliant page to embed videos in those platforms. Make
sure the video file and the resulting .html file are both in the url location you specifiy
USAGE:
video_web_page_generator.exe [OPTIONS] --height <HEIGHT> --width <WIDTH> <PATH>
ARGS:
<PATH> The path to video file
OPTIONS:
-h, --height <HEIGHT>
The height of the video in pixels
--help
Print help information
-o, --out <OUT>
The html file to output [default: ./index.html]
-p, --poster <POSTER>
The path to a jpeg or png file you want to use as the video's thumbnail (Required for
AV1 videos to work in Discord) [default: ]
-t, --title <TITLE>
The title for the page [default: ]
-u, --url <URL>
The url where the video will be stored (with trailing /) [default:
https://buymymojo.net/Video/]
-v, --video-description <VIDEO_DESCRIPTION>
The description for the video [default: ]
-w, --width <WIDTH>
The width of the video in pixels
install with just cargo:
cargo install video_web_page_generator
Install from github with cargo:
git clone https://github.com/BuyMyMojo/video-web-page-generator.git
cd video-web-page-generator
cargo install --path ./