Add support for all cover sources in embedded player
This commit is contained in:
parent
f4964ab3ab
commit
41d444bbbb
|
@ -0,0 +1 @@
|
|||
Added support for all cover sources in the embedded player (#1697).
|
|
@ -258,6 +258,9 @@ function getURLParams () {
|
|||
export default {
|
||||
name: 'App',
|
||||
components: { Logo },
|
||||
props: {
|
||||
artistCover: { type: Object, required: false },
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
time,
|
||||
|
@ -455,7 +458,7 @@ export default {
|
|||
title: t.title,
|
||||
artist: t.artist,
|
||||
album: t.album,
|
||||
cover: self.getCover((t.album || {}).cover),
|
||||
cover: self.getCover((t || t.album).cover),
|
||||
sources: self.getSources(t.uploads)
|
||||
}
|
||||
})
|
||||
|
|
|
@ -98,6 +98,7 @@
|
|||
scrolling="no"
|
||||
frameborder="no"
|
||||
:src="iframeSrc"
|
||||
:artist-cover="cover"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -111,7 +112,8 @@ import _ from '@/lodash'
|
|||
export default {
|
||||
props: {
|
||||
type: { type: String, required: true },
|
||||
id: { type: Number, required: true }
|
||||
id: { type: Number, required: true },
|
||||
cover: { type: Object, required: false },
|
||||
},
|
||||
data () {
|
||||
const d = {
|
||||
|
|
|
@ -320,6 +320,7 @@
|
|||
<div class="description">
|
||||
<embed-wizard
|
||||
:id="object.artist.id"
|
||||
:cover="object.artist.cover"
|
||||
type="artist"
|
||||
/>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue