Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

videojs-swf

Package Overview
Dependencies
0
Maintainers
5
Versions
36
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    videojs-swf

The Flash-fallback video player for video.js (http://videojs.com)


Version published
Weekly downloads
22K
decreased by-1.39%
Maintainers
5
Install size
60.2 kB
Created
Weekly downloads
 

Changelog

Source

5.2.0 (2017-02-07)

  • @mjneil added appendChunkReady, another way of passing data into the swf

Readme

Source

The light-weight Flash video player that makes Flash work like HTML5 video. This allows player skins, plugins, and other features to work with both HTML5 and Flash

This project doesn't need to be used if you simply want to use the Flash video player. Head back to the main Video.js project if that's all you need, as the compiled SWF is checked in there.

Installation

  1. Install Node Packages.
    npm install
  1. Compile SWF. Development (places new SWF in /dist/):
    grunt mxmlc

Production/ Distribution (runs mxmlc task and copies SWF to dist/):

    grunt dist
  1. Run Connect Server.
    grunt connect:dev
  1. Open your browser at http://localhost:8000/index.html to see a video play. You can keep using grunt to rebuild the Flash code.

Releasing

  1. Make sure that the following file is modified with these values:
node_modules/flex-sdk/lib/flex_sdk/frameworks/flex-config.xml
<!-- Specifies the minimum player version that will run the compiled SWF. -->
<target-player>10.3</target-player>

<!-- Specifies the version of the compiled SWF -->
<swf-version>12</swf-version>
  1. Run the commands:
npm version {major,minor,patch}
npm publish

The swf and changelog will be automatically built and added to the repo on version.

Running Unit and Integration Tests

** Note - We want to drop all of this for grunt based / Karma testing.

For unit tests, this project uses FlexUnit. The unit tests can be found in [project root]/src/com/videojs/test/

For integration tests, this project uses qunit. The integration tests can be found in [project root]/test

In order to run all of the tests, use the links at http://localhost:8000/index.html

There are very few tests. Adding to them is a fantastic and much appreciated way to contribute.

Keywords

FAQs

Last updated on 07 Feb 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc