@prozilla-os/media-viewer
v1.1.16
Published
A ProzillaOS application for viewing different kinds of media.
Downloads
34
Readme
About
@prozilla-os/media-viewer
is a ProzillaOS application for viewing different kinds of media.
Installation
@prozilla-os/core
is required to run this application.
npm install @prozilla-os/core @prozilla-os/media-viewer
yarn add @prozilla-os/core @prozilla-os/media-viewer
pnpm add @prozilla-os/core @prozilla-os/media-viewer
Usage
Basic setup
import { Desktop, ModalsView, ProzillaOS, Taskbar, WindowsView, AppsConfig } from "@prozilla-os/core";
import { mediaViewer } from "@prozilla-os/media-viewer";
function App() {
return (
<ProzillaOS
systemName="Example"
tagLine="Powered by ProzillaOS"
config={{
apps: new AppsConfig({
apps: [ mediaViewer ]
})
}}
>
<Taskbar/>
<WindowsView/>
<ModalsView/>
<Desktop/>
</ProzillaOS>
);
}
Window options
/**
* A virtual file containing media to open
*/
file: VirtualFile;