vc64webplayer_customizing - vc64web/virtualc64web GitHub Wiki

the web player has an icon bar at the bottom for controlling the emulator

to hide any icon of the icon bar just give its id a display:none style

there are the following icon ids

  • stop_icon
  • btn_reset
  • toggle_icon
  • btn_unlock_audio
  • btn_keyboard
  • btn_zip
  • btn_overlay
  • btn_open_in_extra_tab

for example like so

<style>
  #stop_icon {
    display: none;
  }
</style>

also be aware that there are two icons that are not visible by default

  • the btn_zip will be shown only when a zip file is loaded
  • the btn_reset will not be shown by default

to make the btn_reset visible you have to set the show_reset_icon before calling load

set

vc64web_player.show_reset_icon=true;

before

vc64web_player.load(
   document.getElementById("my_emulator_div"),
   encodeURIComponent(JSON.stringify(config))
);
⚠️ **GitHub.com Fallback** ⚠️