iframe not working in Google Chrome
So I have set up an iframe in the webpage I made, and there are several buttons to link to other simple web pages that have video embeded in them. In this way the different videos show up in the main pages iframe depending on which button you click, and this seems to work just fine in Firefox (Have yet to test it in IE, I still run XP so I don't have the latest versions). In Chrome however, the iframe shows up, even the play button in the middle shows up from the linked video, but they simply will not play, and I can't say why. I've looked it up, a lot of people seem to have this same issue but I have yet to see a real solution for it. Any ideas?
Here is my coding on the main page.
<link rel="stylesheet" type="text/css" href="web.css" />
<img id="bg" width="1413px" height="710px"src="Images/desktopmediafinal1.jpg" alt="Desktop Background" />
<a href="vid.html" target="frame1"><img id="icon" src="Images/icon1.gif" alt="Icon" /></a>
<a href="vid2.html" target="frame1"><img id="icon2" src="Images/icon2.gif" alt="Icon" /></a>
<iframe id="frame" src="vid.html" name="frame1" alt="Video Screen"></iframe>
And the video page:
<iframe width="1029" height="375" src="http://www.youtube.com/embed/4z9TdDCWN7g" frameborder="0" allowfullscreen></iframe>
Very simple, but it's made to look like a computer monitor playing Windows Media Player, with the iframe being where the video would show, and the desktop icons are the buttons to click for each corrosponding video.
I read something about meta tags possibly being able to help but I'll be honest, I'm still a bit new at this and don't really understand meta tags just yet. Though I suppose now would be a good time to start.
So I think I've been able to at least determine the issue (or part of it) resides with youtube itself, or the embed code it gives. I tried linking a video from LiveVideo.com and it plays in both FF and Google Chrome just fine. I'm going to see if I can alter the code to use the same coding but to play my youtube video instead.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread