How to insert video files in Dreamweaver

Source: Internet
Author: User

Dreamweaver itself does not support video insertion. To play a video, you can directly Insert the following code in the Code view of Dreamweaver:

1. avi format

<Object classid = CLSID: 22D6F312-B0F6-11D0-94AB-0080C74C7E95
Codebase = http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab
# Version = 5, 1, 52,701 height = 180 id = NSPlay type = application/x-oleobject width = 240
VIEWASTEXT standby = "load the Microsoft Windows Media Player component... ">
<Param name = "FileName" value = "">
<Param name = "AutoStart" value = "true">
<Param name = "AutoRewind" value = "-1">
<Param name = "AnimationAtStart" value = "false">
<Param name = "ShowControls" value = "false">
<Param name = "ClickToPlay" value = "false">
<Param name = "EnableContextMenu" value = "true">
<Param name = "EnablePositionControls" value = "false">
<Param name = "Balance" value = "0">
<Param name = "ShowStatusBar" value = "false">
<Param name = "AutoSize" value = "0">
<Embed type = "application/x-mplayer2"
Pluginspage = "http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer"
Filename src autostart = "false"
Enablecontextmenu = "false"
Clicktoplay = "false"
Enablepositioncontrols = "false"
Showcontrols = "0" showstatusbar = "1"
Showdisplay = "0" width = "240" height = "180">
</Embed>
</Object>

Or

<Object id = "video" width = "400" height = "200" border = "0"
Classid = "clsid: CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA">
<Param name = "ShowDisplay" value = "0">
<Param name = "ShowControls" value = "1">
<Param name = "AutoStart" value = "1">
<Param name = "AutoRewind" value = "0">
<Param name = "PlayCount" value = "0">
<Param name = "Appearance value =" 0 value = ">
<Param name = "BorderStyle value =" 0 value = ">
<Param name = "MovieWindowHeight" value = "240">
<Param name = "movie1_wwidth" value = "320">
<Param name = "FileName" value = "file: // D |/work/vod/Mbar. avi">
<Embed width = "400" height = "200" border = "0" showdisplay = "0" showcontrols = "1"

Autostart = "1" autorewind = "0" playcount = "0" moviewindowheight = "240" movie1_wwidth = "320"
Filename = "file: // D |/work/vod/Mbar. avi" src = "Mbar. avi">
</Embed>
</Object>

  • Three pages in total:
  • Previous Page
  • 1
  • 2
  • 3
  • Next Page

Related Article

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.