-
Notifications
You must be signed in to change notification settings - Fork 133
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
[QUESTION] Load experimental features from CDN #1631
Comments
Hi, I've PoCed the possibility of making individual features bundles, but there's some drawbacks and maintenance complexities in doing that on our side. You're in a case where you have no bundler in your applications? import { MULTI_THREAD } from "rx-player/experimental/features";
RxPlayer.addFeatures([MULTI_THREAD]); Assuming that |
Also as you wrote about it, do you use the We're currently wondering how we could make some evolutions with it (or even replace it by something better), so it would be interesting to have a usage example if you do use it. |
About
|
About bundler, it is more like I would like to generate minified experimental file e.g. |
What I did is fork the repo and make the changes (expose the experimental feature) and create my own customized bundle file. |
Hi @KunXi-Fox, If you're doing a bundle, it may not be a mandatory step to fork, or maybe you rely on the RxPlayer's bundler setup also so you don't have one to set? You could just set-up a supplementary layer with e.g. import RxPlayer from "rx-player";
import { MULTI_THREAD } from "rx-player/experimental/features";
RxPlayer.addFeatures([MULTI_THREAD]);
export default RxPlayer; |
Yeah, that could also works. But we have some extra requirements not only to expose experimental feature to bundle file, but also need to keep |
Hi 👋
I have a question about features that are not included in the base minified RxPlayer build, basically I load RxPlayer from private cdn but it doesn't include features like metaplaylist, dash wasm etc.
Is there some way to have those features separated as e.g. modules/packages that I can load them additionally from cdn?
The text was updated successfully, but these errors were encountered: