1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-07 03:22:33 +01:00

Add mp4 support

This commit is contained in:
Elias 2018-12-15 21:29:28 +01:00
parent 16a10128f4
commit fd7db29147

View File

@ -126,7 +126,7 @@ void InstalledListModel::loadScreens()
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());
if(obj.value("type") == "qmlWidget" || obj.value("type") == "standalonewidget")