AudioDidact\SupportedSites\ManualUpload
Synopsis
class ManualUpload
extends SupportedSite
{
- // Inherited members from SupportedSite
- protected Video $video;
- // methods
- public void __construct()
- public bool allDownloaded()
- public void downloadThumbnail()
- public void downloadVideo()
- public void convert()
- // Inherited methods from SupportedSite
- public static void supportsURL()
- public static bool|string getDuration()
- public static bool|string getDurationSeconds()
- public static bool allDownloadedVideo()
- public void allDownloaded()
- public abstract void downloadThumbnail()
- public abstract void downloadVideo()
- public void applyArt()
- public void convert()
- protected bool downloadWithPercentage()
- public Video getVideo()
- public static void echoErrorJSON()
Hierarchy
Coverage
Methods | 0% | 0 / 5 |
Lines | 0% | 0 / 55 |
Members
protected
- $video — \AudioDidact\Video
Methods
public
- __construct()
- allDownloaded() — Checks if all thumbnail, video, and mp3 are downloaded and have a length (ie. video or audio are not null)
- convert()
- downloadThumbnail()
- downloadVideo()
Inherited from AudioDidact\SupportedSites\SupportedSite
protected
- downloadWithPercentage() — Download the video to $localFile with a given $url While downloading output progress to UI as JSON array
public
- allDownloaded()
- allDownloadedVideo() — Checks if all thumbnail, video, and mp3 are downloaded and have a length (ie. video or audio are not null)
- applyArt()
- convert() — Converts mp4 video to mp3 audio using ffmpeg
- downloadThumbnail()
- downloadVideo()
- echoErrorJSON()
- getDuration() — Get duration of media file from ffmpeg
- getDurationSeconds() — Get duration in seconds of media file from ffmpeg
- getVideo() — Returns the current Video object
- supportsURL()