Cannot embed YouTube link on CWP #2168 (#793)
Cannot embed YouTube link on CWP #2168 (#793)

* Cannot embed YouTube link on CWP #2168

- Allow overloading of EmbedResource to use Curl or Guzzle with correct proxy settings for CWP
- Added tests to cover custom dispatcher.

* FIX Switch dispatcher to be injectable, remove options

open-sausages/silverstripe-assets-gallery,open-sausages/silverstripe-asset-admin,open-sausages/silverstripe-assets-gallery,open-sausages/silverstripe-asset-admin,silverstripe/silverstripe-asset-admin,silverstripe/silverstripe-asset-admin