CW-103 - support youku videos

* Refactored switch statements to if statements due to JSHint indentation bug.
 * Created WidgetConstants