borgfriend/gatsby-remark-embed-video

Not work with gatsby 3/gatsby-transformer-remark 4

Closed this issue · 2 comments

y1o1 commented

This always return

VideoService could not be found

Gatsby 3.4.2
gatsby-transformer-remark 4.2

https://github.com/borgfriend/gatsby-remark-embed-video/blob/master/src/EmbedVideo.ts#L25
videoIdProcessors is always [null, null, null] when the markdown is rendering

A workaround for this is to update your video links to include the full url.

E.g. instead of using

`youtube: wBHZcECS0dk`

Use

`youtube: https://www.youtube.com/watch?v=wBHZcECS0dk`

fixed in v3.1.4