I am using mediaelement.js to display videos on my site. I'd like to place a check that if fullscreen API is available on the browser, use the mediaelement player, otherwise use the default youtube player.

How can I go about it?