lineplayer

1.5.0 • Public • Published

LinePlayer

HTML5 player for video servers Supported servers:

Based on DPlayer source code

Web site

Quick Start

<link rel="stylesheet" href="//cdn.jsdelivr.net/lineplayer/dist/LinePlayer.min.css">
<div id="lineplayer"></div>
<script src="//cdn.jsdelivr.net/npm/hls.js/dist/hls.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/lineplayer/dist/LinePlayer.min.js"></script>
new LinePlayer({
    container: document.getElementById('lineplayer'),
    line: {
        host: 'line.adm.tver.ru',
        user: 'web',
        password: 'web',
        channels: ['0', 'Площадь Ленина']
    }
});

or

new LinePlayer({
    container: document.getElementById('lineplayer'),
    domination: {
        host: 'line.adm.tver.ru',
        user: 'web',
        password: 'web',
        channels: 'Площадь Ленина'
    }
});

Author

LinePlayer © andresys, Released under the MIT License.

Package Sidebar

Install

npm i lineplayer

Weekly Downloads

8

Version

1.5.0

License

MIT

Unpacked Size

749 kB

Total Files

5

Last publish

Collaborators

  • andresys