Page 2 of 3

Re: YouTube Player

Posted: Sun Aug 06, 2017 1:00 am
by JHPJHP
Updated:
- added extended video access
- added additional search & command parameters
- updated the shortcut menu [ F1 ]
- added redirect option [ F10 ]

Re: YouTube Player

Posted: Mon Aug 14, 2017 2:49 am
by JHPJHP
Updated:
- updated the [ F1 ] Shortcut menu
- removed the [ F2 ] Full Screen Shortcut key
- switched the [ F3 ] Search Window Shortcut key to [ F2 ]
- added back the On Screen Display (OSD) Full Screen icon
-- the YouTube player Full Screen icon now controls the PureBasic window
-- double-clicking the window also toggles the Full Screen display on / off

NB*: Included a JavaScript event listener and function that can react to changes to the document title.
- document title can be changed from PureBasic using (DOM) existing code

------------------------------------------------------------

Updated:
- squashed some bugs and cleaned up the code a bit
- the DIV menus are no longer viewable from Full Screen

NOTE: While the Shortcut Menu cannot be viewed in Full Screen, there is a simple fix, but it would require writing custom controls.
- could also be done using an iFrame and some additional DOM calls

NB*: The MP4 Player was also updated.

Re: HTML5 YouTube Player

Posted: Thu May 23, 2019 5:34 pm
by JHPJHP
Updated:
- squashed a bug that would crash the program
- made a couple small changes to the code

Squashed a Bug
Program would crash when reloading the default start video [ F12 ].

NOTE: Create a play-list from the Search Window (drag & drop or Insert key).

NB*: Press [ F1 ] to see all the available options (i.e. MAIN SHORTCUT KEYS: [ F2 ] Open the Search window).

Re: HTML5 YouTube Player

Posted: Wed Sep 25, 2019 5:13 am
by JHPJHP
Updated:
- added video downloading

Video Downloading
The HTML5 YouTube Player already includes a simple search window, it was a no-brainer adding the youtube-dl binary, mentioned in this post by Rinzwind.

1. Press [ F2 ] to open the Search window.
2. Search for a video by name, description, category, etc.
3. Press the Download button.
4. Partial and completed downloads can be found in the [ videos ] folder.

Move the mouse pointer over the Taskbar icon to view real-time download percentages.
Closing the search window or exiting the application will not stop videos from being downloaded.

Multiple Downloads
- execute a download on multiple single searches
- execute a download on a created playlist

Create a Playlist by dragging and dropping previously returned search images onto the YouTube logo.

NB*: The playlist is saved to an ADS when created from the executable not the IDE.

Re: HTML5 YouTube Player

Posted: Thu Sep 26, 2019 12:15 am
by JHPJHP
Updated:
- added Update youtube-dl button
- added a few small enhancement
- squashed a couple bugs

NOTE: Microsoft Visual C++ Redistributable binaries were added to the package; not needed on most systems.

NB*: Clicking an arrow button past the last search result will access the next group of videos related to your search.

Re: HTML5 YouTube Player

Posted: Fri Sep 27, 2019 3:48 pm
by JHPJHP
Updated:
- added High Quality video button
- added the ffmpeg.exe binary
- added license files
- optimized parts of the code
- squashed some bugs

Included script by luis: HTMLEncoder / HTMLDecoder

High Quality
If available, high quality audio and video files are downloaded separately, then merged into a supported format using FFmpeg.

NB*: Download package size has greatly increased due to the included binaries.

HTML5 YouTube Player

Posted: Sat Sep 28, 2019 6:07 am
by JHPJHP
Updated:
- added the ability to cancel downloads
- squashed a few bugs
- optimized various parts of the code

NOTE: There is a new version of youtube-dl.exe; this would be a good time to test the update feature available from the Search window.

Cancel Downloads
Pressing the close [ x ] button in a Download window (located in the taskbar) will open a prompt to cancel the download.
Using the Search window, downloading the previously cancelled video will resume from where it terminated.

NB*: Even if the Main window is closed, Download windows will remain open (up to one hour) while processing.

Re: YouTube Player & Downloader

Posted: Fri Oct 04, 2019 9:52 pm
by JHPJHP
Updated:
- added a thumbnail player
- added the option to download audio only
- squashed a couple bugs

Thumbnail Player
When the main window (YouTube Player) is minimized, a thumbnail version of the player opens in a corner of the screen.
Pressing the [ F8 ] key slides the thumbnail player to a different corner of the screen.

Audio Only
Supports three formats: MP3, WAV, FLAC (i.e. mp3 @ 192 kbit/s).

Re: YouTube Player & Downloader

Posted: Sat Feb 08, 2020 8:36 pm
by JHPJHP
Updated:
- added Save Results to the Search window
- squashed a major Search window bug and a couple minor bugs
- updated the FFmpeg binaries

FFmpeg binaries have also been updated in the following packages:
- Deform Image: MLS
- Video Snipping Tool

Re: YouTube Player & Downloader

Posted: Fri Jun 12, 2020 5:00 pm
by JHPJHP
Updated:
- added Quick Search
- improved various parts of the code
- squashed a couple bugs

added Quick Search
- press the [ F4 ] key to open the Quick Search bar

Re: YouTube Player & Downloader

Posted: Fri Jun 12, 2020 9:24 pm
by JHPJHP
Updated:
- patch a glaring buffer overflow
- added additional error checking
- corrupt files are now saved for additional reference

Re: YouTube Player & Downloader

Posted: Sun Oct 18, 2020 7:09 pm
by JHPJHP
Updated:
- patched a small bug

The problem was noticed after testing the application using the latest version of PureBasic.

Re: YouTube Player & Downloader

Posted: Tue Mar 23, 2021 5:00 pm
by JHPJHP
Updated:
- improved thumbnail player

Thumbnail Player
When the main window (YouTube Player) is minimized, a thumbnail version of the player opens in a corner of the screen.
Pressing the [ F8 ] key slides the thumbnail player to a different corner of the screen.

NOTES:
Drag / Drop video image onto the YouTube logo to build a playlist.
PureBasic Window and WebGadget seamlessly handle the YouTube Players built-in full screen option.

NB*: Press the [ F1 ] key from the main window to view all available options.

Re: YouTube Player & Downloader

Posted: Tue Aug 03, 2021 2:34 am
by JHPJHP
Updated:
- numerous improvements
- squashed a couple bugs

Fixed some weird logic where the Quick Search bar would only return "Video Not Available".
In addition, at various times the player responded as if it had been redirected to the YouTube website [ F10 ], disabling most controls.

Re: YouTube Player & Downloader

Posted: Sat Jan 21, 2023 7:47 am
by JHPJHP
Updated:
- replaced youtube-dl.exe with yt-dlp.exe

More Information:
- youtube-dl.exe
- yt-dlp.exe