I have my 4 static HTML pages created as below.
- Home
- About
- Services
- Contact
On each page, there is a link, which opens up another static page called myVideo.html which plays video about me on a new tab.
I have kept that link on each page so that the user can open it up for anywhere.
The problem is, when it opens up from home page, it can again open from about page, so that makes the video autoplay two times which creates a bad impact.
What I want is, when the user has started the video from any page and when they again execute the same from another page, they should get an Alert mentioning that "The video is already being played on a new tab", so that my video plays only once. They can again play the video only on close of the tab which is playing that video.
My question is, is this possible ??