videojs/video-js-swf


Custom Flash Player for VideoJS

http://videojs.com

License: Other

Language: JavaScript

Keywords: actionscript, flash, flash-video-player, javascript, swf, video, videojs


The lightweight Flash video player for Video.js. This allows the Video.js player's 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 tech in Video.js.

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.

Project Statistics

Sourcerank 12
Repository Size 3.47 MB
Stars 304
Forks 323
Watchers 66
Open issues 68
Dependencies 16
Contributors 27
Tags 37
Created
Last updated
Last pushed

Top Contributors See all

Steve Heffernan David LaPalomento Gary Katsevman Tom Johnson Andy bclwhitaker Brian Deitte BCjwhisenant Oshin Karamian bc-bbay Tom Johnson Jon-Carlos Rivera Matthew McClure Matthew Neil Alex Phillips asasi atoops Tetsuya Morimoto Brandon Arbini Jeremy Elbourn

Packages Referencing this Repo

videojs-swf
Custom Flash Player for VideoJS
Latest release v5.4.2 - Published - 304 stars
@brightcove/videojs-flashls-swf
The Flash-fallback video player for video.js (http://videojs.com)
Latest release 6.4.5 - Updated - 304 stars
videojs-swf
The Flash-fallback video player for video.js (http://videojs.com)
Latest release 5.4.2 - Updated - 304 stars
qiqiuyun-videojs-swf
The Flash-fallback video player for video.js (http://videojs.com)
Latest release 1.0.0 - Published - 304 stars

Recent Tags See all

v5.4.2 September 20, 2018
v6.0.0 November 01, 2017
v5.4.1 July 25, 2017
v5.4.0 April 28, 2017
v5.3.0 February 17, 2017
v5.2.0 February 07, 2017
v5.1.0 July 18, 2016
v5.0.3 May 31, 2016
v5.0.2 May 06, 2016
v5.0.1 November 06, 2015
v5.0.0 October 28, 2015
v4.7.5 August 31, 2015
v5.0.0-rc1 August 27, 2015
v4.7.4 August 11, 2015
v4.7.3 August 10, 2015

Interesting Forks See all

mangui/video-js-swf
Custom Flash Player for VideoJS
ActionScript - Other - Last pushed - 71 stars - 54 forks
guardian/video-js-vpaid
VPAID Linear Advert Flash Player for VideoJS
JavaScript - Other - Last pushed - 28 stars - 8 forks
MustLive/video-js-swf
Custom Flash Player for VideoJS
JavaScript - LGPL-3.0 - Last pushed - 2 stars
dmlap/video-js-swf
Custom Flash Player for VideoJS
JavaScript - Other - Last pushed - 2 stars - 2 forks
brightcove/videojs-flashls-swf
Custom Flash Player for VideoJS
ActionScript - Other - Last pushed - 1 stars - 1 forks

Something wrong with this page? Make a suggestion

Last synced: 2019-06-21 21:19:24 UTC

Login to resync this repository