Using refs
This part shows the duck typing example using the "common way" of the pattern, with inversion of control in runtime and doing the PlayerControl component call the elements methods.
But React don't work well in this way, as we need to use refs to access the component "methods". But not all elements are going to be audio or video, leading use to a anti-pattern when using React