I don't know what you believe Google changed about YouTube, but I believe it has just made itself worse.
"Last month 60 popular celebrity gossip sites were closed overnight for corrupting "core socialist values," and a new regulation released in May requires all online news portals to be managed by Communist Party-sanctioned editorial staff."
I mean, yes, you also can't get away with organizing an opposition, but they really do care about social cohesion and good family values above and beyond that.
(Also, one should always note that the BBC is state owned when they write articles full of invective like this).
The party doesn't actually need "core socialist values" to stay in charge. They could easily have adopted a Putin (or Napoleon, or Caesar) attitude of "I don't give a damn about the framework legitimizing my rule, as long as you acknowledge me as the boss".
They did oversee an unprecedented rise in living standards and global influence after all...
Maybe those core socialist values were what enabled it?