You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 3, 2018. It is now read-only.
It seems to check the path for being an URL, however an URL would never made it there, as MediaHelper::url() would return false for an URL (and if it made it there the strpos call would return false because the arguments are in the wrong order).
Despite the problems with this, I'm wondering what this code was supposed to do? Were MediaHelper::embed()/embedAsObject() supposed to accept URLs?