Press "Enter" to skip to content

Video Menu URL format

Note: this page is relatively technical. If you are looking for a simple, specific integration then please check the other blog posts above this level.

URL Types

There are two types of URL’s that can be used for PitchHub Videos and Video Menus:

  1. IFRAME
    • This is the same approach that YouTube and Vimeo use
    • Complete separation between your web page and the PitchHub web page, in terms of styling
    • The window area is restricted to the space of the IFRAME, which can be a problem for the video menu, when viewed on a mobile device
  2. JavaScript
    1. This approach works better for Video Menus
    2. The video plays in the same HTML/CSS area that the rest of the web page is in.

IFRAME

The URL format is:

https://player.pitchhub.com/en/public/player/iframe/[id]

, where [id] is the “token” value from within the PitchHub system.

This URL format can be used for both standalone videos and video menus.

If you were to include this URL in an IFRAME tag, for a video ID of “cb0c7b167f5193477a4df963410bc39f“it would look like:

<iframe src="https://player.pitchhub.com/en/public/player/iframe/cb0c7b167f5193477a4df963410bc39f" width="1000px" height="550px" frameborder="0" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen=""></iframe>

JavaScript

The URL format is:

https://player.pitchhub.com/en/public/player/embed/[id]

, where [id] is the “token” value from within the PitchHub system.

This URL format can be used for both standalone videos and video menus.

If you were to include this URL in an SCRIPT tag, for a video ID of “cb0c7b167f5193477a4df963410bc39f“it would look like:

<script src="https://api.pitchhub.com/en/public/player/embed/cb0c7b167f5193477a4df963410bc39f"></script>

Bitnami