We're here to help

    Cheat codes HTML5 player | URL parameters

    Follow

    In this forum we have already explained some of the options you can add to the URL of the HTML5 player. Hereafter you will find more options for you to use.

    Attention:

    • These options can change in the future
    • They won't work when playing local files. Only if the player is placed on a webserver
    • Older versions of the player will not support all features.

    How to use:

     You can add these codes at the end of the url e.g.

    https://demo.presentations2go.eu/P2G/Player/Player.aspx?id=eNzY9U&automaticresize=true

    You can use multiple options at the same time e.g.

    https://demo.presentations2go.eu/P2G/Player/Player.aspx?id=eNzY9U&automaticresize=false&layout=2

     

    Options:

    &layout=

    Force a layout scenario at startup

    1; left video right slide (default)

    2; right video left slide

    3; full size slide, small boxed video

    4; full size video, smal boxed slide

    5; equal hight

    6; video only

    7: slide only

    8: 360 video mode (only in release 5+)

     

     &autoplay=

    true; start playing automatically (default)

    false; display a startbutton. Press playbutton to start the recording

     

    &automaticResize=

    true; automatic scale the video and slides when 30 seconds no new slides are presented.

    false; when disabled, the video can be resized by hand by dragging the lower right corner.

     

    &time=

    time in seconds.

     

    &segments=

    Multiple segments/snippets are played. e.g. &segments=00:01:20-00:01:30|00:06:20-00:07:30

     

    &BackgroundImageUrl=

    You can overrule the background of an individual recording by adding the following string behind the URL for example:

    https://demo.presentations2go.eu/P2G/Player/Player.aspx?id=eNzY9U&BackgroundImageUrl=http://www.bairdtv.com/images/logos/Pepsi80s.png

    However:

    • The image will not be stretched

     &bigPlayButtonUrl=

    url to an alternative playbutton. 

     

    &logoUrl=

    url to an alternative logo which replaces the Presentations2go logo in the lower left corner. Only works if the host of the image has a clientaccesspolicy.xml in the rootweb.

     

    &splashScreenUrl=

    url to an alternative splashscreen which replaces the Presentations2gO logo at startup. Only works if the host of the image has a a clientaccesspolicy.xml  in the rootweb. This feature does not always work in all browsers and on slow connections.

     &background=

    This changes the background color in the player. Usage e.g. &background=00FF00, the hexadecimal color code without the preceding # 

     https://demo.presentations2go.eu/P2G/Player/Player.aspx?id=eNzY9U&background=AA0000

    &accentcolor=

    This changes the accent color in the player. Usage e.g. &accentcolor=FF0000, the hexadecimal color code without the preceding #

    &inverted=true

    This mode loads an inverted style with white background and inverted icons.

     

    &showminimalbuttons=

    True or false, default set to false. An embedded player has often limited width available. This will hide several less used buttons. The buttons will return when you go to full screen.

    &simple=

    True or false, default set to false. This eliminates almost all features and is ideal for embedding video only. Do not combine with showminimalbuttons.

     https://demo.presentations2go.eu/P2G/Player/Player.aspx?id=eNzY9U&simple=true&autoplay=true

     

     Full list with possible player cheats:

     

    `

    Parameter

    Required

    Values

    Description

    &backgroundImageUrl

     

    ./images/background.jpg

    url to a picture (jpeg/png) that replaces the standard player background. Because of cross site scripting issues you may need to place the image in the presentations2go server (c:\inetpub\wwwroot\p2g\images\)

    NOTE: backgroundImageUrl is overruled when used in combination with background

    &autoPlay

     

    True/false

    Defines if the player should automatically start playing. If false a semi-transparent play button will be placed on top of the video.

    &layout

     

    Number

    Manipulate the layout position of video and slides:
    1 = video left, slide right
    2 = video right, slide left
    3 = video picture in picture in slide
    4 = slide picture in picture in video
    5 = video and slide equal size
    6 = video only
    7 = slide only
    8 = 360 video

    &helpUrl

     

    url to the help file

    Webpage, video etc. that will be fired when the help button is pressed. E.g. http://www.presentations2go.eu/player_mov_scenes/interactief_player.swf

    &time

     

    Startposition in seconds

    Start playing the video from a certain time position

    &automaticResize

     

    True/false

    Should video size increase after 30 seconds when no new slide is shown.

    &volumeLevel

     

    0-100

    Default volume level in the player.

    &logoUrl

     

    url

    url to the logo shown in the button bar

    &splashScreenUrl

     

    url

    url to the logo shown when the player starts up

    &bigPlayButtonUrl

     

    url

    url to the play button image that is shown when auto play is false

    &segments

     

    Timecode

    Play only defined segments from a video or recording (hh:mm:ss) e.g. &segments=00:00:11-00:00:14

    &disableButtons

     

    1.1|2|3.1|3.12

    You can hide any Silverlight player button. There are 3 sections; 1: Tag explorer; 2: Slide explorer; 3: toolbar buttons. You can hide a complete section, e.g. &disableButtons=1, or single buttons in a section, like & disableButtons=3.5|3.6|3.7

    See also below for the full list

    &showMinimalButtons

     

    True/False

    An embedded player is often limited in width. Use this parameter to automatically hide less essential buttons.

    &background

     

    000000

    This parameter changes the default black background color of the player in any color you want. Use the hexadecimal code without # or a color name. E.g. background=green, or background=00ff00

    NOTE: This parameter overrules backgroundImageUrl

    &accentcolor

     

    ffffff

    This parameter changes the white accent color in the player in any color you want. Use the hexadecimal code without # or a color name. E.g. background=green, or background=00ff00

     &simple    True/false True or false, default set to false. This eliminates almost all features and is ideal for embedding video only. Do not combine with showminimalbuttons.
    &inverted   True/false True or false, inverts the colors to white background with inverted icons.

     

    Button number list:

    1: Tag Explorer

    1.1: Scroll up tag list fast

    1.2: Scroll up tag list

    1.3: Scroll down tag list

    1.4: Scroll down tag list fast

    1.5: Download

    1.6: Filter

    1.7: Reply

    1.8: Edit

    1.9: Delete

     

    2: Slide Explorer

    2.1: Scroll up slide list fast

    2.2: Scroll up slide list

    2.3: Scroll down slide list

    2.4: Scroll down slide list fast

     

    3: Player Control (play/pause)

     

    4: Slide navigation

    4.1: FirstSlide

    4.2: PreviousSlide

    4.3: NextSlide

    4.4: LastSlide

    4.5: Turn Repeat On/Off

     

    5: Audio and info

    5.1: Volume

    5.2: VideoInfo

     

    7: Segmenting

    7.1: Mark in

    7.2: etc.

     

    8. Sharing

    8.1: Embed text

    8.2: so on

     

    9: Tag

     

    11: Layout and setting

    11.1: Layout

    11.1.1: First button in the layout menu

    11.1.2: so on

    11.2: Settings

     

    12: Size

    12.1: Video size mode (embed only)

    12.2: Full screen toggle

     

    13: Logo

     

    Was this article helpful?
    0 out of 0 found this helpful

    Comments