Embed sensitive-content

Hi everyone,
I am making a plugin for embedding videos on Mattermost which uses embed services from PeerTube as well. Currently, the i am unable to control NSFW tag to blur the content of the video. I found articles which discussed about the NSFW in PeerTube in the following ticket.

Do I change my plugin code to detect the NSFW tag from the URL?

If you can describe me the problem on the above Pull request, I may be able to contribute to solve that issues as well.