项目地址: https://github.com/QuintionTang/react-blog
https://github.com/briteming/react-blog/
演示博客:https://react-blog-b5bg.vercel.app/
https://react-blog-b5bg.vercel.app/articles/fh 不能显示视频。
p.s:
https://github.com/briteming/react-blog/blob/master/libs/posts-md.js ,注意第45行的改动:把.use(remarkhtml)改为.use(remarkhtml, { sanitize: false })
保存更改,2分钟后,https://react-blog-b5bg.vercel.app/articles/fh 即可显示视频。
----------------------------------------------
https://github.com/omidbaharifar/nextjs-blog
https://github.com/briteming/onb/
https://github.com/briteming/onb/blob/main/lib/posts.js ,把第57行的.use(html)改为.use(html, { sanitize: false })
https://onb-three.vercel.app/
https://onb-three.vercel.app/posts/fh 能显示视频了
-------------------------------------------------------------
https://github.com/briteming/bnb
https://github.com/briteming/bnb/blob/main/lib/posts.tsx
https://bnb-taupe.vercel.app/ 能显示视频了
---------------------------------------------------------
https://github.com/briteming/snbu/
https://github.com/briteming/snbu/blob/main/lib/post.js
https://snbu.vercel.app/
https://snbu.vercel.app/posts/fh 能显示视频了
------------------------------------------------------------
https://github.com/briteming/nbsk/ ,删除package-lock.json. 修改
https://github.com/briteming/nbsk/blob/main/src/lib/posts.ts的第71行
https://nbsk.vercel.app/blog
https://nbsk.vercel.app/blog/fh 能显示视频了
-------------------------------------------------------
https://github.com/briteming/llgi
https://github.com/briteming/llgi/blob/main/utils/markdownToHtml.ts
https://llgi-r5jl.vercel.app/
https://llgi-r5jl.vercel.app/blog/posts/fh 能显示视频了
----------------------------------------------
https://github.com/ymbrite/npbr/
https://github.com/ymbrite/npbr/tree/main/content/blog/zh
https://npbr.vercel.app/zh/blog/
https://npbr.vercel.app/zh/blog/fh 不能显示视频
------------------------------------------------------------
https://github.com/briteming/srnbs/
(https://github.com/vercel/next.js/tree/canary/examples/blog-starter)
https://github.com/briteming/srnbs/blob/main/lib/markdownToHtml.ts ,修改第5行
https://github.com/briteming/srnbs/tree/main/_posts
https://srnbs.vercel.app/,现在能显示视频了
----------------------------------------------------
项目地址: https://github.com/abhinishere/nextjs-tech-magazine-template/
https://github.com/abhinishere/nextjs-tech-magazine-template/issues/1
https://github.com/briteming/ntmt/
演示博客: https://ntmt.vercel.app/
https://ntmt.vercel.app/fh 不能显示视频
-----------------------------------------------
项目地址: https://github.com/sandypockets/nextjs-blog-starter
https://github.com/briteming/snbs/
演示博客:https://snbs-beta.vercel.app/
https://snbs-beta.vercel.app/posts/fh ,不能显示视频。
-------------------------------------------------
项目地址: https://github.com/satnaing/satnaing.dev
https://github.com/briteming/ssd
演示博客:
https://ssd-ym.vercel.app/blog
https://ssd-ym.vercel.app/blog/posts/fh,原本不能显示视频。解决办法:
访问 https://github.com/briteming/ssd/blob/main/utils/markdownToHtml.ts ,
把第5行的 .use(html)改为 .use(html, { sanitize: false })
保存更改,2分钟后,https://ssd-ym.vercel.app/blog/posts/fh 即可显示视频。
-------------------------------------------------
项目地址: https://github.com/emanuelefavero/nextjs-app-router-blog
https://github.com/briteming/narb/
https://github.com/briteming/narb/tree/main/posts,在此新建源帖。
演示博客:https://narb.vercel.app
https://narb.vercel.app/posts/fh ,原本不能显示视频。解决办法:
访问 https://github.com/briteming/narb/blob/main/lib/posts.ts,
把第113行的 .use(html)改为.use(html, { sanitize: false })
保存更改,2分钟后,https://narb.vercel.app/posts/fh 即可显示视频。
---------------------------------------
项目地址: https://github.com/emanuelefavero/nextjs-blog
https://github.com/briteming/efnb
演示博客:https://efnb.vercel.app/
https://efnb.vercel.app/posts/fh,不能显示视频。
https://github.com/emanuelefavero/nextjs-blog/issues/1 ,作者回复了。
解决办法
访问 https://github.com/briteming/efnb/edit/main/lib/posts.js,编辑posts.js:
把第113行的 .use(html)改为.use(html, { sanitize: false })
保存更改,2分钟后,https://efnb.vercel.app/posts/fh,就能显示视频了。
------------------------------------------
项目地址: https://github.com/andresz74/nextjs-markdown-blog
https://github.com/briteming/anmb
演示博客: https://anmb-puce.vercel.app/
https://anmb-puce.vercel.app/articles/fh,不能显示视频。
解决办法
复制https://github.com/andresz74/nextjs-markdown-blog/blob/0f8ada9608f72cbec9fb574889a0843f345c7b44/utils/markdownRenderers/ImageNode.tsx里的ImageNode.tsx的内容
然后访问https://github.com/briteming/anmb/blob/main/utils/markdownRenderers/ImageNode.tsx,编辑这里的ImageNode.tsx,清空其内容,然后粘贴上面所复制的内容,保存更改。然后访问https://github.com/briteming/anmb/tree/main/articles,在此新建源帖fh.md ,内容为:
---
title: 战马
date: 2025/12/06
description: 这是一篇文章
---
稍等2秒,视频即可显示。

(详见 https://github.com/briteming/anmb/blob/main/articles/fh.md?plain=1)
2分钟后,https://anmb-puce.vercel.app/articles/fh就能显示视频了。
详见 https://github.com/andresz74/nextjs-markdown-blog/issues/7
-------------------------------------------
https://github.com/briteming/mnb
https://mnb-nhzg.vercel.app/posts
https://mnb-nhzg.vercel.app/posts/fh 不能显示视频
https://github.com/m4nkej/nextjs-blog/issues/1
-----------------------------------------------
https://github.com/briteming/nnb/
https://nnb-amber.vercel.app/
https://nnb-amber.vercel.app/posts/fh 不能显示视频
-------------------------------------------------
https://github.com/tinalabs/brevifolia-next-2023
https://github.com/ymbrite/tbn/
https://github.com/ymbrite/tbn/tree/main/posts,在此处新建源帖。
https://tbn-one.vercel.app
https://tbn-one.vercel.app/blog/a-fh 不能显示视频
---------------------------------------------------------------
https://github.com/ymbrite/rb
https://rb-chi-three.vercel.app/
https://rb-chi-three.vercel.app/posts/fh 不能显示视频
-------------------------------------------------
https://github.com/briteming/0pws/
https://github.com/briteming/0pws/blob/main/package.json ,第65行,node的值要改为24.0.0
https://0pws.vercel.app/blog
https://0pws.vercel.app/blog/starsky,不能显示视频
-------------------------------------------------------
https://github.com/briteming/ptnb/
https://ptnb.vercel.app/blog
https://ptnb.vercel.app/blog/posts/ss , 不能显示视频
-----------------------------------------------------------
https://github.com/chetanverma16/react-portfolio-template
https://github.com/ymbrite/rpt
https://github.com/ymbrite/rpt/blob/main/utils/markdownToHtml.js
https://rpt-nine.vercel.app/
https://rpt-nine.vercel.app/blog/fh 仍然不能显示视频
----------------------------------------------------------
https://github.com/ymbrite/tdb/
https://tdb-nine.vercel.app/blog
https://tdb-nine.vercel.app/blog/fh 不能显示视频
-----------------------------------------------------------
https://github.com/teyim/Nextjs-markdown-blog
https://github.com/ymbrite/nmb
https://nmb-chi.vercel.app/posts
https://nmb-chi.vercel.app/posts/fh 不能显示视频
----------------------------------------------------------
https://github.com/ymbrite/cnab/
https://github.com/ymbrite/cnab/blob/master/next.config.js 第4行的值要为空
https://cnab-ho7w.vercel.app/
https://cnab-ho7w.vercel.app/posts/fh 不能显示视频
--------------------------------------------------------------
https://github.com/ymbrite/tnbm/
https://tnbm.vercel.app/
https://tnbm.vercel.app/blog/fh 不能显示视频
--------------------------------------------------------------
https://github.com/officialrajdeepsingh/contentLayerNetlifycms
https://github.com/ymbrite/clnc
https://clnc-zeta.vercel.app/
https://clnc-zeta.vercel.app/blog/fh 不能显示视频
-------------------------------------------------------------
No comments:
Post a Comment