Reputation: 3
I have sent Email to My client with some links.. (http://example.com?id=1234
).
When the User click this link, It will open a new tab and play same Video's using iFrame.
How can i find the site (http://example.com
) already opened or not?
Is there option in JavaScript?
Upvotes: 0
Views: 811
Reputation: 577
For security reasons this is not possible directly in JavaScript. But you can work around and add a marker in the URL then detect server side if the site is already streaming the video to that computer (match with URL marker, IP and browser).
Upon response the server can say close or not...
Upvotes: 0
Reputation: 944528
There is no way to run any client side code in an HTML formatted email. So this is impossible.
The closest you could come would be to:
Upvotes: 2