General Information

Locked
User avatar
JHPJHP
Site Admin
Posts: 216
Joined: Wed Jun 21, 2023 10:48 am

General Information

Post by JHPJHP »

YouTube Player & Downloader

• See the Chromium WebGadget for a modern solution.
Internet Explorer 11 has retired and is officially out of support.
• Registry is temporarily modified to access HTML5: FEATURE_BROWSER_EMULATION.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

• Resizable main window.
• Fullscreen mode.
• Search window with drag n' drop playlist.
• Quick search bar.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

In order to keep the binary file a standalone executable, the Playlist items are saved to an Alternate Data Stream.
The Playlist can be demonstrated from the IDE, but the items will not survive a restart, unlike a compiled executable.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

FFmpeg
yt-dlp.exe

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Player Window
F1 Key: Show/Hide the Shortcut menu.
F2 Key: Open Search Window.
F4 Key: Show/Hide the Quick Search bar.
F8 Key: Set/Reposition the "minimized" thumbnail player.
F10 Key: Redirect current video to the YouTube website.
F12 Key: Reload current video / Return to player.
Esc Key: Exit full screen, Close thumbnail player / Close window.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Command Parameters
1. Create a Shortcut from the executable.
2. From Properties > Shortcut > Target add the parameters.
3. Parameters use the following strict format: [parameter]=[value] [parameter]=[value] ...
Spaces are only allowed (required) to separate parameters.
Quotes are allowed but not necessary.
Syntax is case insensitive.

VID || VideoID : Set a start video when the player is opened.
MIN || Minimize : Open the window then minimize (DEFAULT: 0 || 1).
MAX || Maximize : Open the window then maximize (DEFAULT: 0 || 1).
X : Open the window at x location.
Y : Open the window at y location.
W || Width : Set the starting window width.
H || Height : Set the starting window height.
MW || MinWidth : Set the minimum window width.
MH || MinHeight : Set the minimum window height.
FS || FullScreen : Open the window in full screen mode (DEFAULT: 0 || 1).
FSX || FullScreenX : Open the window in full screen at x location.
FSY || FullScreenY : Open the window in full screen at y location.
FSW || FullScreenWidth : Set the full screen width.
FSH || FullScreenHeight : Set the full screen height.
AP || AutoPlay : Auto play a newly loaded video (DEFAULT: 1 || 0).
LV || LoopVideo : Loop the video / playlist continuously (DEFAULT: 0 || 1).
SR || SaveResult : Save the search results to a JSON file (DEFAULT: 1 || 0).
MR || MaxResult : Set the max number of search results (DEFAULT: 10 || 10 - 50).
OB || OrderBy : Search Parameter (DEFAULT: relevance || date | rating | title | videoCount | viewCount).
RC || RegionCode : Search Parameter (DEFAULT: null || ISO 3166-1 alpha-2 Code).
RL || RelevanceLanguage : Search Parameter (DEFAULT: en || ISO 639-1 Code).
SS || SafeSearch : Search Parameter (DEFAULT: strict || none | moderate).
VC || VideoCaption : Search Parameter (DEFAULT: none || any | closedCaption).
VD || VideoDefinition : Search Parameter (DEFAULT: any || standard | high).
VI || VideoDimension : Search Parameter (DEFAULT: 2d || any | 3d).
VU || VideoDuration : Search Parameter (DEFAULT: any || short | medium | long).
VE || VideoEmbeddable : Search Parameter (DEFAULT: true || any).
VT || VideoType : Search Parameter (DEFAULT: any || episode | movie).
APIK || APIkey : Set an API key required for searching: Google API.
The difference between stupidity and genius is that genius has its limits.
~ Albert Einstein
User avatar
JHPJHP
Site Admin
Posts: 216
Joined: Wed Jun 21, 2023 10:48 am

Re: General Information

Post by JHPJHP »

Image
The difference between stupidity and genius is that genius has its limits.
~ Albert Einstein
Locked