как правильно вставить флеш в html5?

V

valeriani

#1
помогите кто нибудь, замучилься начал изучать html5 и проблема появилось, вставляю флеш (swf), ано работает но на проверку валидатора покзывает ( Validation Output: 1 Error

Line 54, Column 183: The classid attribute on the object element is obsolete. Use the data and type attributes to invoke plugins. To set a parameter with the name classid, :ponder: use the param element.:ponder:
…accesskey="c" tabindex="1" title="cerdunia" data="Gregorian" type="video/mpeg">)


а вот и код каторый я посилаю

</head>
<body>
<header>
<div>

:ponder:<object classid="clsidD27CDB6E-AE6D-11cf-96B8-444553540000" width="1024" height="222" id="FlashID" accesskey="c" tabindex="1" title="cerdunia" data="Gregorian" type="video/mpeg">:ponder:
<PARAM name="video" value="/flash/head.swf">
<PARAM name="quality" value="high">
<PARAM name="wmode" value="opaque">
<PARAM name="swfversion" value="8.0.35.0">
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
<PARAM name="expressinstall" value="/Scripts/expressInstall.swf">
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="/flash/head.swf" width="1024" height="222">
<!--<![endif]-->
<PARAM name="quality" value="high">
<PARAM name="wmode" value="opaque">
<PARAM name="swfversion" value="8.0.35.0">
<PARAM name="expressinstall" value="/Scripts/expressInstall.swf">
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>
<h1></h1>
</header>
<section>
<article> <h2> Заголовок 1 </h2>
<p> Некоторый текст... </p> </article>
<article> <h2> Заголовок 2 </h2> <p> Некоторый текст.. </p> </article>
<nav>
<a href="/someURL"> Ссылка 1 </a>
<a href="/someURL"> Ссылка 2 </a>
</nav>
</section>
<footer>
<p>Copyright 2010 My Company</p>
</footer>
<script type="text/javascript">
swfobject.registerObject("FlashID");
</script>
</body>
</html>


как этот :ponder: param element :ponder: установит?

спасибо заранее
 
B

Boss3

#2
ано работает но на проверку валидатора покзывает ( Validation Output: 1 Error

Ну и хрен с ним с валидатором. Это естественно, что чем больше вставляешь сторонних скриптов, тем больше ошибок в валидаторе.
Главное что работает.

Да и чтоб код вставлять на форум есть кнопочки в редакторе php или html, а то они в смайлы превращаются. Или в блокноте вложением нужно вставлять.
 
V

valeriani

#3
спасибо за ответ, но мне очен интересно как этот param element использовать
 
Get involved!

Here you can only see a limited number of comments. On СЕО Форум Вебмастеров you see all comments and all functions are available to you. To the thread