plyr options
This commit is contained in:
parent
29860637f9
commit
3261984eb7
1 changed files with 10 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="bday">
|
<div class="bday">
|
||||||
<h1>Alles Gute zu Deinem Geburtstag!</h1>
|
<h1>Alles Gute zu Deinem Geburtstag!</h1>
|
||||||
<vue-plyr>
|
<vue-plyr :options="plyr_options">
|
||||||
<video poster="../assets/poster.png" autoplay="true">
|
<video poster="../assets/poster.png" autoplay="true">
|
||||||
<source src="/fake_api/part1_240.mp4" type="video/mp4" size="240" />
|
<source src="/fake_api/part1_240.mp4" type="video/mp4" size="240" />
|
||||||
<source src="/fake_api/part1_360.mp4" type="video/mp4" size="360" />
|
<source src="/fake_api/part1_360.mp4" type="video/mp4" size="360" />
|
||||||
|
@ -15,6 +15,15 @@
|
||||||
export default {
|
export default {
|
||||||
name: "BDay",
|
name: "BDay",
|
||||||
|
|
||||||
|
data: () => ({
|
||||||
|
plyr_options: {
|
||||||
|
clickToPlay: false,
|
||||||
|
keyboard: { focused: false, global: false },
|
||||||
|
controls: ["mute", "volume", "settings", "airplay", "fullscreen"],
|
||||||
|
settings: ["quality"],
|
||||||
|
},
|
||||||
|
}),
|
||||||
|
|
||||||
mounted: () => {
|
mounted: () => {
|
||||||
document.title = "Herzlichen Glückwunsch!";
|
document.title = "Herzlichen Glückwunsch!";
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue