may be move the code in if clause to new function called getPremiumVideoEmbedCode()?