Newly Practicing Mortician

    @brightcove/videojs-flashls-source-handler

    1.4.8 • Public • Published

    videojs-flashls-source-handler

    Build Status Greenkeeper badge Slack Status

    NPM

    A source handler to integrate flashls with video.js

    Table of Contents generated with DocToc

    Installation

    npm install --save @brightcove/videojs-flashls-source-handler

    Usage

    To include videojs-flashls-source-handler on your website or web application, use any of the following methods.

    This plugin requires the use of a customized SWF that is not included in videojs-flash.

    The SWF is available on the unpkg CDN https://unpkg.com/@brightcove/videojs-flashls-source-handler/dist/video-js.swf and is provided in this project's dist/ folder. We highly recommend hosting the SWF yourself as unpkg does not provide uptime or support guarantees.

    <script src="//path/to/video.min.js"></script>
    <script src="//path/to/videojs-flash.min.js"></script>
    <script src="//path/to/videojs-flashls-source-handler.min.js"></script>
    <script>
      var player = videojs('my-video', {
        flash: {
          swf: '//path/to/swf'
        }
      });
    </script>

    Note: The swf option must be set before or during player creation.

    Browserify

    When using with Browserify, install videojs-flashls-source-handler via npm and require the plugin as you would any other module.

    var videojs = require('video.js');
    require('videojs-flash');
    
    // The actual plugin function is exported by this module, but it is also
    // attached to the `Player.prototype`; so, there is no need to assign it
    // to a variable.
    require('@brightcove/videojs-flashls-source-handler');
    
    var player = videojs('my-video', {
      flash: {
        swf: '//path/to/swf'
      }
    });

    RequireJS/AMD

    When using with RequireJS (or another AMD library), get the script in whatever way you prefer and require the plugin as you normally would:

    require(['video.js', 'videojs-flash', 'videojs-flashls-source-handler'], function(videojs) {
      var player = videojs('my-video', {
        flash: {
          swf: '//path/to/swf'
        }
      });
    });

    License

    Apache-2.0. Copyright (c) Brightcove

    Install

    npm i @brightcove/videojs-flashls-source-handler

    DownloadsWeekly Downloads

    304

    Version

    1.4.8

    License

    Apache-2.0

    Unpacked Size

    536 kB

    Total Files

    22

    Last publish

    Collaborators

    • phale
    • uomar
    • abarstowbc
    • sbarathan
    • adamico-bc
    • kpandiyarajan
    • msivalls
    • vbustillos
    • rburnham
    • imorones
    • bhong-brightcove
    • walterseymourbc
    • ddashkevich
    • shubham.chavhan
    • albertogomez
    • gestrada-br
    • lpintor
    • amillerbrightcove
    • lvohra
    • daniel.gutierrez.brightcove
    • charles.seat
    • erick-valdivia
    • victor-rivas
    • mcho-bc
    • awaldron
    • fsalazarbc
    • dawnpacko
    • j.hawleypeters.bc
    • adamboudionbc
    • ldominguez
    • bc-srimron-soutter
    • prasant7bc
    • bart-stevens-bc
    • rsilva_brightcove
    • joeylesh
    • lmelchorx1
    • juan-sanchez
    • eolvera
    • cloewer_bc
    • carredondo
    • brianhsu
    • lewis.moten.brightcove
    • niklagbrightcove
    • tsraveling_bc
    • natedennis
    • bcbclifford
    • craigparrottebc
    • mwebster789
    • bc-acgarcia
    • adavila1
    • vaishalijayaraman
    • kreynolds
    • bgs-devops
    • albinjohnson
    • lmaultsby
    • rtezera
    • bcmneil
    • randresf
    • v.kozlov_bc
    • nagendra_m
    • michaelmccarthybc
    • georgesanchez.diazjr
    • poneill-bcov
    • mdeltorobcov
    • scottbishop
    • bcov_david-kelly
    • yji_bc
    • jmohneycove
    • inbc01
    • jeff.schuman
    • a_castillo_h
    • aperezbrightcove
    • ireyes94
    • brightcove-admin
    • tedk
    • abradley-brightcove
    • bc-alive
    • mrocajr
    • lasanchezc
    • marguinbc
    • brightcove-user
    • kmason
    • cbarstow
    • hikeh
    • myerramalla
    • pdias
    • jwhisenant
    • ebertaud
    • oespinosac
    • dsalnikov
    • sharanya.muruganandam
    • vikaskumar.gajula
    • xgarcia_npm
    • jguerra
    • rjune
    • jonbwalsh
    • khaipham
    • wswanbeck
    • gastafurov
    • adalwani
    • ekelson-bcove
    • syseng
    • mcarreiro
    • elbadawimustafa
    • asinclair
    • hwoodbury
    • jblaker
    • bcmauleon
    • paco_oblea_bc
    • jsepulveda
    • biswaranjan
    • barroyo
    • bmartinez
    • bc-jcarlson
    • eledezma
    • jcueto
    • erodrigues
    • psousa
    • acruzr
    • marcogaray
    • diegocruz1991
    • javibright
    • bcpsalas
    • etobin
    • ackbabe
    • cvillasenor
    • omartinez
    • mgonzalez_bc
    • pdohertybcov
    • muthukumar.bc
    • bzizmond
    • jmpmacedo
    • scorreia
    • lescorcio
    • cavieira
    • mbalasubramaniam
    • arunjeyaprasad
    • bvilvanathan
    • anand.gangadharan
    • rociosantos
    • fdelgado_bc
    • syurishi
    • agarciabcov
    • attinder
    • lauralopez
    • skumar85
    • hrodriguez2
    • jasilvaantonio
    • palvarezbc
    • ericramos
    • carlosabajo
    • ingrid.s.cruz
    • luis_fernando_lopez_ruiz
    • vishal64
    • tresa.baji
    • luis.garcia.brightcove
    • rodrigofdz
    • pgutierrezgil
    • harish17
    • jjeyaprakash
    • rrajendran1698
    • jlomeli
    • jhurtado
    • sjimenez
    • rwenger_brightcove
    • rujordan
    • stuartmh
    • jherrerabcov
    • mshiwal
    • ptamizh
    • akamalakkannan
    • akatare
    • roman-bc
    • tnwanna
    • bsahlas.npm
    • dherrera1109
    • hswaminathan
    • lramirez-bc
    • echengbc
    • sbarrettbc