Gerry's profileEnd LessBlogLists Tools Help

Blog


    04/08/2005

    背景音乐

    点击<HTML>,进入HTML模式,将以下代码复制到<DIV>和</DIV>之间,将音乐、图片地址等改为希望用的地址就可以了。

    <IMG style="WIDTH: 宽度px; HEIGHT:高度px" loop=-1 dynsrc=“音乐地址” src="图片地址">

    此段语法中唯一需要你更改的就是Loop,它控制循环播放的次数,当为infinite时是无限循环,为0时是不循环,其他循环次数只需键入相应数字即可。

     

    说明:

    1、代码放在HTML编辑界面(进入HTML模式:点击<HTML>,如图)

    2、要使用真实地址,也就是说以mp3、wma、mid等为后缀的

    3、背景音乐只能用网络上的,你可以将音乐上传到其他空间来使用(免费的可上传音乐空间大家可以用搜索引擎找找看。其实除了自己录制的music,一般的音乐从网上找就可以了)。

    4、用百度搜索音乐比较方便,可以用百度的MP3搜索

        打开 , 输入要查找的音乐,搜索即可

        mp3、wma、mid等格式都可以,但rm和flash等不行

        在音乐链接上点右键-->属性,就可以看到音乐的地址,复制下来就可以啦。

    5、建议在最上端的日志中放置音乐(代码所在位置在页面上显示后才开始播放)

    6、不能播放的原因还有链接失效、错删了空格等。

    7、使dynsrc=“视频地址”可以播放视频,最好调整高度宽度与视频大小相同,在视频文件下载完成之前,会显示src=“图片地址”这个图片。

    8、也可以先贴图再加入dynsrc=“音乐地址”

    9、用IE编辑时双击图片即恢复原来的大小。当然,通过右键菜单中也可以。

     

    P.S:不过个人更喜欢使用更简单的语法

    (<P><IMG height=0 loop=infinite dynsrc=音频文件链接地址 width=0 border=0></P>)

    另外,推荐使用wma格式的文件,这样在保持音质相同的情况下文件大小只有MP3的一半,加快载入的速度。

    Comments (4)

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    Picture of Anonymous
    莎费苦心 wrote:
    THANK YOU 啦!!!
    15 Jan.
    Picture of Anonymous
    sky-无崖 wrote:
    谢谢啊,顺便说一下我是第006666位访问者!
    10 Sept.
    Picture of Anonymous
    手心朝上 wrote:
    嘿嘿,谢谢你:)交个朋友~~我是布点~
    8 Aug.
    Picture of Anonymous
    手心朝上 wrote:
    你好,我是新手,请多多指教一下下~

    是说,比如我打算放一首叫 心云 的歌曲

    第一步,是说我先 在BAIDU找到它,比如地址是WWW.BIANDAO.COM
    第二步,我就把你说的这个贴上去么,IMG style="WIDTH: 宽度px; HEIGHT:高度px" loop=-1 dynsrc=WWW.BIANDAO.COM

    我比较笨啦,还有,就是,我把背景音乐放在哪里合适?当天的网络日值?

    不点求助 多榭多谢~
    8 Aug.

    Trackbacks

    The trackback URL for this entry is:
    http://gongzhe.spaces.live.com/blog/cns!EF5DDC0695041D80!551.trak
    Weblogs that reference this entry
    • None