当前位置:网站首页>如何删除或替换EasyPlayer流媒体播放器的loading样式?
如何删除或替换EasyPlayer流媒体播放器的loading样式?
2022-07-27 05:24:00 【EasyCVR】
在上几期的文章中,我们介绍了关于EasyPlayer流媒体播放器的最近更新功能及优化,感兴趣的用户可以翻阅我们往期的文章进行了解。H.265网页播放器EasyPlayer不仅实现了视频实时录像的解决办法,而且还能支持在iOS上实现低延时直播,其灵活的视频能力,极大满足了用户的多样化场景需求。

随着EasyPlayer流媒体播放器在用户群体中越来越受欢迎,我们也接到了很多的需求,比如有用户咨询,如何删除或替换EasyPlayer播放器的loading样式?在今天的文章中,我们就为大家详细讲解一下。
1)查找元素,找到对应的播放器loading的标签,如下图:

2)修改箭头指向的opacity属性,将其设置为1,将其显示出来,这样就可以看到对应的标签,如图:

3)找到其元素的类标签,修改其样式,可以将其标签设置为类似样式。将该样式进行覆盖,这样在加载视频时就不会出现loading了,如图:

4)如果需要设置自定义的loading样式,也可以获取到标签,并将其替换成自己需要的loading样式图片,如图:

5)此处有两种方式:一种是修改css样式替换播放器的loading样式,另一种操作是DOM替换标签。
以上两种方式均能实现播放器loading样式的修改,用户可自行设置。

EasyPlayer是可支持H.264/H.265视频播放的流媒体播放器,性能稳定、播放流畅,可支持的视频流格式有RTSP、RTMP、HLS、FLV、WebRTC等,具备较高的可用性。EasyPlayer还拥有Windows、Android、iOS版本,EasyPlayer.js还可支持Linux平台。用户可以根据自身的需求对其进行二次开发或自主集成。感兴趣的用户可以前往官网进行下载、部署测试。
边栏推荐
- ESXI虚拟机启动,模块“MonitorLoop”打开电源失败
- 2022年全球6家最具技术实力的的智能合约审计公司盘点
- torch加载自定义模型的问题
- where接自定义函数导致查询缓慢
- Ftx.us launched stock and ETF trading services to make trading more transparent
- Soul continues to make efforts to list its social channels in Hong Kong. Why is "soul style social" popular?
- px4源码编译之 建立自己的程序模块
- Lamp -- source code compilation and installation
- 项目实训经历2
- Socket programming II: using Select
猜你喜欢

Pruning - quantification - turn to onnx Chinese series tutorials

Soul continues to make efforts to list its social channels in Hong Kong. Why is "soul style social" popular?

Publish a building segmentation database with a resolution of 0.22m

Install redis under Windows

Linux安装Redis操作

What is special about the rehabilitation orthopedic branch of 3D printing brand?

DNS域名解析服务

FTX US推出FTX Stocks,向主流金融行业迈进

win10 添加虚拟网卡,配置op路由

DNS domain name resolution service
随机推荐
ES6 new features (getting started)
Many of the world's top 500 enterprises gathered at the second digital Expo, and the digital industry curtain is about to open!
如何避免漏洞?向日葵远程为你讲解不同场景下的安全使用方法
Record of pychart running jupyter notebook in virtual environment
Do it yourself container
关于过快S验证码的一些问题
Linux安装与卸载MySql
NFS introduction and configuration
磁盘管理与文件系统
程序、进程、线程、协程以及单线程、多线程基本概念
goLang的一个跨域问题
Alibaba cloud SMS authentication third-party interface (fast use)
Soul continues to make efforts to list its social channels in Hong Kong. Why is "soul style social" popular?
Packaging of logging logs
where接自定义函数导致查询缓慢
iptables防火墙
自己动手实现容器
Soul submitted an application for listing in Hong Kong stocks, accelerating the diversified and scene based layout of social gathering places
项目实训经历1
项目实训经历2