See the component page for more information.
Install using Bower
bower install youtube-video-statisticIf you haven't already, include the WebComponents polyfill on your page:
<head>
<script src="../webcomponentsjs/webcomponents.min.js"></script>
</head>Import the component:
<link rel="import" href="youtube-video-statistic.html">You can now use the component like any other element:
<youtube-video-statistic videoid="yRbOSdAe_JU"
apiKey="AIzaSyDq6ojHsOAqd8lCuY">
</youtube-video-statistic>To get an API Key, please refer to the YouTube Data API (v3) getting started guide.