open-index/open-npm huggingface dataset:
npm package: @pfan/video-player-vue
Latest version: 0.1.0

# 安装使用



# 类型表示及介绍
## hls
hls流的播放形式  
>http://kbs-dokdo.gscdn.com/dokdo_300/_definst_/dokdo_300.stream/playlist.m3u8
## rtsp
rtsp播放需要后端配套服务支持    
基本流程  
* 调用接口将 rtsp地址及id(作为标识) 传给中间服务器(蒋伟负责) 
* 服务器 返回 flv 地址 
* 前端调用  flv.js 从插件 播放 服务器返回的flv的流
* 注意两点
    * 调用接口 通知服务器 停止转换流 推流
    * 调用心跳函数  保持服务器不间断 拉流 推流
# 标准入参
|  参数   | 类型  |说明  |备注  | hls| rtsp |
|  :----:  | :----:  |:----: |:----: |:----: |:----: |
| id  | String,Number | 摄像头唯一标识 |  |无用|必填
| url  | string | 播放地址 |  |必填|必填
| apiUrl  | string | rtsp调用中间服务器的 api前置 |  |无用|选填
| flvAgentUrl  | string | rtsp flv播放的代理前缀 |  |无用|选填
npm package: @pfe-css-theme/css-theme
Description: Library allowing you to generate your CSS style automatically using a theme
Author: Karen Azoulay, Fideline Bazana Ntomo, Coralie Ouedraogo
Latest version: 0.2.6


# CSS-THEME

This package npm acts as a CSS theme generator, offering the ability to customize the aesthetic of your websites. Using this package you can easily create a CSS style file containing various variables. All you have to do is choose a theme from a proposed list, and you will get all the associated CSS variables. These variables will then allow you to shape the style of your site according to your preferences.



## Installation

Install css-theme with npm

```bash
  npm install @pfe-css-theme/css-theme
```

Create a CSS file in your project named "cssTheme" because it is in this file that the variables will be generated.
If you don't create it, it will be automatically generated in the root of your project.

You now have the possibility to generate the theme of your choice with this command:
```bash
  cssTheme
```
You now have your "cssTheme.css" file filled with the variables of the theme you have chosen.

## Custom variable
To create your own custom variables, you must define them in your "cssTheme.config.js" file which is located at the root of your project.

To do this, here is an example of your cssTheme.config.js:
```javascript
const cssThemeConfig = {
  theme: "Barbie",
  customVariable: {
    colors: {
        comment: 'Custom colors',
        white: '#CCCCCC'
    },
    spacing: {
        comment: 'Small spacing',
        smallPadding: '10px 5px',
        smallMargin: '15px 10px'
    },
  }
};

export default cssThemeConfig;
```
The "comment" allow you to comment on your code, so don't hesitate to use them.

Once your file is completed, you can rerun the order : 
```bash
  cssTheme
```

And you will find in your "cssTheme.css" file the variables of your theme as well as the one that you added in the config file.
## Authors

- [AZOULAY Karen](https://github.com/Karen160)
- [BAZANA NTOMO Fideline](https://github.com/fifi-dev)
- [OUEDRAOGO Coralie](https://github.com/coralieO)