When an invalid URL is detected either by file extension or oEmbed response, the Add to Widget button is disabled and the URL field gets a red outline.
Attempting to add an MP3 file to a video widget:
Attempting to add a YouTube video to an audio widget:
Attempting to use a non-image URL for the Image widget shows a broken image now:
Fixes #149. Fixes #171.
When an invalid URL is detected either by file extension or oEmbed response, the Add to Widget button is disabled and the URL field gets a red outline.
Attempting to add an MP3 file to a video widget:
Attempting to add a YouTube video to an audio widget:
Attempting to use a non-image URL for the Image widget shows a broken image now: