Added method for create custom DOM element in player