Giter Club home page Giter Club logo

polyvhack's Introduction

POLYVHACK

SAVE YOUR TIME. AND SAVE ELECTRICITY FOR MINING.

My mom is a healthcare worker who is about to retire, But her leader will ask her to take some unrelated exams, such as the Internet, AI, technological innovation, etc. This is not environmentally friendly.

She can only ask me for help, I find the video play by HTML5 player, but I can't skip the video and it will be paused by a popup window for questions in class, so I have to watch the teaching video completely.

As a developer, I am curious how to achieve. The truth is a video product by POLYV, I read their code and documentation.

https://dev.polyv.net/2020/videoproduct/v-player-sdk/v-player-sdk-web/v-player-sdk-web-feature/play/

function ban/banByLimitTime implement ban seek by setting this currentTime property. so reset ban_seek/ban_seek_by_limit_time to skip the video, set is_interaction as off to stop the popups.

However, If backend detection of video progress, you still can't skip, but we can set video triple speed:

document.getElementsByTagName("video")[0].playbackRate = 3;

polyvhack's People

Contributors

johndlk avatar

Watchers

James Cloos avatar  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.