1.0.9 • Published 5 years ago

vue-multi-player-test v1.0.9

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

vue-multi-player-test

A video player supporting multiple video video source

Install

# Using npm:
npm install vue-multi-player-test

# Using a script tag for global use:
<script type="text/javascript" src="multi-player.min.js"></script>
<link rel="stylesheet" href="multi-player.css">

Usage

<template>
    <multi-player :videos="videos"/>
</template>

<script>
    export default {
        data() {
            return {
                videos: [{
                    'index': 0,
                    'src': 'http://localhost:8002/videos/ROOM_3_VIDEO/20181217/101000-102500/cam_encoder?ts=1561462698&token=f6ea8cdc64bcf2df8b9e',
                    'type': 'video/mp4',
                    'volume': 0.8,
                    'videoType': 'INSTRUCTOR'
                }, {
                    'index': 1,
                    'src': 'http://localhost:8002/videos/ROOM_3_VIDEO/20181217/101000-102500/cam_encoder?ts=1561462698&token=f6ea8cdc64bcf2df8b9e',
                    'type': 'video/mp4',
                    'volume': 0.8,
                    'videoType': 'STUDENTS'
                }, {
                    'index': 2,
                    'src': 'http://localhost:8002/videos/ROOM_3_VIDEO/20181217/101000-102500/cam_encoder?ts=1561462698&token=f6ea8cdc64bcf2df8b9e',
                    'type': 'video/mp4',
                    'volume': 0.8,
                    'videoType': 'ENCODER'
                }]
            };
        }
    };
</script>
1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago