3 questions about onclick new window


If you click on the words on the left, a video pops up. Questions are:

1. It pops up as a separate window that is sized on large devices, but on small devices it just goes to a new tab. Why is that?
2. On my screen (a large dell laptop)it is exactly in the center of the screen, but for my client it's over quite far to the right. Is there a way to center it on all screens?
3. Client wants to know if the new window can automatically close after the video finishes.

Thanks for any and all help!
Melody ScottAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


Your url give this error:
Not Acceptable!
An appropriate representation of the requested resource could not be found on this server.
This error was generated by Mod_Security.

Open in new windows  will always depend of the browser and the script and device.

I would try to use modal instead to display the video and then you will be able to set a timer and you will have more control over it.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
David Johnson, CD, MVPOwnerCommented:
http://lab.abhinayrathore.com/bootstrap-youtube/ also gives the mod_security error
Melody ScottAuthor Commented:
Hi, I had a pretty bad accident, and I have to sit still, rest and elevate my leg for at least a week, maybe longer. I will look at this later.
Melody ScottAuthor Commented:
Hi, that link is working now.
Melody ScottAuthor Commented:
Thanks, he has accepted that, given what he needs(video opens youtube link in new window(because the video won't allow embed), there will be these anomalies.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.