-
Notifications
You must be signed in to change notification settings - Fork 12
/
manifest.json
64 lines (64 loc) · 1.7 KB
/
manifest.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"manifest_version": 3,
"version": "0.2.7",
"name": "Audio Player",
"description": "FFmpeg-based audio player that supports a wide range of audio codecs",
"permissions": [
"storage",
"contextMenus"
],
"host_permissions": [
"*://*/*"
],
"icons": {
"16": "/data/icons/16.png",
"32": "/data/icons/32.png",
"48": "/data/icons/48.png",
"64": "/data/icons/64.png",
"128": "/data/icons/128.png",
"256": "/data/icons/256.png",
"512": "/data/icons/512.png"
},
"background": {
"service_worker": "worker.js"
},
"offline_enabled": true,
"action": {},
"content_security_policy": {
"extension_pages": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self'"
},
"homepage_url": "https://webextension.org/listing/audio-player.html",
"commands": {
"_execute_action": {}
},
"file_handlers": [{
"action": "/data/player/index.html",
"name": "Open with MediaPlayer",
"accept": {
"video/avi": [".avi"],
"video/mp4": [".mp4"],
"video/webm": [".webm"],
"video/x-flv": [".flv"],
"video/quicktime": [".mov"],
"video/ogg": [".ogv"],
"video/3gpp": [".3gp"],
"video/mpeg": [".mpg"],
"video/x-ms-wmv": [".wmv"],
"application/x-shockwave-flash": [".swf"],
"video/x-matroska": [".mkv"],
"video/dvd": [".vob"],
"audio/pcm": [".pcm"],
"audio/wav": [".wav"],
"audio/aac": [".aac"],
"audio/ogg": [".ogg"],
"audio/x-ms-wma": [".wma"],
"audio/flac": [".flac"],
"audio/midi": [".mid"],
"audio/x-matroska": [".mka"],
"audio/mp4": [".m4a"],
"audio/voc": [".voc"],
"audio/mpeg": [".mp3"]
},
"launch_type": "single-client"
}]
}