verbb / craft-videoembedder

MIT License
17 stars 14 forks source link

getEmbedUrl errors if Vimeo url doesn't exist #18

Closed mijewe closed 5 years ago

mijewe commented 5 years ago

If you enter a Vimeo link that doesn't exist, Craft will throw an error, rather than fail gracefully.

Steps to reproduce:

  1. use getEmbedUrl() with a broken url, eg https://vimeo.com/23584222
mijewe commented 5 years ago

19

mikestecker commented 5 years ago

Thanks for the fix! I'll push out a release