Restore video tag attributes on tech change

New attempt to fix this issue #1367 related to the webkit-playsinline attribute missing.
The name should match the existing `getAttributeValues` in the same file for API consistency. I'd be fine with changing that to `getElementAttributes` since it's not an exported function yet.