Trying to embed https://www.youtube.com/watch?v=TTCVn4EByfI fails, as the getRemoteMetadata step fails to retrieve http://www.youtube.com/oembed?format=json&url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DccYpEv4APec. The correct URL is of course http://www.youtube.com/oembed?format=json&url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DccYpEv4APec, so this issue can be resolved by parsing entities in the provided URL. I will open a PR shortly.
Trying to embed
https://www.youtube.com/watch?v=TTCVn4EByfI
fails, as thegetRemoteMetadata
step fails to retrievehttp://www.youtube.com/oembed?format=json&url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DccYpEv4APec
. The correct URL is of coursehttp://www.youtube.com/oembed?format=json&url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DccYpEv4APec
, so this issue can be resolved by parsing entities in the provided URL. I will open a PR shortly.