Code Monkey home page Code Monkey logo

jol-player's Introduction

Hey 👋🏽, I'm lgf!

我是一位web开发者,写写文章,博客,开源项目等,antd社区成员,热爱跑步,打球,掌勺等 🤔.

微信公众号:木子李的夏天

jol-player's People

Contributors

196lgf avatar lgf196 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jol-player's Issues

width 属性无法传入 100%

width 是否可以支持传字符串进去,我想传 100%,但目前好像不支持

或者把 width 改成非必传参?

iOS no data when stop recording

when stoped the recording - where the video should be visible Only in safari (ios) i am getting "Error : Video source not found". else on other browsers it is working fine

<div className=" video-player pb-4">
                                    {" "}
                                    <JolPlayer
                                      className="player m-auto"
                                      option={{
                                        height: 250,
                                        mode: "scaleToFill",
                                        width: 350,
                                        language: "en",
                                        controls: true,
                                        loop: false,
                                        setBufferContent: "Loading...",
                                        videoType: "video/mp4",
                                        nextButton: true,
                                        prevButton: true,
                                        pausePlacement: "center",
                                        isShowWebFullScreen: true,
                                        isProgressFloat: true,
                                        videoSrc:
                                          testvideo[testvideo?.length - 1],
                                      }}
                                    />
                                  </div>

建议控制器隐藏逻辑优化

目前控制器仅支持操作后延迟隐藏,暂停阶段也会隐藏的话使用非常不方便,建议暂停阶段保持显示控制器及进度条。

Cannot read properties of null (reading 'play')

组件挂载时调用play()方法报错;
image

例如:

 useEffect(() => {
    console.log(`videoRef.current`, videoRef.current);
    videoRef.current.play();  //  videoRef.current 不是 null
  }, [videoRef.current]);

能否给一个方法监听,何时视频可以播放

反馈两个问题

第一,在antd pro里面的drawer组件里面播放hls视频是不行的,一直在重复加载。
第二,播放器下方的控制组件最好处理一下,比如加个模糊背景之类,否则容易和视频内容混在一起导致控件难以辨认。

not working

i get invalid hook call on the example alone

能否支持播放按钮下自定义layer的渲染

大致是这样的需求:
需要自定义一些装饰组件,能够根据播放时间修改组件的动画效果
但是这个装饰动画层需要在视频层级之上,但是不能覆盖在播放按钮那一层
如果直接自己做mask盖在joi-player上的话能实现效果,但是会覆盖播放按钮
能够加一个prop支持吗

YouTube issue

When i setting you tube url as video src video is not playing

请问在nextjs中如何使用呢?

"use client";
import React, { useState } from "react";

import AppNavBar from "@/components/NavBar";
import HPlayer from "@/components/HPlayer";

export default function ToolIndex({ props }) {
	// console.log(props);

	const [videoSrc, setVideoSrc] = useState();

	return (
		<>
			<AppNavBar></AppNavBar>
			{/* <HPlayer></HPlayer> */}
		</>
	);
}


引入后报错信息

Server Error
ReferenceError: document is not defined

This error happened while generating the page. Any console logs will be displayed in the terminal window.
Call Stack
u
file:///J:/HBQ/code/web_front/nextjsDemos/next-demo1/node_modules/jol-player/index.js (1:14754)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.