mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 15:23:09 +02:00
Fix
This commit is contained in:
parent
305915611e
commit
4182a0cf4c
2 changed files with 5 additions and 11 deletions
|
@ -6,19 +6,12 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="vwxdhznewyashiknzolsoihtlpicqepe" v-else>
|
<div class="vwxdhznewyashiknzolsoihtlpicqepe" v-else>
|
||||||
<video class="video"
|
|
||||||
:src="video.url"
|
|
||||||
:title="video.name"
|
|
||||||
controls
|
|
||||||
@dblclick.prevent="onClick"
|
|
||||||
ref="video"
|
|
||||||
v-if="inlinePlayable" />
|
|
||||||
<a class="thumbnail"
|
<a class="thumbnail"
|
||||||
:href="video.url"
|
:href="video.url"
|
||||||
:style="imageStyle"
|
:style="imageStyle"
|
||||||
@click.prevent="onClick"
|
@click.prevent="onClick"
|
||||||
:title="video.name"
|
:title="video.name"
|
||||||
v-else>
|
>
|
||||||
%fa:R play-circle%
|
%fa:R play-circle%
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -46,7 +39,7 @@ export default Vue.extend({
|
||||||
computed: {
|
computed: {
|
||||||
imageStyle(): any {
|
imageStyle(): any {
|
||||||
return {
|
return {
|
||||||
'background-image': `url(${this.video.url})`
|
'background-image': null // TODO `url(${this.video.thumbnailUrl})`
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -9,7 +9,8 @@
|
||||||
:href="video.url"
|
:href="video.url"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
:style="imageStyle"
|
:style="imageStyle"
|
||||||
:title="video.name">
|
:title="video.name"
|
||||||
|
>
|
||||||
%fa:R play-circle%
|
%fa:R play-circle%
|
||||||
</a>
|
</a>
|
||||||
</template>
|
</template>
|
||||||
|
@ -32,7 +33,7 @@ export default Vue.extend({
|
||||||
computed: {
|
computed: {
|
||||||
imageStyle(): any {
|
imageStyle(): any {
|
||||||
return {
|
return {
|
||||||
'background-image': `url(${this.video.url})`
|
'background-image': null // TODO `url(${this.video.thumbnailUrl})`
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue