feat: run preset animations in screenshot mode for OBS recording#858
Open
Shivansh1205 wants to merge 1 commit intoHSF:mainfrom
Open
feat: run preset animations in screenshot mode for OBS recording#858Shivansh1205 wants to merge 1 commit intoHSF:mainfrom
Shivansh1205 wants to merge 1 commit intoHSF:mainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
There was no way to run preset animations while in screenshot mode, making it impossible to cleanly record them with OBS or similar screen capture software.
Solution
UI — "in Screenshot Mode" button
Each preset in the animate-camera menu now has a second option labelled
<preset> (screenshot mode). Clicking it:URL trigger —
?ss=preset-nameAppend
?ss=Cavern+to+IDto any Phoenix URL to auto-start a preset in screenshot mode once all assets have loaded. Ideal for sharing a recording-ready link.Example:
https://hepsoftwarefoundation.org/phoenix/?ss=Cavern+to+IDFiles changed
ss-mode.component.ts— refactored intoenterSSMode(onReady?)/exitSSMode()with@Output ssModeExitedanimate-camera.component.ts/html— addedanimatePresetInSSMode()and per-preset screenshot mode buttonsevent-display.ts— addedanimatePresetInSSMode(presetName, presets)to public APIurl-options-manager.ts— addedapplySSAnimationOption()for?ss=URL param