mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-09-18 16:32:33 +02:00
Add mp4 support
This commit is contained in:
parent
16a10128f4
commit
fd7db29147
@ -126,7 +126,7 @@ void InstalledListModel::loadScreens()
|
|||||||
obj.insert("type", "video");
|
obj.insert("type", "video");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fileEnding.endsWith(".webm") || (obj.value("type").toString() == "qmlScene") || fileEnding.endsWith(".html"))
|
if (fileEnding.endsWith(".webm") || (obj.value("type").toString() == "qmlScene" || fileEnding.endsWith(".mp4") ) || fileEnding.endsWith(".html"))
|
||||||
emit addInstalledItem(obj, item.baseName());
|
emit addInstalledItem(obj, item.baseName());
|
||||||
|
|
||||||
if(obj.value("type") == "qmlWidget" || obj.value("type") == "standalonewidget")
|
if(obj.value("type") == "qmlWidget" || obj.value("type") == "standalonewidget")
|
||||||
|
Loading…
Reference in New Issue
Block a user