Hardcoded Implementation Guide

Adding JS into an HTML document

Add Primis Player tag inside an HTML document.

Primis Player tag example

<script type="text/javascript" language="javascript" src="https://live.primis.tech/live/liveView.php?s=XXXXX"></script>

The < script > tag should be placed in the body section of your HTML, the tag should be placed inside the document body between two HTML tags.

<body>Primis Player tag</body>

Full Code Example

<html lang="en">
<head>
  ...
</head>
<body>
  ...
  <h1>Article Title</h1>
  <p>... text text text ..</p>
  ...
  <div>
<script type="text/javascript" language="javascript" src="https://live.primis.tech/live/liveView.php?s=XXXXX"></script>
  </div>
  ...
  <p>... text text text ..</p>
  ...
</body>
</html>

Did this page help you?