can you write a chrome extension that asks permission to use local files. can load two…
- User
can you write a chrome extension that asks permission to use local files. can load two youtube videos at once or a youtube video and a mp3 or a mp3 and a mp4 or a youtube video and a mp4. should be able to set each instance of a load to a specific user set time. when a youtube video loads it should wait for any ads, then set to specific user set time. it should not play any of them till after they are loaded and all ads are over and when a master play button is pressed. when the master play button is pressed it should play the loaded instances from the user set time simultaneously. the user set time should be in seconds from start format.
- Assistant
- User
File ~\Desktop\myext Error Could not load icon 'icon.png' specified in 'action'. Could not load manifest.
- Assistant
- User
Permission 'file:///' is unknown or URL pattern is malformed. 1 2 3 4 5 6 7 8 9 10 11 12 13 { "manifest_version": 3, "name": "Dual Media Loader", "version": "1.0", "permissions": ["file:///", "activeTab", "scripting"], "action": { "default_popup": "popup.html", "default_icon": "icon.png" }, "host_permissions": [ "https://www.youtube.com/*" ] }
- Assistant
The error message "Permission 'file:///*' is unknown or URL pattern is malformed" is related to how you are specifying permissions in your manifest file. In Chrome Extensions Manifest V3, handling of file URL access has changed somewhat compared to Manifest V2.
Here's a step-by-step guide to correctly set up permissions for accessing local files:
- User
nothing happens when i click play
- Assistant
- User
Refused to load the script 'https://www.youtube.com/iframe_api' because it violates the following Content Security Policy directive: "script-src 'self'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback. Context popup.html Stack Trace popup.html:0 (anonymous function)
- Assistant
- User
text in popup instead of running code
- Assistant
- User
the audio plays the video doesnt
- Assistant
- User
i ment a mp3 and a mp4
- Assistant
- User
still no video
- Assistant
- User
the mp4 runs when i drag it to a new tab but still doesnt work in the app
- Assistant
- User
it works except the full screen button doesnt work
- Assistant
- User
can you show me all the files completely
- Assistant
- User
is there a backup.js file
- Assistant