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

[mob][photos] Use media_kit player for videos not supported by native player #4429

Merged
merged 22 commits into from
Dec 18, 2024

Conversation

ashilkn
Copy link
Member

@ashilkn ashilkn commented Dec 17, 2024

Description

On iOS, if a video is unsupported by the native player, the app will switch automatically to use media_kit player.
On android, user will have to manually switch to the media_kit player.

I used white with 20% opacity for the icon that switches to the MediaKit player, making it most noticeable against the darkest background (black, when the video isn't playable) and less prominent against lighter backgrounds.

Switch_to_media_kit_android.mp4

Have fixed a UI/UX issue on the video player seen when the video has a caption/description.

…ideo playback by default and toggles to use media_kit for playback when UseMediaKitForVideo event is fired
… on ios + let the user manually switch to media kit
@ashilkn ashilkn marked this pull request as ready for review December 18, 2024 10:43
@ashilkn ashilkn enabled auto-merge December 18, 2024 10:44
@ashilkn ashilkn merged commit 29052e2 into main Dec 18, 2024
2 checks passed
@ashilkn ashilkn deleted the use_media_kit_for_unsupported_videos branch December 18, 2024 11:02
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.

2 participants