fix: preload candidate URLs now use resolveVideoUrl in Web mode
This commit is contained in:
@@ -57,9 +57,7 @@ export class SceneManager {
|
||||
return targets
|
||||
}
|
||||
|
||||
getCandidateUrls(scene: SceneNode, evaluateCondition: (conds?: Condition[]) => boolean): string[] {
|
||||
getCandidateSceneIds(scene: SceneNode, evaluateCondition: (conds?: Condition[]) => boolean): string[] {
|
||||
return this.getCandidateTargetIds(scene, evaluateCondition)
|
||||
.map(id => this.scenes[id]?.videoUrl)
|
||||
.filter((url): url is string => !!url)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user