-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
feat(android): add live video label #4190
feat(android): add live video label #4190
Conversation
android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java
Outdated
Show resolved
Hide resolved
android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java
Outdated
Show resolved
Hide resolved
android/src/main/java/com/brentvatne/common/api/ControlsConfig.kt
Outdated
Show resolved
Hide resolved
android/src/main/java/com/brentvatne/common/api/ControlsConfig.kt
Outdated
Show resolved
Hide resolved
android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java
Outdated
Show resolved
Hide resolved
One more remark and after I think we are good ! |
and you forgot to add the new field in the documentation ! |
You're right. |
@freeboub |
android/src/main/java/com/brentvatne/common/api/ControlsConfig.kt
Outdated
Show resolved
Hide resolved
@seyedmostafahasani there are some conflict due to another pr merged. previousButton.setImageAlpha(0);
previousButton.setClickable(false); Thank you |
# Conflicts: # android/src/main/java/com/brentvatne/common/api/ControlsConfig.kt # android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java # docs/pages/component/props.mdx # src/specs/VideoNativeComponent.ts # src/types/video.ts
@freeboub |
Summary
Display a
Live
label for live videos.Motivation
This allows the user to easily identify whether the video is live.
Changes
Test plan
Play a live video in the sample app to verify the label appears correctly.