Flash (swf) can't play automatically in Google Chrome - google-chrome

My web site has got swf files where their heights are smaller than 298px and which are not auto-played in Google Chrome.
I tried autoplay=true, play=true, ... but with no success.
How can I play automatically those SWFs?
Example :

This is not possible in more and more browsers.
It's time to embrace HTML5 and re-write or convert your SWFs.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"" http://www.w3.org/TR/html4/loose.dtd "><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"" http://www.w3.org/TR/html4/loose.dtd "><HTML>
<HEAD>
<TITLE></TITLE>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
works for me, i think the issue is you have to work with html previous to html 5

Related

I don't know why my page doctype hang my chrome?

I have a very simple page , here is the source code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
</body>
</html>
My IE8 and firefox has no problems.
I don't know why, my Chrome (version 35.0.1916.153 m) will hang, after loading the page. So when I mouse right click on it, it cannot show the right click menu.
Steps to reproduce the hang problem:
load the page
mouse right click on page (any empty space )
....it will hang.
And then every time try to refresh this page, it will crash the page as screen captured here:
Anyway, If I remove the <!DOCTYPE.....> tag, it will ok.
you can click here to the test page
But other page on the web is ok and never hang, they also has <!DOCTYPE.....> tag
eg. https://stackoverflow.com/
<!DOCTYPE html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
This two also hang my chrome.
Thanks you all, it is embarrassing that my chrome installation has problem, I think this question should be closed. Thanks again for providing comments and answers.
(How to self closed?)
Thanks you all, it is embarrassing that my chrome installation has problem, I think this question should be closed. Thanks again for providing comments and answers.
I cant experience the error you are having so maybe try HTML 5 tag
<!doctype html>
but since it isnt a standard yet I don't know maybe try html4.01 strict:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
Sorry I'm not much help

FB Thinks Meta Tags Are in Body

If you follow this links you will see that there is a paragraph-tag that should not be there in line 3
This is the actual code that "causes" this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
I do not get why there would be a paragraph-Tag cancelling the element and making FB believe that meta-tags are in the body instead... do you?
https://developers.facebook.com/tools/debug/
I used the Facebook Open Graph Debugger to solve the issue. On the very bottom there is a link called
Scraped URL See exactly what our scraper sees for your URL
This shows exactly what Facebook catches as code and there was a print of a paragraph-tag from one of the libraries I have been using. I can only recommend to debug it this way because I wasted a lot of time not doing so (because I did not see the link at the bottom of the page).

Positioning of my website in IE is totally wrong

Does anyone know a solution to my problem or where I should look for this to work?
I am working on a website ( http://www.awww.nl ) and I got all the positioning of the elements the way I wanted... but when I checked in IE most of the positioning is totally off!
Especially on the post pages (for example: http://awww.nl/superlieve-luiaard/ ) the design is moving all the way to the right in IE (in chrome on my Imac everything is correct) And on the homepage the button to add pictures disapears.
I tried to fix it by using different Doctypes but that didn't work.
Your website is rendering in Quirks mode, probably because of a doctype mistake.
I do not recognize your current doctype:
<!DOCTYPE XHTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Can you try changing your doctype to this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
If that doesn't fix it, then add to the <head> tag:
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
This should render it in the highest version available. However, I would recommend that you look for the doctype mistake and fix it as it is the root of the cause.

My doctype code is not showing up?

I have two doctypes above my <html> tag and I still don't see it in my page source. I tried just using one of them but they still dont work. Here is the site URL http://nonudot.io-web.com/demo.aspx and the doc types I'm using:
<!DOCTYPE HTML>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Heres a link to a screenshot of the code http://nonudot.io-web.com/LCValleyADA/media/ProjectsContent/Capture.JPG
Thanks
Your screenshot doesn't look anything like the final output. Compare the following
with
Notice how the meta tag <meta http-equiv="pragma" content="no-cache" /> doesn't exist in the second screen grab (my screen grab from your posted site)? That's most likely because your not using the same page... I'm assuming that you might not be using the correct MASTERPAGE, or something has gone awry with your masterpages.
Your style sheets don't match up either.

What DOCtype loads Google fonts in IE9?

Using the google webfont loader the font shows in IE9, but when I declare at DOCtype at the start
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
also
!DOCTYPE html
breaks it
the font no longer loads. Leaving it out breaks the auto margins.
Nothing so far as worked.
<!DOCTYPE HTML> is all I ever use anymore. It loads the fonts just fine for me.
Should it fail, add this meta tag:
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
And should that also fail, check the F12 Developer Tools console for error messages.