Documentation

Embedding Player in Page

    Script can be placed where video is expected in page. See player configurator.

    Example:

    <script channel="best" autoPlay="true" mute="true" name="stream.plus"  type="text/javascript" src="https://play.stream.plus/embed/frame.js"> </script>

    Parameters

      channel

      String

      Name of the channel to play. Channel name is same as username.

      playlist

      String

      Playlist ID to play

      video

      String

      Video ID to play

      guide

      Hidden | Visible | Full

      Guide is player bottom menu.
      Full : full bottom navigation
      Visible : menu bar is visible, navigation is hidden.
      Hidden : both menu and navigation is hidden

      autoPlay

      True | False

      Automatic video playback after page load

      mute

      True | False

      Video is played without sound

      overlay

      True | False

      Player is shown in full-page overlay with semi-transparent background.

      background

      RGB color

      Background color of player. Color format is RGB. Example: RGB(0,0,0)

      history

      True | False

      Set to "True" by default when guide is in full mode.
      Every video in playlist creates browsing history record.Default

      noInit

      True | False

      Player is not initialized when page loads, until user clicks on a "#showPlayer" link

      muteNotBack

      True | False

      Mute button is showed instead of back button

      id

      String

      Defines player id when more players are on page.

      name

      stream.plus

      Must be set to "stream.plus"

Postponed player initialization

Player can be loaded to page but not initialized when "noInit" parameter is set to "true". It can be initialized later when user clicks on a "#showPlayer" link.

Example

<script channel="best" noInit=true overlay="true" name="stream.plus"  type="text/javascript" src="https://play.stream.plus/embed/frame.js"> </script>
<a href="#showPlayer">Show player</a>
            

When more players are used in page, IDs must be defined for each player. #showPlayer=%player_id% is invoked to initialize a player.

Example:

<script id="2" channel="best" noInit=true overlay="true" name="stream.plus"  type="text/javascript" src="https://play.stream.plus/embed/frame.js"> </script>
<script id="1" channel="best" mute="true" noInit=true overlay="true" name="stream.plus"  type="text/javascript" src="https://play.stream.plus/embed/frame.js"> </script>
<a href="#showPlayer=1">Show player 1</a>
<a href="#showPlayer=2">Show player 2</a>
            

Do you want more functions?

Just email us! marek@stream.plus

Put great videos from all over the Internet to one place. Start Now