Active
Project:
Embedded Media Field
Version:
6.x-1.x-dev
Component:
Embedded Video Field
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 Jan 2009 at 03:34 UTC
Updated:
29 Jan 2009 at 03:34 UTC
What I am trying to do is determine if a specific video is supported by emfield prior to requesting the user to submit it. My thought was that I would simple call one of the emfield functions that parses and validates the URL and if that returned true than I would show a button on my site indicating that the video was embeddable.
However, after quite a bit of digging I cannot see how this can be done. Partially cause the function I believe does this relies on the $field array, which of course I dont have cause I am not submitting via a form.
Is there a good way to simple call a function that will take, like a YouTube URL and return whether there is a provider installed that will support it?