Closed brandonocasey closed 6 years ago
So, should we have the reset code for ads here or should the ad plugins know to reset the VR plugin when enabled? Thoughts @incompl ?
We probably want to reset VR when videoElementRecyled
is true in contrib-ads, rather than just on iOS, no?
Yeah we probably want to set it whenever videoElementRecycled
is true. I would think we would want this plugin to know about ads and not the other way around.
We have been trying to keep all ad-related code contained. I'm not sure where it is necessarily better, though.
QA LGTM
Reset needs to null out variables and dispose, just dispose won't actually reset the plugin. IOS has a special case for many ad plugins that we have to handle.