I am using this plugin https://wordpress.org/plugins/content-protector/
Password protected content
Enter the correct password to view the content
[passster password="123456"]Your content here[/passster]
I don't know how to use short code in php
<!--<hide content>-->
<ul class="TPlayerNv">
<?php echo $optplayer; ?>
</ul>
<div class="TPlayerCn BgA">
<div class="EcBgA" style="background-color:#EEEEEE!important;">
<div class="TPlayer">
<?php echo $player; ?>
<span class="AAIco-lightbulb_outline lgtbx-lnk"></span>
</div>
</div>
</div>
<span class="lgtbx"></span>
<!--</hide content>-->
</div>