I have a WordPress website where being logged in is mandatory for direct access. The website offers video posts. So the user needs to login if they wants to watch the videos. Also I have provided an iframe link for every video. The user can't use the iframe until logging into WordPress, then refreshing the page that contains the iframe in order to play the video.
My question: is there a way to bypass the login page if the video is accessed not using an iframe? Note that, all the iframe links used are to another known website inside my organization.
Here is an iframe link example:
<iframe width="400" height="250" src="https://example.com/?action=getembedcode&v=1851254" frameborder="0" allowfullscreen></iframe>
The plugin I use to force login is "Force Login".