How To Setup Your Account And Use HTML Embed Code

  1. After logging in to the control panel, register your website domain name.
  2. Download HTML/JavaScript/CSS code sample.
    Download HTML embed code
  3. On every page of your website, where you want to embed private YouTube videos, insert following code:
    • Inside <head></head> tags, insert:
      <script type='text/javascript' src='/path_to/jquery.js'></script>
      <script type='text/javascript' src='/path_to/embed.js'></script>
      <script type='text/javascript' src='//'></script>

      <link href="/path_to/embed.css" rel="stylesheet" type="text/css">

    • For each video, inside <body></body> tags, insert:
      <div class="YTplayer" id="your_youtube_video_id" data-params="controls=1,rel=1" style="width:640px;height:360px;"></div>

    Replacing "your_youtube_video_id" with the actual YouTube video ID (eg.

  4. To set up global parameters for embedded videos or set up individual ones for each video, see available values for "data-params" in embed.js.