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

Fix: load background video #86

Merged
merged 2 commits into from
Nov 24, 2023

Conversation

ArkadiK94
Copy link
Contributor

@ArkadiK94 ArkadiK94 commented Nov 23, 2023

Fixes Issue

Closes #16

Changes proposed

There are two solutions that we can apply (if you think about a better solution, pls, share with me :))

  • Add image poster which will be shown when the video still loading (I chose this option)
  • Show the splash screen a little longer until the video will be loaded

Screenshots

Recording.2023-11-24.003633.mp4

Note to reviewers

I chose the imageStyle opacity to be 0.9 , in my opinion, it looks better.

@kabir0x23

Code of Conduct

  • By submitting this pull request, I confirm I've read and complied with the CoC 🖖

Check List (Check all the applicable boxes)

  • My code follows the code style of this project.
  • My change requires changes to the documentation.
  • I have updated the documentation accordingly.
  • All new and existing tests passed.
  • This PR does not contain plagiarized content.
  • The title of my pull request is a short description of the requested changes.

You can also join our Discord community.
Feel free to check out other cool repositories of the Thecyberworld.
Join the Thecyberworld GitHub Organisation by raising an issue (you will be sent an invitation).

why: dependencies incompatible,[email protected] - expected version: ~15.4.5
how: with npx expo install --fix
How: add image poster while the video loading as a child in Video component
Why: make the transition more smoother
What: fix: taking time to load background image/video
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's great having you contribute to this project

🌟 Welcome to the community 🌟

  • If you would like to continue contributing to open source and would like to do it with an awesome inclusive community.
  • You should join our Discord chat and our GitHub Organisation.
  • We help and encourage each other to contribute to open source little and often 😄.
  • Any questions let us know.

@kabir0x23 kabir0x23 merged commit a6b57b7 into th3cyb3rhub:main Nov 24, 2023
2 checks passed
@ArkadiK94
Copy link
Contributor Author

@kabir0x23 what do you think about this implementation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Taking time to load background image/video
2 participants