Skip to content

4.9.6 video报错html2pdf.bundle.min.js #4651

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
goactiongo opened this issue Apr 24, 2025 · 0 comments
Open

4.9.6 video报错html2pdf.bundle.min.js #4651

goactiongo opened this issue Apr 24, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@goactiongo
Copy link

goactiongo commented Apr 24, 2025

Video代码块模式展示视频

如果将视频下载到fastgpt,并使用本地url可以播放

如果直接使用其他系统url(url可以直接打开播放视频),则报错如图所示。(跨域问题已经处理了)

Image


html2pdf.bundle.min.js:2  Uncaught TypeError: Cannot redefine property: toString
    at Object.defineProperty [as f] (<anonymous>)
    at e.exports (html2pdf.bundle.min.js:2:273953)
    at e.exports (html2pdf.bundle.min.js:2:294197)
    at ./node_modules/core-js/internals/redefine.js (html2pdf.bundle.min.js:2:294224)
    at o (html2pdf.bundle.min.js:2:903497)
    at ./node_modules/core-js/internals/export.js (html2pdf.bundle.min.js:2:278608)
    at o (html2pdf.bundle.min.js:2:903497)
    at ./node_modules/core-js/modules/es.object.assign.js (html2pdf.bundle.min.js:2:307210)
    at o (html2pdf.bundle.min.js:2:903497)
    at ./src/worker.js (html2pdf.bundle.min.js:2:24975)
e.exports @ html2pdf.bundle.min.js:2
e.exports @ html2pdf.bundle.min.js:2
./node_modules/core-js/internals/redefine.js @ html2pdf.bundle.min.js:2
o @ html2pdf.bundle.min.js:2
./node_modules/core-js/internals/export.js @ html2pdf.bundle.min.js:2
o @ html2pdf.bundle.min.js:2
./node_modules/core-js/modules/es.object.assign.js @ html2pdf.bundle.min.js:2
o @ html2pdf.bundle.min.js:2
./src/worker.js @ html2pdf.bundle.min.js:2
o @ html2pdf.bundle.min.js:2
(匿名) @ html2pdf.bundle.min.js:2
(匿名) @ html2pdf.bundle.min.js:2
(匿名) @ html2pdf.bundle.min.js:2
(匿名) @ html2pdf.bundle.min.js:2
(匿名) @ html2pdf.bundle.min.js:2

@goactiongo goactiongo added the bug Something isn't working label Apr 24, 2025
@goactiongo goactiongo changed the title 4.9.6 video报错html2pdf.bould.min.js 4.9.6 video报错html2pdf.bundle.min.js Apr 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant