All Projects → IceEnd → Ice Video

IceEnd / Ice Video

Licence: mit
🎬Wonderful Html5 danmuku video player,using React library.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Ice Video

Drm wv fp player
Few of the resources from flutter plugin video_player
Stars: ✭ 19 (-70.31%)
Mutual labels:  video-player
Rn Floating Video Widget
React Native Module for Floating/Popup video player on Android.
Stars: ✭ 35 (-45.31%)
Mutual labels:  video-player
Vynchronize
Watch videos with friends online with the new real time video synchronization platform
Stars: ✭ 1,072 (+1575%)
Mutual labels:  video-player
Fluttertianyue
基于Flutter的超完整仿腾讯动漫,小说阅读,抖音视频项目,功能丰富,适合学习和日常使用,拥有较好的项目结构&比较规范的代码!Flutter入门,看这个就够了~Flutter project which provide richer functionality, if you want to learn flutter, this project is a good choice
Stars: ✭ 871 (+1260.94%)
Mutual labels:  video-player
Better Chrome Native Video
Add keyboard support to Chrome's native HTML5 video player.
Stars: ✭ 31 (-51.56%)
Mutual labels:  video-player
Pano.gl
Equirectangular video/image viewer based on WebGL.
Stars: ✭ 42 (-34.37%)
Mutual labels:  video-player
H5player
网页播放器增强脚本,支持:播放进度记录、播放倍率记录、快进快退、倍速播放、画面缩放等
Stars: ✭ 736 (+1050%)
Mutual labels:  video-player
Avplayeroverlay
AVPlayer with custom controls, full screen mode, subtitles (.srt), Picture-In-Picture and AirPlay features.
Stars: ✭ 59 (-7.81%)
Mutual labels:  video-player
Videojscustomization
HTML5 视频播放器 自定制: React + video.js 详细讲解
Stars: ✭ 32 (-50%)
Mutual labels:  video-player
Ngx Videogular
The HTML5 video player for Angular 2 and successor to videogular2
Stars: ✭ 50 (-21.87%)
Mutual labels:  video-player
React Itinerary
Render react components based on time sequences such as video or audio files.
Stars: ✭ 13 (-79.69%)
Mutual labels:  video-player
Dailymotion Swift Player Sdk Ios
Dailymotion Player SDK for iOS in Swift
Stars: ✭ 29 (-54.69%)
Mutual labels:  video-player
Media player
An flutter media player to make media streaming apps effortlessly! read getting started tutorial on https://medium.com/@tamhanekar.siddhesh95/integrate-media-player-into-your-flutter-application-23040213f0c9
Stars: ✭ 45 (-29.69%)
Mutual labels:  video-player
Abplayerhtml5
Video Player for danmaku comments. ABPlayer in HTML5. ABPlayer核心构件以动态HTML编写的版本。向HTML5进发!HTML5弹幕播放器
Stars: ✭ 858 (+1240.63%)
Mutual labels:  video-player
Scriptplayer
ScriptPlayer is a video player that controls the Fleshlight Launch, The Handy and lots of other toys in sync with videos.
Stars: ✭ 59 (-7.81%)
Mutual labels:  video-player
Mpv.net
🎞 mpv.net is a modern media player for Windows that works just like mpv.
Stars: ✭ 737 (+1051.56%)
Mutual labels:  video-player
Vue Mini Player
基于Vue的一个轻量级HTML5视频播放器,适配PC和移动端
Stars: ✭ 34 (-46.87%)
Mutual labels:  video-player
Monocle
🕶 Snapchat Spectacles video player
Stars: ✭ 61 (-4.69%)
Mutual labels:  video-player
Kjplayerdemo
视频播放壳子:动态切换内核,支持边下边播边缓存的播放器方案,视频支持格式:mp4、m3u8、wav、avi,音频支持格式:midi、mp3
Stars: ✭ 60 (-6.25%)
Mutual labels:  video-player
Unity Videoplayer Helper
Simple helper for the Video Player in Unity
Stars: ✭ 49 (-23.44%)
Mutual labels:  video-player

ice-video

The web danmuku video player built from the ground up for an HTML5 world using React library.

npm build MIT License

website

ScreenShot

ScreenShot

Installation

Install ice-video via NPM

npm install --save ice-video react react-dom isomorphic-fetch

import stylesheet

import "http://ice-video.coolecho.net/static/video.min.css";

or import scss

import "node_modules/ice-video/src/assets/sass/video.scss"

Import the components where you need, example:

import React from 'react';
import ReactDOM from 'react-dom';
import IceVideo from 'ice-video';

const Player = () => {
  const settings = {
    loop: true,
    autoPlay: false,
    preload: 'auto',
    poster: '',
    volume: 0.5,
    getDanmukuUrl: 'http://127.0.0.1:3001/danmuku',
    sendDanmukuUrl: 'http://127.0.0.1:3001/senddanmu',
    controls: true,
    scale: '16:9',
    src: './video.mp4',
  };
  return (
    <IceVideo {...settings} />
  );
}

export default Player;

Config

Options

field type default note
autoPlay boolean false whether to automatically play
preload string 'auto'
poster string ''
loop boolean false loop for video
volume number 0.8 palyer's volume
controls boolean true control player
scale string '16:9' scale of player
duration number 6000 danmuku display duration,unit ms
opacity number 1 the transparency of danmuku

Danmuku

Server danmuku format conventions

field type note
content string the content of a danmuku
date Date the time when send a danmuku
fontColor string color of danmuku
fontSize string fontSize of danmuku: 'middle' , 'small' , 'large'
model string model of danmuku: 'roll' , 'top' , 'buttom'
timepoint number video playback position

for example:

{
  content: "233",
  date: "2017-06-03T05:40:26.616Z",
  fontColor: "white",
  fontSize: "middle",
  model: "roll",
  timePoint: 3.014076
}

LICENSE

MIT @ Alchemy

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].