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

Add functionality to ignore url parameters #56

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

paulrostorp
Copy link

@paulrostorp paulrostorp commented Sep 22, 2022

this PR adds functionality to ignore URL parameters by running the following at startup:

import * as cache from "react-native-video-cache-with-params-ignore";

cache.setIgnoreUrlParams(true);

This is particularly useful when dealing with CDNs like BunnyCDN which only support token authentication via url parameter.

package published on react-native-video-cache-with-params-ignore@2.7.2

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.

None yet

1 participant