Launch with Companion

A button next to your replays: one click, and the replay opens in League of Legends with Companion.

1The link

The button is a plain link to this address, to put in its href.

Link address
https://lowdout.gg/play?url=<URI-encoded address of the .rofl>&name=<URI-encoded name>

Both values are URI-encoded: encodeURIComponent in JavaScript, rawurlencode in PHP, urllib.parse.quote(value, safe='') in Python. The name is optional: without one, remove “&name=…”.

2The button

An image, or a button in HTML and CSS. The link from step 1 goes in href.

Style
Background
Language
Launch with Companion
HTML
<a href="REPLAY_LINK" target="_blank" rel="noopener"><img src="https://lowdout.gg/companion/launch-with-companion-dark-en.svg" alt="Launch with Companion" width="240" height="48"></a>