Changes to make video element work with Qt 5.1.1.