zoukankan      html  css  js  c++  java
  • 嵌入多媒体文本

     嵌入多媒体文本(EMBED)

    基本语法 <embed src=#> #=URL

    本标记可以用来在主页中嵌入多媒体文本,如:
    电影(movie), 声音(sound), 虚拟现实语言(vrml)... ...
    体会 <embed> 标记,您需要把 plugin 安装完备。
    请注意:embed attributes are different between each plugins.

    
    

    <bgsound src=#> #=WAV 文件的 URL
    <bgsound loop=#> #=循环数

    <bgsound src="sound.wav" loop=3>
    

    示例

    
    
    

     插入视频剪辑

    <img src="url.gif" dynsrc="url.avi">

    用 url.avi 这一 AVI(Video for MS-WINDOWS) 文件来播放视频;
    用 url.gif 这一 GIF 图象作为视频的封面,即:在浏览器
    尚未完全读入 AVI 文件时,先在 AVI 播放区域显示该图象。

    <img src="SAMPLE-S.GIF" dynsrc="SAMPLE-S.AVI">
    
    
    
    

    何时开始播放 AVI <img start=#> #=fileopen, mouseover

    缺省值是 #=fileopen,即在链接到含本标记的页面(如本页)时开始播放 AVI。

    mouseover 是指您把鼠标移到 AVI 播放区域之上时才开始播放 AVI。

    也可以两者同时设置:<img start=fileopen,mouseover>

    另外,用鼠标在 AVI 播放区域点击一下,也将令浏览器开始播放该 AVI。

    <img src="SAMPLE-S.GIF" dynsrc="SAMPLE-S.AVI" start=mouseover>
    
    
    
    

    控制条 <img controls>

    用来在视频窗口下附加 MS-WINDOWS 的 AVI 播放控制条。

    <img src="SAMPLE-S.GIF" dynsrc="SAMPLE-S.AVI" controls>
    
    
    
    

    循环播放 <img loop=#>

    <loop=infinite> 将循环播放不止。

    <img src="SAMPLE-S.GIF" dynsrc="SAMPLE-S.AVI" loop=3>
    
    
    
    

    延时 <img loopdelay=#> #=毫秒数

    <img src="SAMPLE-S.GIF" dynsrc="SAMPLE-S.AVI" 
     loop=3 loopdelay=250>
    
  • 相关阅读:
    scala中的注解
    scala中的表达式
    scala中枚举
    spark sql建表的异常
    hive和sequoiadb对接的问题
    java IO的总结
    Spark的序列化
    pentaho和spark-sql对接
    英语口语练习系列-C28-海滨-辨别身份-悬崖边的树
    2018-12-4-今日总结
  • 原文地址:https://www.cnblogs.com/aimyfly/p/2355793.html
Copyright © 2011-2022 走看看