Step 1:
git clone git@github.com:vishaldodiya/protected-embeds.git
Step 2:
Enable plugin from WordPress wp_admin plugins page.
Step 3:
Create a new post. Click on Add Media button.
Step 4:
Click on Protected Embed Menu.
Step 5:
Now we have one textarea in which we need to add embed code and click Add to Post button.
After adding embed in the post, one shortcode will be generated and added to the editor. Now protected embed is ready.