videojs-swf

WebJar for videojs-swf

License

License

Categories

Categories

IDE Development Tools JavaScript Languages
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

videojs-swf
Last Version

Last Version

5.4.0
Release Date

Release Date

Type

Type

jar
Description

Description

videojs-swf
WebJar for videojs-swf
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/videojs/video-js-swf

Download videojs-swf

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/videojs-swf/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>videojs-swf</artifactId>
    <version>5.4.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/videojs-swf/
implementation 'org.webjars.npm:videojs-swf:5.4.0'
// https://jarcasting.com/artifacts/org.webjars.npm/videojs-swf/
implementation ("org.webjars.npm:videojs-swf:5.4.0")
'org.webjars.npm:videojs-swf:jar:5.4.0'
<dependency org="org.webjars.npm" name="videojs-swf" rev="5.4.0">
  <artifact name="videojs-swf" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='videojs-swf', version='5.4.0')
)
libraryDependencies += "org.webjars.npm" % "videojs-swf" % "5.4.0"
[org.webjars.npm/videojs-swf "5.4.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

This project is no longer maintained as Adobe Flash is being End-of-lifed.

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.

org.webjars.npm

Video.js

Web Video Framework

Versions

Version
5.4.0
5.3.0
5.2.0
5.1.0
5.0.1