Diorama

Made for a big screen.

This site is one 3D scene, built for a computer: a wide window and a mouse. Open dioramajs.dev on a desktop or a laptop to see it.This site is one 3D scene, built for a wide window. Make this one wider, or open dioramajs.dev on a larger screen.

GitHub

DioramaDocs

check function

Whether the element's sound survives the graph.

View as Markdown
import { check } from '@dioramajs/diorama/audio/graph'

A URL of the page's origin is asked for once: in same-origin mode any redirect to another origin fails, just as it taints the element's own request. A server without HEAD gets a GET for the first byte.

function check(media: HTMLMediaElement): Promise<boolean>

Parameters

NameTypeDescription
mediaHTMLMediaElement

Also exported from @dioramajs/audio/graph.

Defined in packages/audio/src/graph.ts.