Methods
(static) getMimeType(filepath)
Get the MIME type based on file extension.
Parameters:
Name | Type | Description |
---|---|---|
filepath |
string |
- Source:
- See:
Returns:
MIME type
(static) getPoster()
Get the data url of the video player poster based on the hostname.
- Source: