SuperCode IDE
Web, PHP 8.2 & WASM Hub/Canvas, Media Export & Offline Web Apps
4.9 ★ HTML5 CANVAS & WEBGL · WEBM/MP3 EXPORT · FILE PICKER POLYFILL · INDEXEDDB

Build HTML5 Canvas, Media-Export & Offline Web Apps on Android.

Ordinary mobile WebViews break downloads, fail showSaveFilePicker, and export un-scrubbable WebM videos. SuperCode's WebMediaBridge Engine brings real File System Access & Share polyfills, lossless WebM EBML repair, native video-to-MP3 transcoding, and atomic Android MediaStore saving.

Canvas
2D · WebGL · Audio
Media
PNG · WebM · MP3
Picker
File & Share Polyfill
Storage
IndexedDB + Origin
01 INTERACTIVE HTML5 CANVAS, WEBM & MEDIA BRIDGE WORKBENCH
HTML5 Canvas · showSaveFilePicker · WebM/MP3 MediaStore Export
canvas-studio/visualizer.js — HTML5 Canvas + Native Media Export
Interactive Console Output
Ready
Local HTTP · MediaBridge
UTF-8 LF Ln 7, Col 1
02 CORE CAPABILITIES

True Browser-Grade Media & Storage APIs Inside Mobile Preview

Prototype creative-coding tools, Canvas/WebGL games, audio utilities, and offline-first web apps that behave like desktop Chrome right on your Android phone.

02.1

Native showSaveFilePicker, showOpenFilePicker & Share API

Document-start JS injection bridges modern File System Access APIs, Blob/DataURL streaming, and navigator.share directly to Android's native storage and share sheet with zero race conditions.

showSaveFilePicker · Blob Streaming · navigator.share
02.2

Magic-Byte Sniffer & Atomic Android MediaStore Export

Inspects true binary file headers so PNGs, WebPs, MP4s, and MP3s never save with mismatched extensions—routing atomically via IS_PENDING locks into Pictures/, Movies/, Music/, or Download/SuperCode.

Magic-Byte Sniffer · Atomic MediaStore
02.3

Lossless WebM EBML Duration & SeekHead Repair

Exports from HTML5 Canvas MediaRecorder often lack duration headers in Android galleries. SuperCode's pure-Kotlin EBML fixer injects SeekHead, Duration, and Cues with zero re-encoding.

WebM SeekHead + Cues · Smooth Scrubbing
02.4

Built-In Native Video-to-Audio Transcoder (MP3 + 6 Formats)

Build local browser media utilities powered by SuperCode's zero-bloat Android MediaCodec + PureMp3Encoder bridge—converting MP4/MKV/WebM to high-SNR MP3 with ID3v2.4 tags offline.

MediaCodec + PureMp3Encoder · ID3v2.4
02.5

Real Local HTTP Origin for IndexedDB, WebGL & HTTP 206

