|
1 | 1 | { |
2 | 2 | "name": "EmbedVideo", |
3 | | - "version": "3.3.0", |
| 3 | + "version": "3.4.0", |
4 | 4 | "author": [ |
5 | 5 | "[https://www.mediawiki.org/wiki/User:Octfx Octfx]", |
6 | 6 | "[https://www.mediawiki.org/wiki/User:Alistair3149 Alistair3149]", |
|
35 | 35 | "embedvideo": "MediaWiki\\Extension\\EmbedVideo\\ApiEmbedVideo" |
36 | 36 | }, |
37 | 37 | "ResourceModules": { |
| 38 | + "ext.embedVideo.messages": { |
| 39 | + "messages": [ |
| 40 | + "embedvideo-service-archiveorg", |
| 41 | + "embedvideo-service-bandcamp", |
| 42 | + "embedvideo-service-bilibili", |
| 43 | + "embedvideo-service-dailymotion", |
| 44 | + "embedvideo-service-kakaotv", |
| 45 | + "embedvideo-service-loom", |
| 46 | + "embedvideo-service-navertv", |
| 47 | + "embedvideo-service-niconico", |
| 48 | + "embedvideo-service-soundcloud", |
| 49 | + "embedvideo-service-sharepoint", |
| 50 | + "embedvideo-service-spotify", |
| 51 | + "embedvideo-service-twitch", |
| 52 | + "embedvideo-service-videolink", |
| 53 | + "embedvideo-service-vimeo", |
| 54 | + "embedvideo-service-youtube", |
| 55 | + "embedvideo-service-localvideo", |
| 56 | + "embedvideo-service-externalvideo", |
| 57 | + "embedvideo-consent-privacy-notice-text", |
| 58 | + "embedvideo-consent-privacy-policy" |
| 59 | + ] |
| 60 | + }, |
| 61 | + "ext.embedVideo.videolink": { |
| 62 | + "es6": true, |
| 63 | + "packageFiles": [ |
| 64 | + "ext.embedVideo.videolink.js", |
| 65 | + { "name": "fetchFactory.js", "file": "fetchers/fetchFactory.js" }, |
| 66 | + { "name": "queryKeyParser.js", "file": "fetchers/queryKeyParser.js" }, |
| 67 | + { "name": "bilibili.js", "file": "fetchers/bilibili.js" }, |
| 68 | + { "name": "niconico.js", "file": "fetchers/niconico.js" }, |
| 69 | + { "name": "oembed.js", "file": "fetchers/oembed.js" }, |
| 70 | + { "name": "iframe.js", "file": "modules/iframe.js" } |
| 71 | + ], |
| 72 | + "styles": [ |
| 73 | + "ext.embedVideo.consent.less" |
| 74 | + ], |
| 75 | + "position": "top", |
| 76 | + "targets": [ |
| 77 | + "desktop", |
| 78 | + "mobile" |
| 79 | + ] |
| 80 | + }, |
38 | 81 | "ext.embedVideo.consent": { |
39 | 82 | "es6": true, |
40 | 83 | "packageFiles": [ |
41 | 84 | "ext.embedVideo.consent.js", |
42 | | - { "name": "fetchFactory.js", "file": "fetchers/fetchFactory.js" }, |
43 | | - { "name": "queryKeyParser.js", "file": "fetchers/queryKeyParser.js" }, |
44 | | - { "name": "bilibili.js", "file": "fetchers/bilibili.js" }, |
45 | | - { "name": "niconico.js", "file": "fetchers/niconico.js" }, |
46 | | - { "name": "oembed.js", "file": "fetchers/oembed.js" } |
| 85 | + { "name": "fetchFactory.js", "file": "fetchers/fetchFactory.js" }, |
| 86 | + { "name": "queryKeyParser.js", "file": "fetchers/queryKeyParser.js" }, |
| 87 | + { "name": "bilibili.js", "file": "fetchers/bilibili.js" }, |
| 88 | + { "name": "niconico.js", "file": "fetchers/niconico.js" }, |
| 89 | + { "name": "oembed.js", "file": "fetchers/oembed.js" }, |
| 90 | + { "name": "iframe.js", "file": "modules/iframe.js" } |
47 | 91 | ], |
48 | 92 | "styles": [ |
49 | 93 | "ext.embedVideo.consent.less" |
|
99 | 143 | }, |
100 | 144 | "EmbedVideoUseEmbedStyleForLocalVideos": { |
101 | 145 | "description": "Styles local videos like they are embedded", |
102 | | - "value": false |
| 146 | + "value": true |
103 | 147 | }, |
104 | 148 | "EmbedVideoEnableAudioHandler": { |
105 | 149 | "description": "Enables the audio handler which displays local videos using the html5 <audio> tag.", |
|
126 | 170 | "value": [] |
127 | 171 | }, |
128 | 172 | "EmbedVideoRequireConsent": { |
129 | | - "description": "Explicitly require consent by only loading the iframe if the user clicks it", |
| 173 | + "description": "Explicitly require consent by only loading the iframe after the user clicks play", |
130 | 174 | "value": true |
131 | 175 | }, |
132 | 176 | "EmbedVideoFetchExternalThumbnails": { |
133 | | - "description": "Don't try to fetch thumbnails when consent is required.", |
| 177 | + "description": "Fetch video thumbnails by querying the respective external oembed endpoints. This results in a http call.", |
134 | 178 | "value": true |
135 | 179 | }, |
136 | 180 | "EmbedVideoShowPrivacyNotice": { |
|
0 commit comments