Exposing the method of a trick is synonymous with teaching it. It's the same thing just with the facade that what you're doing is educational. Perhaps you do have good intentions and want to educate, but whether it's for money/views or teaching those who want to learn, the videos look the same.
What comes to my mind with what you've said then is that teaching magic to new magicians online is exposure regardless of where it's done. So, if exposure is a negative thing as it would seem your view implies, are we not supposed to pass magic on online by teaching it because it would be exposure? My side of all of this is simple. Without teaching magic, the art form cannot grow and cannot survive.
Another thing is that a fair number of today's youngest learning magicians start on the only place they know (and can sometimes afford): the internet. It's also because of the internet that the art form has spread. That said, in today's world, we'd be foolish to allow poor teachings of effects to produce magicians that perform poorly by doing nothing to help the beginners. We can either work as a community to get new magicians on the right path or we can allow magic to become tarnished by beginners that go down the wrong path due to poor teaching.
In closing though, I would like to note that few tutorials online emphasize the presentation and performance side of magic. As a result the magicians learning solely from tutorials on YouTube focus more on the sleights, and thereby perform poorly. So the question I have now is, are we going to sit by and refuse to teach tricks on YouTube because it's "exposing the trick" and allow those with the wrong motives to do the teaching, thus guiding new magicians down a path that tarnishes the reputation of magic? Or, are we going to adapt to changing times and work to ensure magic grows as an art form?