声音和W3C [英] Sound and W3C

查看:75
本文介绍了声音和W3C的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何添加声音,以便在页面加载
时自动播放?我的搜索引用了一些对< bgsound>的引用,但它被描述为Microsoft设计的标记

。我更喜欢坚持

非专业标准。


此外,是否存在大多数浏览器可以原生播放的声音格式,

没有插件?声音是5秒,只有声音。

解决方案

Ben写道:


如何添加声音,以便在页面加载
时自动播放?



Eugh。讨厌。可怕。我的扬声器是我自己的,没有

明确许可,不要碰它们! (这不是一个不常见的观点)。


也就是说,包含媒体的标准方式是< objectelement。


-

David Dorward< http://blog.dorward.me.uk/<tp://dorward.me.uk/>

Home is其中〜/ .bashrc是


David Dorward写道:


Ben写道:
< blockquote class =post_quotes>
>如何添加声音以便在页面加载时自动播放?



Eugh。讨厌。可怕。我的扬声器是我自己的,没有

明确许可,不要碰它们! (这不是一个不常见的观点)。


也就是说,包含媒体的标准方式是< objectelement。



同意。如果网站发出噪音,我会离开。这是我的一个小规则。

声音/视频广告加倍。如果你想要读者,不要把这个

废话放在你的网站上。


Jeremy


为了进一步教育人类,本 < sp ****** @ hotmail.com>

vouchsafed:


如何添加声音以便自动播放当页面是

加载?



我想知道有多少人实际浏览了他们的声音?


-

Neredbojias

Infinity有其限制。


How do I add sound so that it plays automatically when the page is
loaded? My search turned up some references to <bgsound>, but it was
described as a Microsoft-designed tag. I prefer to stick to
non-properietary standards.

Also, is there a sound format that most browsers can play natively,
without a plug-in? The sound is 5-seconds, voice-only.

解决方案

Ben wrote:

How do I add sound so that it plays automatically when the page is
loaded?

Eugh. Nasty. Horrible. My speakers are my own, don''t touch them without
explicit permission! (This is not an uncommonly held view).

That said, the standard way to include media is with the <objectelement.

--
David Dorward <http://blog.dorward.me.uk/ <http://dorward.me.uk/>
Home is where the ~/.bashrc is


David Dorward wrote:

Ben wrote:

>How do I add sound so that it plays automatically when the page is
loaded?


Eugh. Nasty. Horrible. My speakers are my own, don''t touch them without
explicit permission! (This is not an uncommonly held view).

That said, the standard way to include media is with the <objectelement.

Agreed. If a website makes noise, I leave. It''s a little rule I have.
Goes double for sound/video ads. If you want readers, do not put this
crap on your site.

Jeremy


To further the education of mankind, "Ben" <sp******@hotmail.com>
vouchsafed:

How do I add sound so that it plays automatically when the page is
loaded?

I wonder how many people actually browse with their sound turned on?

--
Neredbojias
Infinity has its limits.


这篇关于声音和W3C的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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