Front-end JS controls non-member video playback

like Tencent Video, if you are not a member, you can"t play it after a few minutes.

Mar.28,2021

this kind of payment should be controlled by the back end. The backend returns the corresponding video type by judging the user type.


the video is returned by the backend of the frontend segmentation request API. It is not a complete video, but is returned by cutting multiple files. Then the control steps need to be completed at the back end, and there is no good solution at the front end to control permissions

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b40c61-2c530.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b40c61-2c530.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?