Flash幻灯片无法在html中自动播放 [英] Flash Slideshow doesn't autoplay in html

查看:134
本文介绍了Flash幻灯片无法在html中自动播放的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我在html页面中创建了一个EMBED对象,并添加了SWF Flash对象作为源.

swf文件包含5秒钟后更改的PPT幻灯片..
现在,我想使用javascript自动播放此对象..

是否可以通过这种方式或是否有另一种方式,请让我知道..!

我的嵌入代码是这样的..

Hey all,

I have created an EMBED object in my html page and have added SWF flash object as source.

The swf file contains the PPT slides..that changed after 5 seconds..
Now i want to autoplay this object using javascript..

is it possible by this way or if there is another way please let me know..!

My Embed code is like this..

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="800" height="200"
            id="header_flash" align="middle">
            <param name="movie" value="1.swf" />
            <embed src="1.swf" type="application/x-shockwave-flash" flashvars="autoplay=true"
                play="true" wmode="transparent" allowfullscreen="true" allowscriptaccess="always"
                width="720" height="540"></embed>
</object>



从简单的Powerpoint幻灯片创建1.swf的地方..!
谢谢



Where 1.swf is created from simple Powerpoint Slides..!
Thanks

推荐答案

为了自动启动Flash电影,我使用了它,在我的情况下,它会自动启动:

In order to start automatically a flash movie, I''ve used this and in my case it starts automatically:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000">
		width="800"
		height="200"
		id="header_flash"
		align="middle">
	  <param name="movie" value="/Flash.swf">
  

	<!--[if !IE]>-->
		<object type="application/x-shockwave-flash">
			data="/Flash.swf" width="800" height="200">
		>
      <param name="movie" value="/Flash.swf">
	<!--<![endif]-->

	<a href="http://www.adobe.com/go/getflash">
	<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player">
	</img></a>

	<!--[if !IE]>-->
		</param></object>
	<!--<![endif]-->
	</param></object>



尝试一下,看看它是否有效.

PS:如果这不是您要寻找的解决方案(可能会是这种情况),请使用您的代码段改善您的问题.

祝你好运!



Try it and see if it works or not.

PS: if this is not the solution you are looking for (possibly it will be the case) improve your question with your code snippet.

Good luck!


这篇关于Flash幻灯片无法在html中自动播放的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