Bug 1085212: release video hardware before sharing and restore when done

Followup fix for bug 1088456: use playerShowing instead of playing so the patch works even if we are paused
I think it's ok if the 2.0 patch doesn't match master. Better to have master more clear/intuitive.