Giter Site home page Giter Site logo

safeswf / domu-player Goto Github PK

View Code? Open in Web Editor NEW

This project forked from open-flash/domu-player

0.0 0.0 0.0 2.68 MB

Web-based player for SWF files

Home Page: https://open-flash.github.io/domu-player/

License: GNU Affero General Public License v3.0

TypeScript 96.10% HTML 3.78% CSS 0.12%

domu-player's Introduction

Open Flash logo

Doμ Player

The Doμ Player (domu player) is a web-based player for SWF files.

It is part of the Open Flash project.

It is intended as a successor to Mozilla's Shumway.

See the demo page.

Features

This project is still a prototype. There are no stability or feature guarantees.

The player can currently play simple animation and has initial support for Actionscript 2 bytecode.

Usage

Custom tag

The simplest way to use the Doμ Player is through the <x-swf> custom tag. Add the lib script to your page and use the following code:

<x-swf src="movie.swf" width="550" height="400"></x-swf>

The will create a custom element mimicking the behavior of <embed>.

Manual

The custom tag approach uses the default renderer, scheduler, etc. You can gain greater control over how you create your player by instanciating it manually with the createDomuPlayer function.

domu-player's People

Contributors

demurgos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.