[Tutorial] How to open class video network to enjoy silky-speed vertical

Some nonsense

Seeing this disastrous epidemic subsides, our net class career to a close

Recall the past two months at home leisure tranquil life again
Gy31vF.png
(laughs)
moved over time to face the multi (can) color (dan) of the life

Your network class, the finished?

Looked at dozens of its section did not move the network classes into despair, it is better ......
GcXdfK.png

Ah ah happy to take you to heaven 4X

Tutorial Scope

  • The taped bitter lesson of the network forced children
  • With a computer web client to force children bitter lesson of the Internet
  • Net class page use the Flash Player bitter to force children
  • There are a lot of lessons not going to school and after school to complete the exam but also hard to force children
  • In conclusion applies to hard to force children

Ps pro-test for cloud class network (a satellite remote county school) are not available for other platforms try, for reference only

Tutorial start!

In view of the market most of the major browsers for the kernel to Chrome, including Chrome, 360 security browser, Sogou high-speed browser, etc., etc.

(And thriving Firefox)

I will take as an example to explain Firefox and Chrome

(Click for a larger view)

By modifying replace User-Agent Flash player

Install extensionsUser Agent Switcher

Extended search keywords in the center, we will find that there are many types like extensions, choose one installed.

Of course, not very good novice or students can also do as I picture below that the two installation (see icon!)

Given Addons major browsers vary, students can not understand BaiduXX浏览器如何安装扩展程序

For Chrome

  • Open the Extensions window and then in the left column to find the online store entrance
    Gy3Jb9.png
  • Then in the search box to search User Agent Switcher
    choose your favorite add it to a Chrome
    Gy38u4.png

Use a secure browser X60, X dog high speed browser classmates quickly this is done

The use Chrome classmates found ......

Eh eh eh! Why not open my online store

Oh my old man that was Google ah you know

Now that you have the consciousness with Chrome

I think this should not be a problem for you, [Manual Kobold]

Or you can go to BaiduChrome如何安装扩展程序

Not go into here friends ~

I would not say this because I do not want to say too much trouble

For Firefox

Firefox not so much a thing
shining on the line

(Click for a larger view)

  • Opening the upper right corner of the menu to select the extensions
    have speculated that a Bing daily wallpaper is really nice to force the grid and walls cracked home recommended as
    it will be to fight money (bushi)
    gy3ter.png
  • In the search bar aboveUser Agent Switcher
    Gy3NU1.png
  • Click on your favorite target, the installation
    I used here is the third
    (after all, people have had a marked above the recommended)
    Gy3GDJ.png

Modify the User-Agent

At this time, we can notice that there's just us installer icon in the browser bar top right

Layout varies in different extensions, here we need to conscientiously study, to install their own version of how to use

I believe your strength awa English

Our purpose of this step is the browser's user-agent was changed to the same as with the iPad

At this site you will be mistaken in using the iPad in class, and then replace the Flash player to HTML5 player

The vast majority of such extensions are provided some options for you to choose

At this point we chooseiPad

However, due to untested, we can not guarantee that all of them can work

(But I think it should be no problem ~)

When no extension options provided iPador when it does not work

Recommend Custom User-Agent

The following pro-test is effective User-Agent

Mozilla/5.0 (iPad; CPU OS 10_3_1 like Mac OS X) AppleWebKit/603.1.30 (KHTML, like Gecko) Version/10.0 Mobile/14E304 Safari/602.1

Copy it to the local custom to complete

Here is my installed version diagram for reference only

For Chrome

Click the newly installed extensions

Select iOSiPad

Refresh to see network interface classes do not prompt "Flash is not installed" on behalf of success

Gcv3Z9.png

Next is a custom graphic, most of the extensions are similar

(Previous successful skippable)

  • Open the corresponding expansion of the management page
    Gy3w8K.png
    Gy3BvD.png

  • At this point you should be able to find a custom input box
    and the layout is not the same with a high school English knowledge explore their own right
    as shown in the name of (Name) and packet (Group) as well as identification (Indicator Flag) is free to
    their respective corresponding where can you see in the picture in
    the middle of the column to copy and paste the above line
    after a completed point Add
    Gy3sDH.png

  • The next operation on the line similar to Figure
    Gy3ybd.png

Gy3cVA.png

For Firefox

  • I installed this extension to get a picture clarity
    GcX8OJ.png

  • This screen appears on your behalf this step is successful
    GcXUFx.png

PsQAQ I now finally know how hard the writing tutorial
spirit thanks to the Internet to share

Some tips

After the wave of the above operation is completed
we will find other pages have been some changes

Because then all the sites regarded you as a user of the iPad

Gy3U4x.png

For reasons of scale

It looks very uncomfortable

Then just switch off on the line

Explore on their own is not a problem

However, the most convenient way is to set the white list!

For Chrome

Or just open the management interface

Select the second option on the left

FIG set to

Gy3dC6.png

For Firefox

Or just the interface, select the lower left corner of the Options

GcXJm9.png

The installation script Html5 player makes a normal start

Installation TampermonkeyScript Manager

I believe we more or less have heard of this stuff

The legendary Baidu cloud download necessary

Just install and operate switcher is the same

Key words change on the line

For Chrome

Gy3lgU.png

For Firefox

Gy3nNq.png

The installation scripthls.user.js

This step is basically the same in all browsers

Click here Portal
hls.user.js

Figure shining everyone will be

Gy3MCV.png
Gy3Q3T.png

The next time you open your web page lesson

Found video can play it!

Speed up !!!!!

The installation script is used to control the speed of

And exactly the same steps above

So I recommend two scripts

It is a simple version of a super advanced version

Portal to go from

Video speed controller

HTML5 video player enhanced script

Instructions - video speed controller

Here I'll just posted a clarification A pair of left

It seems that the script is also a lesson for the network born that way

(People will reflect on your own scriptable will also pull jio)

GcX1lF.png

Instructions -HTML5 video player enhanced script

This script is strong! To! burst!

Specific operation is as follows

GcX3y4.png

awa really want to thank the friends who share the spirit

The principle of small lecture

awa not interested students can skip friends ~

I will briefly about the pair of

Water in this regard seems to me a very deep study also impervious chicken dishes

And in this 0202-year information I found almost all started 3 years ago

Errors or outdated content must also be sure to point out extremely grateful

What User-Agent that?

Direct throw water problems encyclopedia next (bushi)

For some reason Apple's iOS does not support Flash player

Therefore, the general site using Flash Player on iOS will end replace it with HTML5 Player

So long as we pretend to be a fruit powder on the line (laughs

Flash Why so lovely to get rid of Flash qwq

It is not cute

Flash Video Player fact it has already been replaced by HTML5 video player under the standard in most sites

In addition to the old site like this type of education

Blame class cloud network programmers too lazy to change

There is no sense of innovation Poor

I simply talk about a few points

FLash plug difficult to crack

Flash is a plug-in, but also the development of so many years, technology is quite mature, and even can be done directly inserted in the code compiled C module (FlasCC technology, formerly known as Alchemy), a lot of video sites (such as Youku and Tencent) Flash Player It is rather difficult to break in both the C module. [1]

Flash difficult to crack the characteristics of the video site is a good thing

Video can prevent stolen or skip advertising (most video sites rely on this just rice) and other issues

But for us, not so good

Flash does not support native speed and other features features a single player progress bar did not pause

Plain and boring

Flash plug-in security is low

At first glance it seems, and this one on a conflict, but security here is relatively user of

Compared to Flash Javascript

Out of browser limitations, greater rights and easier access to local files

However, the greater the power, the more loopholes

This means that hackers have a chance

Slightly understand the network security people know

Flash has a king loopholes title

Quick to burst serious security vulnerabilities

The problem is that this stuff is still closed source have to wait Adobe engineers to repair

Thus HTML5 When this alternative technique it appears

Flash was immediately abandoned

Look at how Google's Chrome say

GcXBlD.jpg

In fact, what we can not afford to dream

Adobe After all, people are engaged in the arts package (laughs

Flash inefficient resource consumption

About memory, flash page swim well done, probably in control 150m to 200m, doing a good job, every minute went 500m, 1g have. Memory on this one, can make you want to use does not take too. In addition, avm2 VM + as3 class js language, language and performance flash9 are far behind and c # java virtual machine, causing cpu power consumption is relatively high. [2]

Intuitive feeling is that the case is too small to eat will feel Memory Memory Card

Flash dead end

Flash with respect to the newer HTML5 standard level is already a grandfather

But as the saying goes a centipede, die hard

Flash in the Internet era had quite a huge impact

As the year of Windows XP

Although the official announcement at the end of 2020 to stop supporting

Presumably still have some applications

But I'm afraid of is this

How do Chrome will no longer support Flash at the end of 2020, which will cause what kind of impact on the domestic Internet? - Apisa answer - almost known

Now Flash already has begun to play a dirty trick

Before I even put on a Flash pop out a bunch of tour page ad

Flash strike you changed goodbye

(Again miss the wave of 4399 and QQ farm or something)

Why do I need to install script to correctly decode and play video network class?

This question is a bit complicated to say I have studied for a long time

Because our online lesson site video source format m3u8, and this format can not support HTML5 player on Windows

I quote a not very able to understand the map

GcXYwR.png

Can be seen from the picture, only Safari and Edge is the perfect support

So use Windows10 students

It can be opened directly linked to skip the installation stage to directly modify the widget user agent on the line

And this operation Edge browser directly by pressing F12 after the simulation interface settings

Simple and beautiful [a head]

Keke I bite the bullet and try to talk about. . .

m3u8 is based on HTTP Live Streaming (HLS) video format file, which is located primarily basic information of the whole video and fragments (Segment) Composition. Currently HLS protocol by the Apple.inc first proposed in Safari natively support Mac [4]

Native HTML5 <video> element on a Windows PC only supports playback mp4 (H.264 encoding), webm, ogg formats such as video. [1]

From this we can see that the two materials are to play web video lesson m3u8 format can not pass through the HTML5 video player

However ...... but universal programmer da!

So MSE came into being

We can <video> tag has seen de-encapsulated and decoding functions of the browser that comes with the player. With the development of video on demand, broadcast and other video services, video streaming through the Media Transfer Protocol (currently used in two, MPEG-DASH and Apple HLS) from the server to clients, further comprising a layer of media content transmission agreement, so that <video> can not be identified. In HLS an example, the contents of the source file into a dispersion encapsulated in a TS file.
Alone <video> tag does not recognize such a TS file, then the introduction of MSE expand to help identify and deal with the browser TS file, it will change back to the original media container format recognizable, so <video> can identify and play the original files. Then the browser supports HTML5 equivalent of a built-in protocol can parse streaming player. [5] (Curiously [6] There are also exactly the same period of which I no rain melon awa)

In short, MSE technology can be real-time transcoding video for the browser supports playback formats

We installed above hls.user.jsis to use this technique.

Reference material

I am, after all, vegetables, ah, that can not tell qaq

Here are some good quality offer of access to the information I quoted, interested students recommend a look

[1] Why do most of the domestic video PC manufacturers do not open HTML5 -? Zhang part of the answer - know almost

[2] iOS does not support Flash real reason for what? - Gu Lei answer - know almost

[3] a few pictures so that you understand WebAssembly - Jane books

[4] have supported M3U8 format HTML5 player do? - Po florets answer - know almost

[5] The crude HTML5 video identification tag and MSE media source extension

[6] H5 Live Series II MSE (Media Source Extensions) - Jane books

Ps data cited above, if infringement please contact me, I will remove it and apologized for the first time.

Happy making up time

If you do not understand emmm students can contact me via QQ oh

Blog menu on the left that should be able awa

So tutorial to end here (yawn)

Do not say go to make up classes (sad

GcXaY6.jpg

Guess you like

Origin www.cnblogs.com/marshuni/p/12653252.html