Change url validation to rely on entity validation instead of custom conditions.
I made a branch for an approach where we create a dummy media entity to validate instead of using custom code to validate the url.
This is my first time using issue forks, so let me know if I messed anything up! Happy to make changes!