mirror of
https://github.com/UiO-Gaming/infoscreen3.git
synced 2026-11-05 13:56:52 +01:00
Fix webgl transition from video to slide
This commit is contained in:
1 parent
1fef8a85af
commit
862d45f621
4 files changed
+6
-2
No files matched your search
@@ -442,6 +442,9 @@ export default class admin {
|
||||
}
|
||||
|
||||
bundle.save();
|
||||
// Adds empty slide render for smooth transitions
|
||||
// Could be enhanced with the actual last video frame
|
||||
fs.copyFileSync("./templates/bundle/render/empty.png","./data/bundles/" + data.bundleName + "/render/" + filename + ".png")
|
||||
|
||||
cli.success("save video link");
|
||||
socket.emit("callback.saveVideo", {});
|
||||
|
||||
+1
-1
@@ -115,7 +115,7 @@ export default class bundleClass {
|
||||
x++;
|
||||
}
|
||||
if (slide.uuid === uuid) {
|
||||
if (slide.type === "slide") {
|
||||
if (slide.type === "slide" || slide.type === "video") {
|
||||
let path = process.cwd() + "/data/bundles/" + this.name;
|
||||
try {
|
||||
uuid = checkAndSanitizeFilePathName(uuid)
|
||||
|
||||
Reference in new issue
Block a user