Because pages load from a genuine local HTTP server (not file://), ES Modules, localStorage, IndexedDB, WebGL shaders, web fonts (.woff2), and HTTP 206 video/audio seeking all work seamlessly.

Real Local Origin · HTTP 206 Scrubbing
02.6

HEIC Auto-Transcoding, EXIF Fix & Full-Page PNG Capture

Insert photos via zero-permission Camera FileProvider with automatic HEIC conversion and EXIF orientation fix, or capture crisp full-page PNG mockups up to 2560px.

EXIF Auto-Fix · 2560px PNG Screenshot
Built for Phones, Foldables & Tablets · Lightweight 45 MB Web, PHP 8.2 & WASM Hub
03 STEP-BY-STEP WORKFLOW

Build & Export Rich HTML5 Media Apps in 4 Steps

Write standard modern Web APIs—SuperCode's WebMediaBridge handles Android storage and codecs cleanly.

STEP 01 Real HTTP Origin

Build Canvas, WebGL or WebApp on Local HTTP

Serve HTML5, CSS3, ES Modules, and assets on SuperCode's real local HTTP origin with full localStorage & IndexedDB.

STEP 02 WebMediaBridge

Use Standard Blob, MediaRecorder or File Picker APIs

Call showSaveFilePicker(), a[download], or navigator.share() just as you would in desktop Chrome.

STEP 03 EBML SeekHead Fix

Automatic Magic-Byte Verification & EBML Repair

SuperCode validates binary signatures, fixes WebM duration/seek cues losslessly, and streams large buffers safely.

STEP 04 MediaStore Save

Save Atomically to Android Gallery or Downloads

Exported PNGs, WebMs, MP3s, and JSON files appear immediately in system apps with zero half-written artifacts.

WebMediaBridge V10 · Lossless WebM Repair · Real Local HTTP Origin App Guide
04 CAPABILITY MATRIX

SuperCode Web Studio vs. Standard Android WebView Previewers

SuperCode's HTML5 Canvas & WebMediaBridge Studio upgrades Android mobile web previews with a real local HTTP origin, native showSaveFilePicker / navigator.share polyfills, magic-byte file verification, lossless WebM SeekHead/Cues repair, and atomic MediaStore exports.

SUPERCODE WEB MEDIA, STORAGE & EXPORT CAPABILITY MATRIX
Web API / Capability SuperCode Web Studio Basic file:// Preview Android Integration Best For
File Save & Open showSaveFilePicker + Blob Stream Broken / Ignored Atomic MediaStore + SAF Canvas / PDF / Tool Apps
Canvas Video Export MediaRecorder + EBML Cues Fix 0:00 Un-Scrubbable Movies/SuperCode Gallery Generative Art & Demos
Audio Transcoding Native MediaCodec + MP3 Bridge Requires Heavy WASM Music/SuperCode + ID3v2.4 Offline Media Utilities
Storage & Modules IndexedDB + localStorage + ESM Blocked by CORS / null Persistent Local Origin Offline-First PWAs
Video/Audio Playback HTTP 206 Partial Content Cannot Seek Media Zero-Copy Byte Streaming HTML5 Players & Games
Built for Phones, Foldables & Tablets · Lightweight 45 MB Google Play
05 QUESTIONS & ANSWERS

Frequently Asked Questions

Answers on HTML5 Canvas exports, WebM duration repair, File Picker polyfills, and IndexedDB on Android.

Do Blob downloads and showSaveFilePicker() actually work in SuperCode's Web preview?
Yes. SuperCode injects a zero-race WebMediaBridge at document-start that bridges Blob/DataURL downloads, showSaveFilePicker, showOpenFilePicker, and navigator.share straight to Android's native storage.
Why do Canvas MediaRecorder WebM videos play with accurate timelines when exported from SuperCode?
SuperCode runs a lossless pure-Kotlin EBML SeekHead, Duration, and Cues repair pass before writing to MediaStore—fixing Chrome/WebView's missing duration metadata with zero re-encoding.
Can I build HTML5 Canvas 2D and WebGL games offline in SuperCode?
Yes. Real local HTTP serving supports ES Modules, textures, audio assets, HTTP 206 seeking, localStorage high scores, and DevTools Console error inspection completely offline.
Where are images, videos, and audio files exported by my web app stored?
SuperCode verifies true file types via its Magic-Byte Sniffer and saves atomically via Android MediaStore into Pictures/SuperCode, Movies/SuperCode, Music/SuperCode, or Download/SuperCode.
06 FULL-STACK WEB, PHP 8.2 & DEVTOOLS GUIDES

Complete Full-Stack Web & PHP Documentation Suite

Navigate between our main Web & PHP Studio hub and all 5 specialized web engineering guides.

WEB-HUB HTTP · PHP 8.2 · WASM · Pillar Hub

Full-Stack Web & PHP Studio Overview

Main overview of SuperCode's local HTTP/1.1 server, offline PHP 8.2 + PDO SQLite engine, WebAssembly streaming, and 3-viewport DevTools.

web-ide Open Guide →
WEB-01 PHP 8.2 · $_SESSION · PDO ACID

Offline PHP 8.2 & PDO SQLite Server

Run multi-file PHP 8.2 forms, sessions, file uploads, password_hash(), JSON APIs, and PDO('sqlite:...') databases offline with zero daemon setup.

php-server-pdo-sqlite-android Open Guide →
WEB-02 Mobile / 768dp Tablet / Desktop

HTML5, CSS3 & 3-Viewport Preview

Author HTML5, CSS3, ES Modules, and WebGL over a real local HTTP server with instant Mobile/Tablet/Desktop switching and full-page PNG capture.

html-css-js-responsive-preview Open Guide →
WEB-03 Net Monitor · DOM REPL · .wasm

Mobile Web DevTools, JS REPL & WASM

Debug Errors, Warnings, and HTTP Network timings, inspect serialized DOM nodes in a live JS REPL, and stream binary WebAssembly (.wasm).

mobile-web-devtools-wasm-studio Open Guide →
WEB-04 SFTP/FTPS · Git Pages · Staging

Remote FTP/SFTP Live Web Deploy

Preview remote websites locally on demand, stage full-stack PHP/HTML changes safely, and publish via 3-phase atomic SFTP or Visual Git.

fullstack-web-sftp-deploy-android Open Guide →
WEB-05 Canvas · WebM/MP3 · File Picker

Canvas, Media Export & Offline Web Apps

Build interactive HTML5 Canvas, WebGL, and offline IndexedDB web apps—complete with real showSaveFilePicker, lossless WebM SeekHead repair, PNG/MP3 MediaStore export, and Share API.

web-canvas-media-export-pwa-android Viewing Guide
6 Interconnected Web & PHP Guides · Real Local HTTP + Offline PHP 8.2 + PDO SQL Web, PHP 8.2 & WASM Hub