Disable non-image media support for now
This commit is contained in:
parent
07e6d74b91
commit
bf4517b146
@ -56,22 +56,22 @@ HLoader {
|
|||||||
var file = "EventImage.qml"
|
var file = "EventImage.qml"
|
||||||
var props = { source: previewUrl, fullSource: mediaUrl }
|
var props = { source: previewUrl, fullSource: mediaUrl }
|
||||||
|
|
||||||
} else if (type === EventDelegate.Media.File) {
|
// } else if (type === EventDelegate.Media.File) {
|
||||||
var file = "EventFile.qml"
|
// var file = "EventFile.qml"
|
||||||
var props = {
|
// var props = {
|
||||||
thumbnailUrl: previewUrl,
|
// thumbnailUrl: previewUrl,
|
||||||
fileUrl: mediaUrl,
|
// fileUrl: mediaUrl,
|
||||||
fileTitle: info.media_title,
|
// fileTitle: info.media_title,
|
||||||
fileSize: info.media_size,
|
// fileSize: info.media_size,
|
||||||
}
|
// }
|
||||||
|
|
||||||
} else if (type === EventDelegate.Media.Video) {
|
// } else if (type === EventDelegate.Media.Video) {
|
||||||
var file = "EventVideo.qml"
|
// var file = "EventVideo.qml"
|
||||||
var props = { source: mediaUrl }
|
// var props = { source: mediaUrl }
|
||||||
|
|
||||||
} else if (type === EventDelegate.Media.Audio) {
|
// } else if (type === EventDelegate.Media.Audio) {
|
||||||
var file = "EventAudio.qml"
|
// var file = "EventAudio.qml"
|
||||||
var props = { source: mediaUrl }
|
// var props = { source: mediaUrl }
|
||||||
|
|
||||||
} else { return }
|
} else { return }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user