@mindedge/vuetify-player 0.1.2 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/babel.config.js +3 -0
- package/jest.config.js +3 -0
- package/jsconfig.json +12 -0
- package/package.json +2 -4
- package/src/components/Media/CaptionsMenu.vue +128 -0
- package/src/components/Media/Html5Player.vue +926 -0
- package/src/components/Media/PlaylistMenu.vue +138 -0
- package/src/components/Media/YoutubePlayer.vue +172 -0
- package/src/components/VuetifyPlayer.vue +270 -0
- package/src/components/filters.js +31 -0
- package/src/i18n/en-US.js +28 -0
- package/src/i18n/i18n.js +43 -0
- package/src/i18n/index.js +7 -0
- package/src/i18n/sv-SE.js +28 -0
- package/vue.config.js +34 -0
- package/dist/VuetifyPlayer.common.js +0 -24149
- package/dist/VuetifyPlayer.common.js.map +0 -1
- package/dist/VuetifyPlayer.umd.js +0 -24169
- package/dist/VuetifyPlayer.umd.js.map +0 -1
- package/dist/VuetifyPlayer.umd.min.js +0 -2
- package/dist/VuetifyPlayer.umd.min.js.map +0 -1
- package/dist/demo.html +0 -1
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
locales: {
|
|
3
|
+
'en-US': 'Engelska',
|
|
4
|
+
'sv-SE': 'Svenska',
|
|
5
|
+
},
|
|
6
|
+
playlist: {
|
|
7
|
+
up_next: 'Nästa',
|
|
8
|
+
default_name: 'Media',
|
|
9
|
+
previous: 'Spela sista',
|
|
10
|
+
next: 'Spela nästa',
|
|
11
|
+
},
|
|
12
|
+
player: {
|
|
13
|
+
playback_speed: 'Uppspelningshastighet',
|
|
14
|
+
playback_decrease: 'Minska uppspelningshastigheten',
|
|
15
|
+
playback_increase: 'Öka uppspelningshastigheten',
|
|
16
|
+
toggle_settings: 'Växla inställningar',
|
|
17
|
+
download: 'Ladda ner',
|
|
18
|
+
toggle_remote_playback: 'Växla fjärruppspelning',
|
|
19
|
+
toggle_picture_in_picture: 'Växla bild i bild',
|
|
20
|
+
toggle_fullscreen: 'Växla helskärm',
|
|
21
|
+
toggle_cc: 'Växla undertexter',
|
|
22
|
+
volume_slider: 'Ändra volym',
|
|
23
|
+
rewind_10: 'Spola tillbaka 10 sekunder',
|
|
24
|
+
play: 'Klicka för att spela',
|
|
25
|
+
pause: 'Klicka för att pausa',
|
|
26
|
+
no_support: 'Tyvärr, din webbläsare stöder inte inbäddade videor.',
|
|
27
|
+
},
|
|
28
|
+
}
|
package/vue.config.js
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
const { defineConfig } = require('@vue/cli-service')
|
|
2
|
+
|
|
3
|
+
module.exports = defineConfig({
|
|
4
|
+
transpileDependencies: ['vuetify'],
|
|
5
|
+
|
|
6
|
+
configureWebpack: {
|
|
7
|
+
output: {
|
|
8
|
+
libraryExport: 'default',
|
|
9
|
+
},
|
|
10
|
+
},
|
|
11
|
+
|
|
12
|
+
css: {
|
|
13
|
+
extract: false,
|
|
14
|
+
},
|
|
15
|
+
|
|
16
|
+
chainWebpack: (config) => {
|
|
17
|
+
config.module
|
|
18
|
+
.rule('i18n')
|
|
19
|
+
.resourceQuery(/blockType=i18n/)
|
|
20
|
+
.type('javascript/auto')
|
|
21
|
+
.use('i18n')
|
|
22
|
+
.loader('@intlify/vue-i18n-loader')
|
|
23
|
+
},
|
|
24
|
+
|
|
25
|
+
pluginOptions: {
|
|
26
|
+
i18n: {
|
|
27
|
+
locale: 'en-US',
|
|
28
|
+
fallbackLocale: 'en-US',
|
|
29
|
+
enableInSFC: true,
|
|
30
|
+
includeLocales: true,
|
|
31
|
+
enableBridge: true,
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
})
|