Skip to content

Link Based APIs

Mitsunee edited this page Feb 22, 2018 · 6 revisions

Popout-Maker (v1.2+) offers presets via link based APIs. These can be used by just adding your data to the link.

Contents

Website Link Presets

Website Link Presets support the options:

  • Resolution
    The resolution of the popout can be set by adding {width}/{height}/ after /link/.
  • Disabling Scrollbars
    Scrollbars can be disabled by putting noscroll/ before the URL.

popoutmaker.mitsunee.com/link/[{width}/{height}/][noscroll/]{url}

Examples

/link/http://www.mitsunee.com = a popout with www.mitsunee.com and no special settings
/link/640/400/http://www.mitsunee.com = a 640x400px sized popout with www.mitsunee.com and scrollbars
/link/noscroll/http://www.mitsunee.com = a popout with www.mitsunee.com and no scrollbars
/link/640/400/noscroll/http://www.mitsunee.com = a 640x400px sized popout with www.mitsunee.com and no scrollbars

YouTube Link Presets

YouTube Link Presets suppport the options:

  • Resolution
    The resolution of the popout can be set by adding {width}/{height}/ after /link/.
  • Advanced Options
    Advanced Options can be set by adding the parameter consisting of the respective letters before the URL. The following options are available in this order:
    • A to disable Autoplay
    • i to disable Annotations (i because it's called iv_load_policy in the embed URL)
    • P to enable playlists. Note that if the scripts finds no video-ID, but does find a playlist-ID, it will automatically enable playlists even when this letter isn't in the parameter!
    • L to enable Looping.

popoutmaker.mitsunee.com/youtube/[{width}/{height}/][[A][i][P][L]/]{url}

Examples

/youtube/http://www.youtube.com/watch?v=videovideo = a popout with a video and default settings
/youtube/730/420/http://youtube.com/watch?v=videovideo = a 730x420px sized video popout
/youtube/iL/http://gaming.youtube.com/watch?v=videovideo = a video popout with annotations disabled and looping on
/youtube/730/420/i/http://youtube.com/playlist?list=playlistplaylist = a 730x420px sized video popout with a playlist and annotations disabled. The playlist option is turned on by default, because no video-ID was given.

YouTube Gaming Link Presets

YouTube Gaming Link Presets support the following options in any order after a channel name:

  • Height (width is calculated automatically to ensure a 16:9 ratio)
  • Chat
    Valid options are:
    • right = Chat on the right side
    • left = Chat on the left side
    • none = No chat in the popout

popoutmaker.mitsunee.com/ytg/{video-url}/[{height}/][left|none|right]
or
popoutmaker.mitsunee.com/ytg/{video-url}/[left/|none/|right/][{height}]

Twitch Link Presets

Twitch Link Presets support the following options in any order after a channel name:

  • Height (width is calculated automatically to ensure a 16:9 ratio)
  • Chat
    Valid options are:
    • right = Chat on the right side
    • left = Chat on the left side
    • none = No chat in the popout

popoutmaker.mitsunee.com/twitch/{channelName}/[{height}/][left|none|right]
or
popoutmaker.mitsunee.com/twitch/{channelName}/[left/|none/|right/][{height}]

Examples

/twitch/mitsunee_ = the channel mitsunee_
/twitch/mitsunee_/540 = the channel mitsunee_ in a window with a 540px height.
/twitch/mitsunee_/nochat/1080 = the channel mitsunee_ in a window with a 1080px height and no chat.

Clone this wiki locally
You can’t perform that action at this time.