Comments (4)
here's what i did:
https://github.com/rhokstar/rhokstar.com/blob/main/components/YouTube.tsx
and then implemented YouTube component like this:
https://github.com/rhokstar/rhokstar.com/blob/main/app/page.tsx
https://github.com/rhokstar/rhokstar.com/blob/main/app/blog/%5B...slug%5D/page.tsx
and then on blog post level example:
https://github.com/rhokstar/rhokstar.com/blob/main/data/blog/hijacking-ships/aegis-hammerhead.mdx
from tailwind-nextjs-starter-blog.
I think we need to add the domain to the ContentSecurityPolicy variable in next.config.js.
from tailwind-nextjs-starter-blog.
Yup, the approach by rhokstar works, or I have a remark-webembed plugin that you could try using as well: https://github.com/timlrx/remark-webembed
from tailwind-nextjs-starter-blog.
Yup, the approach by rhokstar works, or I have a remark-webembed plugin that you could try using as well: https://github.com/timlrx/remark-webembed
ConfigReadError (/Users/fess932/git/blog/contentlayer.config.ts): Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/Users/fess932/git/blog/node_modules/async/tryEach' imported from /Users/fess932/git/blog/node_modules/remark-webembed/dist/src/modules/webembed-handler.js
Did you mean to import "async/tryEach.js"?
Error
from tailwind-nextjs-starter-blog.
Related Issues (20)
- [Feature request] navbar dropdown HOT 4
- Font is showing in production but not in local HOT 1
- Add pagination to the tags page HOT 3
- Fails to deploy to Github Pages HOT 4
- Unable to install HOT 3
- Where should I put this script? HOT 1
- Blog Posts with 'draft' Status Incorrectly Displayed HOT 2
- deploy vercel go wrong HOT 8
- Collapsable Markdown Headers/Lists HOT 1
- Add support for blog Pin to Top HOT 5
- How to enable discussions for a blogHow to enable discussions for a blog HOT 1
- Buttondown Api i can't generate help HOT 3
- Tags not updated HOT 2
- New Icons added request HOT 3
- Help with banner to visible in the homepage of the blog and inside HOT 2
- Im using convertkit but the newsletter not working!! HOT 1
- Add z-index to ThemeSwitch menu HOT 2
- How can I use Disqus in the app, help wanted HOT 2
- Question about tap to top on status bar
- Inconsistent Meta Descriptions in SEO Optimization
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tailwind-nextjs-starter-blog.