Closed github-actions[bot] closed 1 year ago
Wasn't a bug. It's that I had forgotten to embed the pages (framed pages don't work because of DOM and XSS security, of course).
Meanwhile this does need to catch instances where the YouTube links is followed or preceded by a thumbnail in the document, and hide that thumbnail when the video is embedded.
https://api.github.com/groton-school/knowledgebase/blob/944f9d24a27c9e3eb472eaeb3b734e6fc9472c3d/src/embed-youtube-links.js#L1