ruffle/web/packages/extension/assets/options.html

81 lines
3.8 KiB
HTML
Raw Normal View History

2020-05-28 17:19:41 +00:00
<!DOCTYPE html>
2021-03-09 19:59:55 +00:00
2020-05-28 17:19:41 +00:00
<html>
2020-11-28 22:14:09 +00:00
<head>
2021-03-09 19:59:55 +00:00
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
2020-11-28 22:14:09 +00:00
<title>Ruffle Settings</title>
2023-04-26 09:20:58 +00:00
<link rel="icon" type="image/png" href="images/icon32.png" />
2021-03-09 19:59:55 +00:00
<link rel="stylesheet" href="css/common.css" />
2021-02-14 11:30:16 +00:00
<link rel="stylesheet" href="css/options.css" />
2020-11-28 22:14:09 +00:00
</head>
<body>
2021-03-09 19:59:55 +00:00
<div class="header">
<a href="https://ruffle.rs/" target="_blank">
<img
2021-08-16 12:26:31 +00:00
src="images/logo.svg"
2021-03-09 19:59:55 +00:00
alt="Ruffle"
2021-08-16 12:26:31 +00:00
data-canonical-src="images/logo.svg"
2021-03-09 19:59:55 +00:00
class="logo" />
</a>
2020-11-28 22:14:09 +00:00
</div>
<div class="options container">
2021-09-25 10:02:01 +00:00
<div class="option checkbox">
2021-03-09 19:59:55 +00:00
<input type="checkbox" id="ruffle_enable" />
<label for="ruffle_enable">Play Flash content in Ruffle</label>
</div>
2021-09-25 10:02:01 +00:00
<div class="option checkbox">
2023-03-07 12:01:41 +00:00
<input type="checkbox" id="show_swf_download" />
<label for="show_swf_download">Show SWF download in context menu</label>
2021-03-09 19:59:55 +00:00
</div>
<div class="option checkbox">
<input type="checkbox" id="autostart" />
<label for="autostart">Play automatically without splash screen (then click to unmute)</label>
</div>
<details>
2023-05-04 14:58:37 +00:00
<summary id="advanced_options">Advanced Options</summary>
<div class="options">
<div class="option checkbox">
<input type="checkbox" id="ignore_optout" />
2023-05-01 07:42:03 +00:00
<label for="ignore_optout">Play Flash content even on sites that disallow Ruffle</label>
</div>
<div class="option select">
<select id="log_level">
2023-05-04 14:58:37 +00:00
<option value="info" id="log_level_info">Info</option>
<option value="warn" id="log_level_warn">Warning</option>
<option value="error" id="log_level_error">Error</option>
</select>
<label for="log_level">Log level</label>
</div>
<div class="option select">
<select id="preferred_renderer">
2023-05-04 14:58:37 +00:00
<option value="" id="preferred_renderer_auto">Automatic</option>
<option value="webgpu">WebGPU</option>
<option value="wgpu-webgl">Wgpu (via WebGL)</option>
<option value="webgl">WebGL</option>
<option value="canvas">Canvas2D</option>
</select>
<label for="preferred_renderer">Preferred renderer</label>
</div>
<div class="option number-input">
<input type="number" id="player_version"
min="1"
max="32"
placeholder="32"
/>
<label for="player_version">Flash player version number to emulate (range 1-32)</label>
</div>
<div class="option number-input">
<input type="number" id="max_execution_duration" min="1" />
<label for="max_execution_duration">Maximum allowed ActionScript execution duration (in seconds)</label>
</div>
</div>
<div class="options special">
<button id="reset_settings">Reset settings</button>
</div>
</details>
2020-11-28 22:14:09 +00:00
</div>
2021-02-14 11:30:16 +00:00
<script src="dist/options.js"></script>
2020-11-28 22:14:09 +00:00
</body>
2021-03-09 19:59:55 +00:00
</html>