-
-
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
Externally loaded text tracks not loading properly #3461
Conversation
@KrzysztofMoch tagging because the changes revolve around the linting introduced in 800aee0 |
Thank you for your PR! Will look at it |
@brycnguyen builds failure is cause by react-native issue https://x.com/Kelset/status/1744307922065150097?s=20 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, Thanks for catching that! Can you rebase it onto master? I have fixed example builds
@freeboub , could you let me know if the changes here make sense: https://github.com/react-native-video/react-native-video/pull/3461/files#diff-1536a22e8e888a1d8bccd1916bfec1af06373dd52ddb442c09544718e06a7193R1209 ? |
@brycnguyen This change is good, there will never be both external & internal text track at the same time. You can see it here |
@brycnguyen can I merge this ? |
@KrzysztofMoch sounds good! Feel free to merge. |
I noticed that my text tracks stop loading with the introduction of v6.0.0-beta.2. Looking at the condition that was introduced in the linting, I reverted it and saw that it loaded correctly after.
onLoad was also not including my externally loaded text track. My set up saves the text track with react-native-fs and then loads it in before playing the video player.
Update the documentation
If you've added new functionality, update the README.md with an entry for your prop or event.
The entry should be inserted in alphabetical order.
Update the changelog
After you open the PR, update the CHANGELOG.md file with an entry pointing to your PR.
Provide an example of how to test the change
If the PR requires special testing setup provide all the relevant instructions and files. This may include a sample video file or URL, configuration, or setup steps.
Describe the changes
Partially reverts: 800aee0, which was causing the text track to not load properly
Fixes onLoad not including externally loaded text track: #2953 (comment)