Cheat codes Silverlight

In this forum we have already explained some of the options you can add to the URL of the Silverlight 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
  • The codes are case sensitive
  • 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.

http://p2g.presentations2go.eu/P2GTV/viewer.html?path=OnlineEduca/2011/01/26/2/video_post.wmv&layout=2

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

http://p2g.presentations2go.eu/P2GTV/viewer.html?path=OnlineEduca/2011/01/26/2/video_post.wmv&layout=2&autoplay=false&animation=false&hidemetadata=true

 

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

 

 &autoplay=

true; start playing automatically (default)

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

 

&VideoUrl=

play an external wmv or mp4 video using the Presentations 2Go mediaplayer

 

&animate=

true; show the hot areas and controls at startup (default)

fasle; don't show the hot areas at startup

 

&autohidePresentationControl=

true; hide the bottom controls

false; show bottom contols (default)

 

&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.

 

&debugMode=

true; show additional log information. Usefull in case of errors.

false; default

 

&allowRating=

true; show rating stars; (default)

false; hide rating stars

 

&time=

time in milliseconds.

 

&segments=

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

 

&hideMetadata=

true; don't show the metadata

false; show metadate below the video (default)

 

&BackgroundImageUrl=

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

http://p2g.presentations2go.eu/P2GTV/VideoViewer.html?path=LearningValley/Video/2009/12/09/1/nobroadcast.wmv&BackgroundImageUrl=http://www.epitch.tv/Content/Images/ePitch_success.jpg

However:

  • The server where the images is hosted needs to have a clientaccesspolicy.xml in the rootweb.
  • The image will be streched

An example of a clientaccesspolicy.xml can be found here: http://www.epitch.tv/clientaccesspolicy.xml

 

&bigPlayButtonUrl=

url to an alternative playbutton. Only works if the host of the image has a clientaccesspolicy.xml in the rootweb.

 

&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 # 

 

&accentcolor=

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

 

&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.

 

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

&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 milliseconds

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.

&tagServiceUrl

 

url

url to the presentations2go tagging service. E.g. https://demo.presentations2go.eu/p2g/service.asmx

&showLiveSign

 

True/false

If true, a live logo will be shown in the top left corner of 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

&segmentSeparator

 

|

Character that separates multiple segments. E.g. &segments=00:00:11-00:00:14|00:00:16-00:00:19

&enableSubtitles

 

True/false

Enable/disable the display of closed captioning if available

&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

&highlightcolor

 

0000ff

This parameter changes the blue highlight 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

&highlightcolor

 

0000ff

This parameter changes the blue highlight 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

&highlightcolor

 

0000ff

This parameter changes the blue highlight 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

&forcehtml5

 

True/false

 Available from v4.x; Only for on-demand streams, Live excluded. This parameter will force the player to ignore silverlight and display content in html5 only.
 &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.

 

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: First slide to repeat

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

 

6: Play status and rating

6.1: Playback status

6.2: Rating

 

7: Segmenting

7.1: Mark in

7.2: etc.

 

8. Sharing

8.1: Embed text

8.2: so on

 

9: Tag

 

10: Question

 

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

 

Have more questions? Submit a request

Comments

Powered by Zendesk