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

Menu