Copy link to clipboard
Copied
Hello.
First I would like to salute all you people out there that answer questions in these forums. Thank you! They have been more helpful than my Web Design class.
Here is my problem. I cannot get Internet Explorer to play my video files. It says Unsupported video type or invalid file path. I have added the .htaccess file for MIME types, and included .mp4, .ogg, and .webm. I have also included a smaller resolution for mobile. Any help or pointers would be appreciated.
Also if anybody could explain to me in an idiot proof way how to add flash support step by step for this site that would be great. I have searched all over the internet, read many tutorials, used the free code makers, and I still cannot get flash to work.
This is my first website, please go easy on me!
Site address is www.mindtrickvp.com
Thanks everybody
Copy link to clipboard
Copied
Perhaps an obvious question, but is the Flash plugin installed on the browser you're using? Its not as 'universal' as it used to be?
If you wantt o add flash fallback on a video (this would be only needed if the user was on an old browser and had flash installed) add the following code after the 4 video tags you have so far:
http://www.htmlgoodies.com/html5/client/how-to-embed-video-using-html5.html
scroll down to the section "Graceful Degradation" goes over how to add a flash video to the stack.
Copy link to clipboard
Copied
I dont understand how the file plays fine when I preview it through IE on Dreamweaver, but when I try to go to the page outside DW it does not work. I added MIME types through htaccess. IS there something else I am missing?
Copy link to clipboard
Copied
Hello,
nice to see you, I'll give back your greetings, good luck! To your question:
Did you try out your website in Live view?
Did you try out it without inserting the codecs? Only like this:
<!--begin video-->
<video controls>
<source src="YourVideo.mp4" type='video/mp4' />
<source src="YourVideo.webm" type='video/webm' />
<source src="YourVideo.ogv" type='video/ogg' />
</video>
<!--end video-->
Hans-Günter
Copy link to clipboard
Copied
Also, I removed the codec tags and the videos still act the same. Still unsupporte by IE10.
Copy link to clipboard
Copied
Hello,
I made a pure DW file, what means I only inserted your "Demo.mp4" in two variation, AND I can't believe it of myself, BUT in my FF 26.0 the both work like a charm, whilst my IE 11 failed. Please have a look here:
http://hansgd.de/DWTest/_mind/indexVid.php
Hans-Günter
Copy link to clipboard
Copied
It does not work in IE10 either
Copy link to clipboard
Copied
I dont understand why IE doesnt like it. its h.264 in an mp4 container with aac audio...
Copy link to clipboard
Copied
As a last effort I contacted my webhosting service IPage. Ipage did not have .mp4 MIME type selected, although I put it in my .htaccess file. Hans-g, could you try my link in IE and see if it works now?
Thanks
Copy link to clipboard
Copied
Works for me now in Chrome and IE11 - didn't try any others. I will say that you've designed the page too wide. I'm running 1280x1040 and I have to H scroll to see everything.
Copy link to clipboard
Copied
What would you recommend? I'm open to any and all suggestions.
Thanks
Copy link to clipboard
Copied
If you want a layout that "fits" every viewport width, use % instead of px.
body {
width: 98%;
margin: 0 auto;
}
video {max-width:100%}
Nancy O.
Copy link to clipboard
Copied
If I make the width 98%, the browser just cuts off half of my background image.
Copy link to clipboard
Copied
Also when I do that my other 2 links float around aimlessly lol
Copy link to clipboard
Copied
html {
background: url(images/bg.jpg) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}That is the most useful code I could find to autosize my background image. However I could not get my two picture links and the video to autosize appropriately AND stay in their position.
Copy link to clipboard
Copied
You'll need to post a link to your test page. It's impossible to offer advice when we can't see what you see.
Nancy O.
Copy link to clipboard
Copied
Hello,
maybe of interest for you: In your newest version of your website (http://www.mindtrickvp.com/) your video now works in my IE 11! ![]()
See screenshot:
Hans-Günter
Copy link to clipboard
Copied
I just wanted to say thanks again to everybody. Nancy sorry I have not responded yet I am still working on it!
Thanks again
Copy link to clipboard
Copied
Ok ladies and gentlemen. I have another issue suprise suprise. I have added text to the body of a web page, and I uploaded it to my server. For some reaseon the text is not appearing. It looks great on the live view in Dreamweaver, as well as previews properly.
http://mindtrickvp.com/Contact.html
When I view the source code from the online site, It does not have the same coding as my local one.
Locally, it looks like this
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Contact Us!</title>
<style type="text/css">
</style>
<link href="BASIC CSS.css" rel="stylesheet" type="text/css">
</head>
<div id="contactdiv"><a href="Contact.html"><img src="Images/CONTACTWEB.png" alt="" width="300" height="50" id="contact"/></a></div>
<div id="logodiv"><a href="index.html"><img src="Images/LOGO550x210retry.png" alt="" width="550" height="210" id="logo"/></a></div>
<div id="MOTIONGRAPHICSTEXT"><a href="Motion Graphics.html"><img src="Images/MOTION-GRAPHICS.png" width="410" height="50" alt=""/></a></div>
<div id="COMMERCIALSTEXT"><img src="Images/COMMERCIALS.png" width="410" height="45" alt=""/></div>
<div id="WEDDINGTEXT"><img src="Images/WEDDINGS.png" alt="" width="300" height="45"/></div>
<body>
<p id="WELCOMETO"> Welcome to MindTrick Video Productions</p>
<p id="WEOFFER">
We offer high quality video production including but not limited to<BR> Commercial, Training, Wedding, Documentary, and How-To videos.<BR> We also do motion graphics.<BR> We would love for you to be our next client! <BR>Contact us now for further information.</p>
<a href="mailto:Mindtrickvp@gmail.com" id="EMAIL">Mindtrickvp@gmail.com</a>
<a href="tel:+16158012005" id="PHONE">(615) 801-2005</a>
</body>
</html>
Why in the world is it not showing up?!
Thanks
Copy link to clipboard
Copied
>When I view the source code from the online site, It does not have the same coding as my local one.
Then you are either uploading to the wrong location or the put is failing. Check your ftp logs.
Also, the html you have posted is not valid - you have content outside the body tags.
Copy link to clipboard
Copied
What are you refering to- content outside the body tags?
Copy link to clipboard
Copied
This is not proper HTML syntax: Divs must be inside the <body> tag.
</head>
<div id="contactdiv"><a href="Contact.html"><img src="Images/CONTACTWEB.png" alt="" width="300" height="50" id="contact"/></a></div>
<div id="logodiv"><a href="index.html"><img src="Images/LOGO550x210retry.png" alt="" width="550" height="210" id="logo"/></a></div>
<div id="MOTIONGRAPHICSTEXT"><a href="Motion Graphics.html"><img src="Images/MOTION-GRAPHICS.png" width="410" height="50" alt=""/></a></div>
<div id="COMMERCIALSTEXT"><img src="Images/COMMERCIALS.png" width="410" height="45" alt=""/></div>
<div id="WEDDINGTEXT"><img src="Images/WEDDINGS.png" alt="" width="300" height="45"/></div>
<body>
=====================
Replace what you have with this:
</head>
<body>
<div id="contactdiv"><a href="Contact.html"><img src="Images/CONTACTWEB.png" alt="" width="300" height="50" id="contact"/></a></div>
<div id="logodiv"><a href="index.html"><img src="Images/LOGO550x210retry.png" alt="" width="550" height="210" id="logo"/></a></div>
<div id="MOTIONGRAPHICSTEXT"><a href="Motion Graphics.html"><img src="Images/MOTION-GRAPHICS.png" width="410" height="50" alt=""/></a></div>
<div id="COMMERCIALSTEXT"><img src="Images/COMMERCIALS.png" width="410" height="45" alt=""/></div>
<div id="WEDDINGTEXT"><img src="Images/WEDDINGS.png" alt="" width="300" height="45"/></div>
<p id="WELCOMETO"> Welcome to MindTrick Video Productions</p>
<p id="WEOFFER">
We offer high quality video production including but not limited to<BR> Commercial, Training, Wedding, Documentary, and How-To videos.<BR> We also do motion graphics.<BR> We would love for you to be our next client! <BR>Contact us now for further information.</p>
<a href="mailto:Mindtrickvp@gmail.com" id="EMAIL">Mindtrickvp@gmail.com</a>
<a href="tel:+16158012005" id="PHONE">(615) 801-2005</a>
</body>
</html>
Nancy O.
Copy link to clipboard
Copied
What difference will moving them make?
Copy link to clipboard
Copied
The difference is invalid vs valid code. Browsers don't like invalid code because it confuses them and leads to X-browser rendering problems. In addition, DW chokes on bad code.
Use the code validation tools below often during development and fix your errors before they lead to bigger problems later.
CSS - http://jigsaw.w3.org/css-validator/
HTML - http://validator.w3.org/
Nancy O.
Copy link to clipboard
Copied
Is it bad to have all your CSS rules on one sheet?
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more