Giter Site home page Giter Site logo

weiling103 / userscript-iqiyi-player-switch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gooyie/userscript-iqiyi-player-switch

0.0 2.0 0.0 169 KB

爱奇艺flash播放器与html5播放器随意切换,改善html5播放器播放体验。

License: MIT License

JavaScript 100.00%

userscript-iqiyi-player-switch's Introduction

iqiyi-player-switch

爱奇艺flash播放器与html5播放器随意切换,改善html5播放器播放体验。

脚本管理器兼容

Greasemonkey用不了(沙箱限制),TampermonkeyViolentmonkey可正常使用。

安装

脚本实现的功能

  • 在脚本管理器上添加菜单命令用于播放器切换(默认启用html5播放器)
  • firefox应用polyfill以支持f4v播放
  • 和谐广告
  • 和谐非内嵌水印
  • 解除会员清晰度限制
  • 外链html5播放(不完善)
  • 快捷键

键盘快捷键

快捷键仿照PotPlayeryoutube

按键 功能
空格 播放 / 暂停
enter 全屏 / 退出全屏
ctrl + enter 网页全屏 / 退出网页全屏
音量增加 5%
音量减少 5%
m 静音 / 取消静音
d 上一帧
f 下一帧
步退5秒
步进5秒
ctrl + ← 步退30秒
ctrl + → 步进30秒
shift + ← 步退1分钟
shift + → 步进1分钟
ctrl + alt + ← 步退5分钟
ctrl + alt + → 步进5分钟
0 ~ 9 定位到视频的 x0%
c 播放速率提高 0.1
x 播放速率降低 0.1
z 恢复正常播放速率
shift + p 播放上一集
shift + n 播放下一集

鼠标快捷键

操作 功能
在播放区域双击左键 全屏切换
全屏下滚动滚轮 音量调节

: 爱奇艺原有功能

切换播放器

菜单命令是要切换过去的播放器

tm-switch vm-switch

关于html5播放器清晰度

  • html5 播放器播放 f4v 依赖于 fetch + ReadableStreamWebRTC,能否播放或正常播放取决于浏览器。
  • Chrome/57+ 播放 f4v 比较稳定,而内核版本较低的会出现播放出错、回跳。
  • Firefox 仍未实现 ReadableStream ,只能通过使用 Polyfill 来支持播放 f4v
  • Edge 也可以播放 f4v,但是较低版本需使用 WebRTC adapterBuild 15048 之前的 ReadableStreambug,会出现播放中断。
  • 不支持播放 f4v 的浏览器,则只能播放最高清晰度为高清的 mp4m3u8

userscript-iqiyi-player-switch's People

Contributors

gooyie avatar

Watchers

James Cloos avatar Ling avatar

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.