Wednesday, May 29, 2024
notice

Video parsing PHP source code (supporting multiple interfaces, caching and json)

This page has been reproduced!!!

It is declared that the code was not written by myself. I just modified it to make it look like what I wanted.

Briefly introduce the code functions:

1. The code has no encryption;

2. The interface link frame is disabled by default;

3. The interface integrates the playerJS player;

4. Supports adding token to the interface (default is comment code);

5. Support docking of json interfaces, and set different json resolution interfaces corresponding to different video stations;

6. Support the interface anti-theft chain, which needs to be used together with the frame (the default is the annotation code);

7. The most important function is to cache the address parsed to the video to the local for direct call next time;

8. The cached video address supports the validity period, and the expired cache can be cleared through the interface;

These are probably the functions. If necessary, you can see the actual effect here: https://lirongyao.com/player/ Select the first option and enter the playback address

@The chain can not be opened directly to prevent theft

Default usage: https://lirongyao.com/jx/?url=

If the key is turned on: https://lirongyao.com/jx/?token= Key&url=video address

This code can parse the video address or play the direct address. Once the address is parsed, it will be cached.

Don't take screenshots here. The actual effect will be better.

Original article, reprint please specify: reprint from Glory Blog
Link to this article: Video parsing PHP source code (supporting multiple interfaces, caching and json)

About Glory Blog

A bad pen is better than a good memory.

Random recommendation

 202002051409105 310x165.png

Apple CMSV10 integrated PlayerJS player (with memory playback)

This integrated player is a foreign player

4 Comments

  1. Why can't I download it?

  2. 6666666 Ah, try it

Post reply