使 Flash 影片自动加载
我想在我的页面上嵌入一个 Flash 影片,但我需要它从一开始就自动加载,而不仅仅是当我通过页面到达它时。 我的意思是,我有一个很长的页面,而闪光灯大约在中间。 它播放带有声音的动画,我希望它能够自行启动,而不仅仅是当我向下滚动到它时。 这可能吗 ?
谢谢
I would like to embed a flash movie on my page but I would need it to autoload from the begining, not only when I reach it through page. I mean, I have a long page and the flash is about in the middle. It plays an animation with sound and I would like it to start itself, not only when I scroll down to it. Is this possible ?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Flash 影片在浏览器中加载后立即开始播放(默认情况下)。 只需确保您的
Flash movies begin playing immediately on loading in the browser (by default). Just make sure your
<object> / <embed>
tags don't have the play attribute set to false and that your Flash movie doesn't have astop()
on frame1 or something preventing it from playing...我遇到过一些情况,电影似乎无法持续自动播放。 我将这个快速的 javascript 函数放在一起,我将其称为 onload 以确保电影正在运行:
I have had some cases where the movie won't seem to consistently auto play. I threw together this quick javascript funciton which I call onload to make sure the movie is running: