使用ffmpeg-core的时候报错,解决Uncaught (in promise) ReferenceError: SharedArrayBuffer is not defined

简介: 使用ffmpeg-core的时候报错,解决Uncaught (in promise) ReferenceError: SharedArrayBuffer is not defined


出现以上报错的情况

第一种:网址不是https开头的,这种好解决。

第二种:需要用下面的方法解决。

访问

image.png

根目录的index.html的header节点内加入

<meta http-equiv="origin-trial"content="At6nXqd**********RydWV9" >

运行程序就可以了

再也不报错了SharedArrayBuffer is not defined

温馨提示:记得每年都定期去google续期Token哟,否者到期还是会继续报错的!


相关文章
|
10月前
|
前端开发 JavaScript
富文本编辑器wangEdiotr,编辑内容后,重新打开报错Uncaught (in promise) Error: Cannot find a descendant at path
富文本编辑器wangEdiotr,编辑内容后,重新打开报错Uncaught (in promise) Error: Cannot find a descendant at path
1208 0
|
6天前
|
Web App开发 存储 移动开发
Uncaught (in promise) DOMException: The play() request was interrupted by a new load request.异常处理
Uncaught (in promise) DOMException: The play() request was interrupted by a new load request.异常处理
55 0
|
6天前
|
前端开发
【Bug】Uncaught (in promise) AxiosError: Request failed with status code 404
【Bug】Uncaught (in promise) AxiosError: Request failed with status code 404
|
5月前
|
前端开发
解决Uncaught (in promise) reason的问题
解决Uncaught (in promise) reason的问题
|
6月前
|
前端开发 JavaScript
Uncaught (in promise) Error: Request failed with status code 500
Uncaught (in promise) Error: Request failed with status code 500
294 0
|
6月前
|
Web App开发 前端开发
Uncaught (in promise) DOMException
Uncaught (in promise) DOMException
110 0
|
9月前
|
JavaScript 前端开发
Vue项目部署到服务器时上传报错“Uncaught (in promise) TypeError: s.upload.addEventListener is not a function”
使用vue-admin-element框架进行在本地文件上传以及富文本框中的文件上传是没有问题的,但是在上传部署vue项目到服务器上时,就会报如下图中一个错误。
677 0
|
9月前
|
Web App开发 前端开发 开发者
Uncaught (in promise)解决方法
Uncaught (in promise) 错误表示在 Promise 中发生了异常,但是没有被捕获。解决这个问题的方法主要有以下几种: 使用 try catch 处理 Promise 中的异常。通过在 Promise 中使用 try catch 捕获异常,防止异常被抛出并且可以在捕获后进行处理。
936 0
|
前端开发
Uncaught (in promise) NavigationDuplicated: Avoided redundant navigation 问题
Uncaught (in promise) NavigationDuplicated: Avoided redundant navigation 问题
Uncaught (in promise) NavigationDuplicated: Avoided redundant navigation 问题