Interface DLVideoExternalShortcutProvider
public interface DLVideoExternalShortcutProvider
Provides a way to retrieve a
DLVideoExternalShortcut
from a URL.
Implement this interface to add support for custom external video providers. The implementation should:
- Decide whether or not to process the URL (based on a regex for example).
- Return
null
if the URL does not match to allow matching other providers. - Fetch extra
information from the external service and return a
DLVideoExternalShortcut
with the video details.
-
Method Summary
Modifier and TypeMethodDescriptionReturns aDLVideoExternalShortcut
from a given URL, ornull
if the URL is not recognized.
-
Method Details
-
getDLVideoExternalShortcut
Returns aDLVideoExternalShortcut
from a given URL, ornull
if the URL is not recognized.- Returns:
- the DLVideoExternalShortcut or
null
-