fix thumbnail on videos
This commit is contained in:
parent
935c6d210c
commit
1eb6b8a1f4
|
@ -1,7 +1,7 @@
|
||||||
import config from '../config';
|
import config from '../config';
|
||||||
|
|
||||||
export function getThumbnail(id, size='256') {
|
export function getThumbnail(id, size='200') {
|
||||||
return `${config.baseUrl}/${id}/icon${size}.jpg`
|
return `${config.baseUrl}/${id}/${size}p.jpg`
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getVideo(id, size='480') {
|
export function getVideo(id, size='480') {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user