Sha256: 456a8a829d6a86707cf522cca31409b64e7d6447540bb12952c2198e28c20ffa

Contents?: true

Size: 969 Bytes

Versions: 15

Compression:

Stored size: 969 Bytes

Contents

<!DOCTYPE html>
<html>
<head>
  <link type="text/css" rel="stylesheet" href="../node_modules/video.js/dist/video-js.min.css" />
</head>
<body>
  <video
    id="vid1"
    class="video-js vjs-default-skin"
    width="640" height="264"
    data-setup='{ "techOrder": ["youtube"], "sources": [{ "type": "video/youtube", "src": "https://www.youtube.com/watch?v=xjS6SftYQaQ"}] }'
  >
  </video>

  <script src="../node_modules/video.js/dist/video.js"></script>
  <script src="../dist/Youtube.js"></script>
  <script>
  // You can use any YouTube player parameters
  // https://developers.google.com/youtube/player_parameters?playerVersion=HTML5#Parameters
  // To use YouTube controls, you must use ytControls instead
  // To use the loop or autoplay, use the video.js settings
  // The language is set to the same as video.js by default
  videojs.setGlobalOptions({
    youtube: {
      ytControls: 2,
      rel: 1,
      autohide: 0
    }
  });
  </script>
</body>
</html>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
j1-template-2024.2.1 assets/themes/j1/modules/videojs/js/plugins/yt/examples/global-parameters.html
j1-template-2024.2.0 assets/themes/j1/modules/videojs/js/plugins/yt/examples/global-parameters.html
j1-template-2024.1.5 assets/themes/j1/modules/videojs/js/plugins/yt/examples/global-parameters.html
j1-template-2024.1.4 assets/themes/j1/modules/videojs/js/plugins/yt/examples/global-parameters.html
j1-template-2024.1.3 assets/themes/j1/modules/videojs/js/plugins/yt/examples/global-parameters.html
j1-template-2024.1.2 assets/themes/j1/modules/videojs/js/plugins/yt/examples/global-parameters.html
j1-template-2024.1.1 assets/themes/j1/modules/videojs/js/plugins/yt/examples/global-parameters.html
j1-template-2024.1.0 assets/themes/j1/modules/videojs/js/plugins/yt/examples/global-parameters.html
j1-template-2024.0.3 assets/themes/j1/modules/videojs/js/plugins/yt/examples/global-parameters.html
j1-template-2024.0.2 assets/themes/j1/modules/videojs/js/plugins/yt/examples/global-parameters.html
j1-template-2024.0.1 assets/themes/j1/modules/videojs/js/plugins/yt/examples/global-parameters.html
j1-template-2024.0.0 assets/themes/j1/modules/videojs/js/plugins/yt/examples/global-parameters.html
j1-template-2023.10.2 assets/themes/j1/modules/videojs/js/plugins/yt/examples/global-parameters.html
j1-template-2023.10.1 assets/themes/j1/modules/videojs/js/plugins/yt/examples/global-parameters.html
j1-template-2023.10.0 assets/themes/j1/modules/videojs/js/plugins/yt/examples/global-parameters.html