Web Development

General discussion


how to embed wmv video in web page

By PatriotPen ·
I have a wmv video that works well while I am previewing my website but will now work when my already published site is displayed and I click on the text link. I feel I need to embed the wmv file but do not know what to do to accomplish this....or do I need to convert to a wav. I noticed two wav files play perfect while viewing from the www. I would appreciate help

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

by p.j.hutchison In reply to how to embed wmv video in ...

Here's an example that uses WMP (see CLSID) to play a wmv file:

<title>Object Example</title>
<OBJECT ID="Player"
CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95 ">
<PARAM name="autoStart" value="True">
<PARAM name="fileName" value="intro.wmv">

Collapse -

a good way to embed video in web page

by panamadany In reply to how to embed wmv video in ...

I suggest you convert wmv to flash, then embed flash video in your web page.

Flash video formats(FLV/SWF) is the best choice to add video to a website, which lies in the following reasons:
1.Flash video is a container file format used to deliver video over the Internet. Its best quality and smallest file size make it easily be uploaded to website. The good examples are YouTube, Google Video, Yahoo video, Hulu, Myspace, Facebook, etc.

2. Flash Player can work on Windows, Linux and Mac OS (including Tiger, Snow leaplord) and is supported by more browsers (IE, Firefox, Safari, Opera, etc)than any other player. And you can customize your flash player with video to flash converter for mac. Your visitors don't need to download any player before watching your embedded videos.

3. Flash can automatically stream video. It takes up less spaces and bandwidth.

4. There are many wonderful flash creators to help you to make a amazing flash with customize flash player. One of them is Doremisoft video to flash converter for mac which can convert your any video format (mp4, 3gp, wmv, avi, mov, qt, mpg, mpeg, etc) to Flash FLV/SWF format and automatically embed them in an HTML web page, no need for any flash programming knowledge.

After create a Flash video in FLV/SWF format with video to flash converter for mac (See details: <a href=http://www.flashconverterformac.com/articles/how-to-convert-video-to-flv-swf-flash-animation-on-mac-osx/>Convert Video to SWF/FLV/Animation on Mac OSX</a>), how do you put it on your website correctly?

The remaining work is as easy as a piece of cake. When you finished the conversion, you will find four files(.flv, .swf, .html, .jpg) in your output folder. Upload FLV and SWF files to your server host. Open .html file with Dashcode and copy codes(from "<object classid>" to "</object>") to your website.

More details: http://www.flashconverterformac.com/articles/embed-flash-video-in-website/

Collapse -

Cross-browser object embedding

by voynex In reply to how to embed wmv video in ...

I would suggest to use a cross-browser JavaScript library Voynex Object Embedding ( http://voynex.com/products/object-embedding ) to easily embed windows media audio/video to your HTML documents. With the help of this library you can embed audio, video and other types of objects in one line of code.

Collapse -

Create Your Own Favorite Webpages

by merryflip In reply to how to embed wmv video in ...

Do you want to view your PDF-based website online easily?
try to use xFlip flip page creator (http://www.xflip.com) that can help you to create online flash magazine from PDF files, swf files, image files etc. with fast conversion speed and best output effect.

Related Discussions

Related Forums