Skip to content

Commit

Permalink
ffmpeg-wasm in no longer working in manifest_version 3.
Browse files Browse the repository at this point in the history
This commit is a not working version.
For the issue, check ffmpegwasm/chrome-extension-app#1
  • Loading branch information
jim60105 committed Mar 7, 2023
1 parent 5a88e8b commit caaa25b
Show file tree
Hide file tree
Showing 12 changed files with 816 additions and 61 deletions.
2 changes: 1 addition & 1 deletion _locales/en/messages.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extName": {
"message": "Youtube Clip Playlist",
"message": "AIChatAssistant",
"description": "Name of the extension"
},
"extDescription": {
Expand Down
2 changes: 1 addition & 1 deletion _locales/ja/messages.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extName": {
"message": "Youtubeクリッププレイリスト",
"message": "AIChatAssistant",
"description": "Name of the extension"
},
"extDescription": {
Expand Down
2 changes: 1 addition & 1 deletion _locales/zh_TW/messages.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extName": {
"message": "Youtube影片截選播放清單",
"message": "AIChatAssistant",
"description": "Name of the extension"
},
"extDescription": {
Expand Down
7 changes: 5 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"unlimitedStorage"
],
"host_permissions": [
"https://api.openai.com/*"
"https://api.openai.com/*",
"https://www.youtube.com/*"
],
"background": {
"service_worker": "background.js"
Expand Down Expand Up @@ -39,6 +40,7 @@
"run_at": "document_start",
"all_frames": true,
"js": [
"assets/ffmpeg/ffmpeg.min.js",
"contentScript.js"
],
"css": [
Expand All @@ -49,7 +51,8 @@
"web_accessible_resources": [
{
"resources": [
"contentScript.html"
"contentScript.html",
"assets/*"
],
"matches": [
"https://www.youtube.com/*",
Expand Down
53 changes: 34 additions & 19 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"description": "",
"main": "background.js",
"scripts": {
"build": "webpack --config webpack.config.js",
"build:dev": "webpack --config webpack.config.js --mode=development"
"build:dev": "webpack --config webpack.config.js --mode=development",
"build": "webpack --config webpack.config.js"
},
"repository": {
"type": "git",
Expand All @@ -19,7 +19,7 @@
},
"homepage": "https://blog.maki0419.com/",
"devDependencies": {
"@ffmpeg/core": "^0.11.0",
"@ffmpeg/core": "^0.8.5",
"@types/bootstrap": "^5.1.12",
"@types/chrome": "^0.0.190",
"@typescript-eslint/eslint-plugin": "^5.27.1",
Expand All @@ -40,8 +40,9 @@
"webpack-cli": "^4.9.2"
},
"dependencies": {
"@ffmpeg/ffmpeg": "^0.11.6",
"@ffmpeg/ffmpeg": "^0.9.6",
"bootstrap": "^5.1.3",
"bootstrap-icons": "^1.8.3"
"bootstrap-icons": "^1.8.3",
"rxjs": "^7.8.0"
}
}
Loading

0 comments on commit caaa25b

Please sign in to comment.