Hi! i write a program for javascript.if i click a button then song will play.but my output embed tag only display song doesn't play.This is my codefunction sre(){document.write('');}Help meThankyouBye..Sre

Showing Answers 1 - 2 of 2 Answers

rabbi

  • Jul 2nd, 2006
 

Hello Sredhar.r
The code u have tried to shown us has been interpreted by the browser......
Anyway firstly look at ur file supports by the browser
Vedio files are supported by the browsers are :
.avi
.wmv
.mpg or .mpeg
.mov
.swf

if then...
Videos can be played "inline" or by a "helper", depending on the HTML element you use.
You have to use helper Application
Helper applications can be launched using the element, the element, or the element.
One great advantage of using a helper application is that you can let some (or all) of the player settings be controlled by the user.
Most helper applications allow manual (or programmed) control over the volume settings and play functions like rewind, pause, stop and play.

  Was this answer useful?  Yes

rabbi

  • Jul 3rd, 2006
 

You can use Real Vedio Formats....
The RealVideo format is developed by Real Media. Videos stored in the Real Video format have the extension .rm or .ram.
The format allows streaming of video (on-line video, Internet TV) with low bandwidths. Because of the low bandwidth priority, quality is often reduced.
This is the code required to play a Real Video movie:

<object width="320" height="240"classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA"><param name="controls" value="ImageWindow" /><param name="autostart" value="true" /><param name="src" value="male.ram" /></object>

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions

 
 

 

It looks like you are using an AD Blocker!

 

 

Please Turn OFF your ad blocker

- OR -

LOGIN to continue using GeekInterview website.

 

 

 

Disable
Ad Blocker

 

Learn More

Login
GeekInterview

 

Login

Create your
GeekInterview account

 

Signup

Continue Reading after Disabling

 

Refresh