@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

    1,125

    Version

    1.4.8

    License

    Apache-2.0

    Unpacked Size

    536 kB

    Total Files

    22

    Last publish

    Collaborators

    • tfelippe
    • jordanramey
    • ytaye
    • hikeh
    • ireyes94
    • myerramalla
    • aperezbrightcove
    • lasanchezc
    • akamalakkannan
    • ptamizh
    • salleko
    • jack.terranova
    • brightcove-admin
    • gkatsev
    • tedk
    • abradley-brightcove
    • bc-alive
    • misteroneill
    • mrocajr
    • forbesjo
    • brandonocasey
    • gesinger
    • apadhye
    • marguinbc
    • brightcove-user
    • kmason
    • tomruggs
    • bsahlas
    • cbarstow
    • pdias
    • misterben
    • twalling
    • jwhisenant
    • mjneil
    • abarstow
    • rtezera1
    • rjune
    • larsmaultsby
    • amanningbcov
    • jonbwalsh
    • khaipham
    • wswanbeck
    • mjholland
    • gastafurov
    • adalwani
    • revinkey
    • ekelson-bcove
    • syseng
    • bc_rpeck
    • zhongqil
    • mcarreiro
    • elbadawimustafa
    • asinclair
    • jedwards53
    • hwoodbury
    • jcapitao
    • jblaker
    • mdeltorob
    • bcmauleon
    • paco_oblea_bc
    • jsepulveda
    • dchavez
    • bzhang-bcov
    • biswaranjan
    • barroyo
    • jgouveia
    • bmartinez
    • tteixeira
    • bc-jcarlson
    • eledezma
    • jcueto
    • erodrigues
    • psousa
    • acruzr
    • sgopalakrishna
    • egoulding
    • marcogaray
    • ipadilla
    • jorduno
    • diegocruz1991
    • javibright
    • bcpsalas
    • etobin
    • ackbabe
    • cvillasenor
    • vchistyakov
    • omartinez
    • ilunabcove
    • mgonzalez_bc
    • pdohertybcov
    • muthukumar.bc
    • dmkelly
    • bzizmond
    • jmpmacedo
    • scorreia
    • lescorcio
    • cavieira
    • mbalasubramaniam
    • arunjeyaprasad
    • bvilvanathan
    • kkashalkar
    • anand.gangadharan
    • rahul.yadav
    • rociosantos
    • tshutt
    • fdelgado_bc
    • syurishi
    • agarciabcov
    • priyadharsshini
    • attinder
    • quillad
    • vnavarro
    • lauralopez
    • granganathan
    • skumar85
    • hrodriguez2
    • nhaseena.mohamed
    • jasilvaantonio
    • palvarezbc
    • ericramos
    • carlosabajo
    • tomson.george
    • ingrid.s.cruz
    • hkanagarajan
    • jcarfagno-bc
    • luis_fernando_lopez_ruiz
    • vishal64
    • sarathy.a
    • geethu.karthik
    • esvarez
    • tresa.baji
    • chaselounge
    • yhernandez01
    • luis.garcia.brightcove
    • rodrigofdz
    • pgutierrezgil
    • harish17
    • jjeyaprakash
    • rrajendran1698
    • jlomeli
    • jhurtado
    • lgudino
    • sjimenez
    • rwenger_brightcove
    • rujordan
    • brivn
    • eperez-bc
    • stuartmh
    • jherrerabcov
    • mshiwal
    • jmartinezbrightcove
    • divyaudhayakumar
    • luiscruzbc
    • dflores
    • akatare
    • roman-bc
    • hugo.schoch.bc
    • alexbrightcove
    • chrislarocque
    • tnwanna
    • neethu.n
    • bsahlas.npm
    • dherrera1109
    • hswaminathan
    • lramirez-bc
    • hatondo-bcov
    • echengbc
    • sbarrettbc