Javascript snippet to make video players fill their container