Skip to content

🎬 A library for playing or controlling media

Notifications You must be signed in to change notification settings

daybrush/scenejs-media

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@scenejs/media npm version

A library for playing or controlling media with scenejs

Installation

npm

$ npm i @scenejs/media

script

<script src="//daybrush.com/scenejs/release/latest/dist/scene.js"></script>
<script src="//daybrush.com/scenejs-media/release/latest/dist/media.js"></script>

How to use

const mediaScene = new MediaScene();

mediaScene
    .addMedia("./clapper.mp3")
    .seek(0, 0.452)
    .setVolume(0.5)
    .setPlaySpeed(2)
    .setDelay(1);
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy