adding type attribute to mainMedia video <source>