HTML5 Video Background Not Playing on Safari or IE11

I have this page starting to look normal in Chrome and Firefox regarding the background video being 100% (w&h) inside a DIV.

But when I look at the site in Safari and IE 11, it won't display any video or partial video on the left (in IE).

I've deconstructed my page 100 times down to the raw <video> tag only and I can see the video playing in Safari and IE11, but when it's wrapped in the DIV, it simply won't work.

I'm not sure how to debug in Safari to see what the conflict is.

I've also created a background-image for the DIV in case the video doesn't work. It's somewhat the same as the POSTER tag in video. (fail safe).

I need to understand WHY it won't work in Safari and IE11. I don't get it and have spent several hours now pulling out my hair.

http://www.themillennialtour.com/index1.cfm

Any help would be appreciated.
LVL 1
day6Asked:
Who is Participating?

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

x
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.

David Johnson, CD, MVPOwnerCommented:
it does play in IE11
0
day6Author Commented:
@david Johnson Perhaps I should do a screen grab so you can see that it doesn't?
0
day6Author Commented:
The way the VIDEO tag in Safari works is different than Chrome/Firefox. Also, the use of @media tags in my code weren't being read by Safari or IE, so I removed them. I ended up changing the code from the normal

<video>
<source>
</video>

to
<video src="path/vid" type="video/mp4">

This apparently was what was causing both Safari and IE to NOT render out the video.

Additionally, since I wanted to have the video full screen background, I had to use

min-width=100%
min-height=100% to make it work since just width=100% and height=100% were being ignored by Safari and IE11

Weird issues, but glad I figured it out. The page now renders fine in all 4 main browsers.
0

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
day6Author Commented:
No comments from anyone and after more tweaking and playing with CSS, I figured out the solution.
0
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
CSS

From novice to tech pro — start learning today.