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
nullif the URL does not match to allow matching other providers. - Fetch extra
information from the external service and return a
DLVideoExternalShortcutwith the video details.
-
Method Summary
Modifier and TypeMethodDescriptionReturns aDLVideoExternalShortcutfrom a given URL, ornullif the URL is not recognized.
-
Method Details
-
getDLVideoExternalShortcut
Returns aDLVideoExternalShortcutfrom a given URL, ornullif the URL is not recognized.- Returns:
- the DLVideoExternalShortcut or
null
-