Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

💡 [REQUEST] - Add backlit effect for landscape stories #54

Open
1 of 2 tasks
Gauravdarkslayer opened this issue Oct 9, 2024 · 5 comments
Open
1 of 2 tasks
Assignees
Labels
enhancement New feature or request hacktoberfest

Comments

@Gauravdarkslayer
Copy link
Owner

Gauravdarkslayer commented Oct 9, 2024

Start Date

No response

Implementation PR

No response

Reference Issues

No response

Summary

This effect would enhance the visual appeal by adding a soft, colored background behind the story content, creating a subtle spotlight effect that draws attention to the story in focus.

Use Case: In scenarios where stories are presented in landscape mode, the backlit effect would provide a more immersive and dynamic experience. It can enhance user engagement. This feature could also serve to improve the contrast and visibility of the story content, ensuring it stands out against various backgrounds.

Effect Trigger: The backlit effect should be automatically applied when the story's orientation is detected as landscape (i.e., wider than it is tall).
Customization Options (optional): It would be useful to allow users to adjust the intensity and color of the backlit effect via customizable properties (e.g., backlitIntensity, backlitColor).
Performance Consideration: Ensure the effect doesn't introduce any significant performance overhead, particularly for mobile devices.
Fallback: In cases where the effect may not be supported (e.g., older browsers or devices), provide a graceful fallback where the effect is disabled without breaking the story display.

Basic Example

In landscape instagram stories you can see gradient color on top and bottom of the story.
Similarly in youtube ambient mode.

Drawbacks

There might be some performance bottlenecks which needs to be taken care of.
In case of videos based story we can ignore this implementation

@Gauravdarkslayer Gauravdarkslayer added enhancement New feature or request hacktoberfest labels Oct 9, 2024
Copy link

github-actions bot commented Oct 9, 2024

Hey @Gauravdarkslayer, Thanks for contributing and Congrats on opening Issue 🎉

We will try to review as soon as possible and a maintainer will get back to you soon!

@PRIME-SV
Copy link
Contributor

Hi @Gauravdarkslayer,
I would like to work on this REQUEST.
if possible assign this to me.

@Gauravdarkslayer
Copy link
Owner Author

Sure @PRIME-SV , done

@Gauravdarkslayer
Copy link
Owner Author

This issue also relates to another issue which is #16
Where we need to align the landscape based stories vertically center

@PRIME-SV
Copy link
Contributor

PRIME-SV commented Oct 10, 2024

Sure.
Will try and address that too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hacktoberfest
Projects
None yet
Development

No branches or pull requests

2 participants