Compatibility problems such as video peer level, disabling progress bar, etc

Based on video JS usage problem These problems are encountered in my project. My project is to set problem points for video. Users can't click the progress bar to fast forward when watching. They can fast forward what they have seen. When they encounter problem points, they will pause and pop up questions. If they answer correctly, they can co ...

Posted by eyedol on Wed, 19 Jan 2022 15:53:53 +0100

Arrays, functions and objects of JavaScript(2)

1, Array Concept of array: It can store a group of relevant data together and provide convenient access What is an array: An array is a collection of data, each of which is called an element. Any type of element can be stored in the array. //Ordinary variables can only store one value at a time var num = 10; //Arrays can store multiple va ...

Posted by shoutdots on Wed, 19 Jan 2022 15:01:28 +0100

Ab initio front end --es6 (numerical expansion)

Numerical extension Number.isFinite(),Number.isNaN() ES6 provides a new Number on the Number object Isfinish() and Number Isnan() two methods. Number. Isfinish () is used to check whether a value is finite. Number.isFinite(15); // true Number.isFinite(0.8); // true Number.isFinite(NaN); // false Number.isFinite(Infinity); // false Number.is ...

Posted by Stu on Wed, 19 Jan 2022 14:26:32 +0100

PWA technology landing! Turn your site (Web) into APP (application) in seconds

Web applications are in the ascendant. We are very used to doing our own work on the computer. With many powerful online websites, our Windows desktop is no longer crowded with various shortcuts; Not only on the PC side, but also on the mobile side, we no longer install all kinds of software in the vast application market. Lightweight small pro ...

Posted by kyleldi on Wed, 19 Jan 2022 12:50:28 +0100

Three stages of Java learning - Ajax cross domain request problem

1. Ajax in jquery 1.1 $.ajax description /** * $.ajax Relevant description * 1.{key:value} * 2.type: ajax Request method: get/post/put/delete * 3.Simplify $ get(..) $.post(...) $.getJSON(...) * 4.url: Remote server address * JSONP: JS End - to - end is a mechanism to solve cross - domain problems ...

Posted by lisa3711 on Wed, 19 Jan 2022 12:31:38 +0100

Section 19: packaged objects and built-in objects

1. Packaging object Why can underlying types use properties or methods? In JS, although only objects have properties and methods, the basic data type can also call methods. This is because the JS interpreter will judge whether the previous thing is an object when it encounters a point or square bracket. If it is executed directly, if not, it m ...

Posted by rigy73 on Wed, 19 Jan 2022 11:39:13 +0100

Vue3 -- ref & reactive & toRefs & toRef responsive reference

preface We learned in the last section setup function In this section, we will solve this problem. Responsive citation principle The data is encapsulated by proxy. When the data changes, the template content update is triggered. ref Function: accept an internal value and return a responsive object;Processing: generally used to pro ...

Posted by KILOGRAM on Wed, 19 Jan 2022 09:22:45 +0100

In order to make you advanced Canvas, I spent 7 hours writing 3 interesting games!!!

prefaceHello, I'm Lin Sanxin. I believe you have read my previous introduction to canvas In order to get her started with canvas in 10 minutes, I stayed up late and wrote three small projects and this article , I already have an entry-level understanding of canvas. Today, I wrote three interesting games with canvas to make you happy. Yes, I hav ...

Posted by spicey on Wed, 19 Jan 2022 07:09:16 +0100

Learn the use of VUE filters and listeners from scratch

filter Basic Usage Filters are commonly used for text formatting and can be bound to the v-bind attribute. They are added to the tail of js and called by the "pipe character". They can only be used in Vue 2.0. For example: < p > the value of message is {{message | capitalize} < / P > use the pipe character to call ...

Posted by exoskeleton on Wed, 19 Jan 2022 00:13:16 +0100

JavaScript advanced day 04 notes

JavaScript advanced day 04 notes 1. Regular expression overview 1.1 what is a regular expression Regular Expression is a pattern used to match character combinations in a string. In JavaScript, regular expressions are also objects. Regular tables are usually used to retrieve and replace text that conforms to a certain pattern (rule), such as ve ...

Posted by bschmitt78 on Tue, 18 Jan 2022 22:51:36 +0100