Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>Video.js 4.12.15 Example Embed w/ console check</title>
  
  <link href="https://cdn.rawgit.com/videojs/video.js/v4.12.15/dist/video-js/video-js.css" rel="stylesheet">
  <script src="https://cdn.rawgit.com/videojs/video.js/v4.12.15/dist/video-js/video.dev.js"></script>
  <script src="https://rawgit.com/eXon/videojs-youtube/v1.2.13/dist/vjs.youtube.js"></script>
  
  <script>
    console.log('videojs exists?: ' + !!videojs);
  </script>
  
</head>
<body>
  <h1>Video.js Example Embed</h1>
  <video id="my_video_1" class="video-js vjs-default-skin" controls preload="auto" width="640" height="268" 
  data-setup='{ "techOrder": ["youtube"] }'>
    <source src="https://www.youtube.com/watch?v=xjS6SftYQaQ" type='video/youtube'>
  </video>
  
  <script>
  </script>
  
</body>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers