-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Intent to implement: video disable feature #9421
Comments
This feature is absolutely welcomed 🙂 thank you |
how about a disable "banner" for those that only use video or native, is that even possible? |
@spormeon i'd say biggest economy in core modules will be achieved with video disabling, but even more economy when all adapters will support feature flags, because video is connected with a lot code in adapters related to renderers. @mbcrute is it possible to make disabling feature during bundling process rather than building? E.g i have a service that pre-builds all the modules, after that it only does bundling to avoid long delays. so our current fork has to be replicated in subfolders, to compile and bundle separately for those who don't want video. |
Hello 👋 Just wanted to circle back on this to provide an update... In our fork of Prebid.js we have extended the We have been testing the changes to Prebid core on our website for the past week and are experiencing no issues so we feel confident that we're nearly ready to submit a PR for review. My question is: what is the best way to do this? Should we open one large-ish pull request for all of the changes? Or should we open several smaller PRs - one for the changes to Prebid core and then one each for the changes to the bid adapters we've modified? Or is there some other approach that would be preferable? |
@mbcrute we've been seeing your changes come in and they are much appreciated! are there core changes pending or are we done with 9543? |
please reopen if 9543 doesnt complete this, it looks like it does |
Type of issue
Intent to implement, optimization
Description
Currently Prebid supports excluding code supporting the native media type at compile time via the
--disable
command line option of the Gulp build. Doing so trims several KB off of the resulting bundle size.It should be possible to trim a few additional KB by extending this functionality to support excluding code supporting the video media type (e.g.
--disable=NATIVE,VIDEO
).We have been doing some experimentation and analysis in our fork of Prebid and thus far have trimmed about 4KB.
We'd like to see if there's any interest in this feature from the maintainers and, if so, what's would be the best way to contribute (one PR? multiple PRs?).
The text was updated successfully, but these errors were encountered: