How to insert a video into a Web page (simple and practical)

Source: Internet
Author: User

Many people ask how to insert a video into a Web page and have a new label--video tag in HTML5, but the compatibility is not so good.

The following code can be used directly, the inside of a few paths to note.

<object classid= "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase= "http://download.macromedia.com/pub/ shockwave/cabs/flash/swflash.cab#version=7,0,19,0 "width=" "height=" 384 "><param name=" movie "Value= "http://xwzx.dzu.edu.cn/news/xuanchuan/fl.swf"/><param name= "quality" value= "High"/>< param name= "allowfullscreen" value= "true"/><param name= "Flashvars" value= "vcastr_file=/http/ Xwzx.dzu.edu.cn/news/xuanchuan/zwx.flv&logotext=dezhou university&buffertime=3"/><embed src=" http://xwzx.dzu.edu.cn/news/xuanchuan/fl.swf"allowfullscreen=" true "autostart=" true "flashvars=" vcastr_ file=Http://xwzx.dzu.edu.cn/news/xuanchuan/zwx.flv&LogoText=Dezhou university&isautoplay=1& buffertime=3"quality=" High "pluginspage=" Http://www.macromedia.com/go/getflashplayer "type=" application/ X-shockwave-flash "width=" height= "384" ></embed></object>

Take a look at some of the parameters inside.

Http://xwzx.dzu.edu.cn/news/xuanchuan/fl.swf This inside path is a file path that has to be

Http://xwzx.dzu.edu.cn/news/xuanchuan/zwx.flv&LogoText=Dezhou university&buffertime=3; This path is a path that you have customized, Note that absolute paths are used. and Logotext. The value behind is the text to be displayed on the page


Video Note format: FLV swf

How to insert a video into a Web page (simple and practical)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.