This page demonstrates the YouTube Player API's functions. Embedded players must have a viewport that is at least 200px by 200px. If the player displays controls, it must be large enough to fully display the controls without shrinking the viewport below the minimum size. We recommend 16:9 players be at least 480 pixels wide and 270 pixels tall.
Note: The YouTube Flash Player API and JavaScript Player API were deprecated on January 27, 2015. Please migrate your applications to use the IFrame API or embedded <iframe>
players.