fix windows video bug

This commit is contained in:
targetakhil 2021-03-14 23:16:41 +05:30
parent c47ae99805
commit 02e388e542

View file

@ -185,7 +185,7 @@ Rectangle {
target: TimelineManager.timeline
onMediaCached: {
if (mxcUrl == model.data.url) {
media.source = "file://" + cacheUrl;
media.source = cacheUrl;
button.state = "stopped";
console.log("media loaded: " + mxcUrl + " at " + cacheUrl);
}