File tree Expand file tree Collapse file tree 3 files changed +1
-6
lines changed
Expand file tree Collapse file tree 3 files changed +1
-6
lines changed Original file line number Diff line number Diff line change 33 "name" : " __MSG_extName__" ,
44 "description" : " __MSG_extDesc__" ,
55 "default_locale" : " en" ,
6- "version" : " 4.1 .0" ,
6+ "version" : " 4.2 .0" ,
77 "background" : {
88 "service_worker" : " background.bundle.js"
99 },
Original file line number Diff line number Diff line change @@ -116,10 +116,8 @@ const Sandbox = () => {
116116 }
117117
118118 case "base64-to-blob" : {
119- // Decode the base64 blob (type might be wrong or missing)
120119 const rawBlob = await fetch ( message . base64 ) . then ( ( r ) => r . blob ( ) ) ;
121120
122- // Real MP4 signature check
123121 const header = await rawBlob . slice ( 4 , 12 ) . text ( ) ;
124122 const looksMp4 = header === "ftyp" ;
125123
@@ -132,9 +130,6 @@ const Sandbox = () => {
132130 break ;
133131 }
134132
135- console . log ( "Converting WebM to MP4..." ) ;
136-
137- // Otherwise treat it as WebM → MP4
138133 const webmBlob = base64ToWebmBlob ( message . base64 ) ;
139134 const mp4Blob = await convertWebmToMp4 ( webmBlob , ( progress ) =>
140135 sendMessage ( {
You can’t perform that action at this time.
0 commit comments