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

72 lines
3.4 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 src="images/logo.svg" alt="Ruffle" data-canonical-src="images/logo.svg" class="logo" />
2021-03-09 19:59:55 +00:00
</a>
<div id="version-text">nightly YYYY-MM-DD</div>
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">Autoplay Flash content (click to unmute)</label>
</div>
<div class="option checkbox">
<input type="checkbox" id="swf_takeover" />
<label for="swf_takeover">Redirect SWF links to SWF Player</label>
</div>
<div id="advanced-options">Advanced Options</div>
<div class="option checkbox">
<input type="checkbox" id="ignore_optout" />
<label for="ignore_optout">Play Flash content even on sites that disallow Ruffle</label>
</div>
<div class="option select">
<select id="log_level">
<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">
<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>
<button id="reset-settings">Reset settings</button>
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>