Adding transitions and width clamping on the embedded videos