I embed some videos at my site,the problem is the videos can't be played.and the image also didn't show up.what's the problem?please give me somes codes that can embed videos,thanks!

Recommended Answers

All 3 Replies

Well, please show the code, so we can help you to rectify the problem,

Rahul

this is the code I use:
<object align=middle classid=CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95 class=OBJECT id=MediaPlayer width=480 height=385 >
<param name=ShowStatusBar value=-1>
<param name=Filename value='a b.rm'>
<embed src="../a%20b.rm" width=468 height=350 align="middle" type=application/x-oleobject codebase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701 flename=mp></embed>
</object>
and why the image at my site also didn't show up?

Embed is deprecated, and works on very few browsers. It never had wide or uniform support.

use data=URL in the object tag instead.

You also won't see anything unless your ISP supports the type of video file you want to use.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.