473,545 Members | 1,876 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to play dvd from web site

Hello,
How do I play a DVD from a website? I am starting with zero knowledge
of media but have HTML Experience.

I found out that Windows Media Player won't play the DVD. Do I suggest
everyone download Real Player for free? or can I put a realplayer plug
in on the server? Is it possible to check if they have DVD playing
software and use that. The below mentioned is all I have and of course
it is not working, that is why I am here.

This is in the Head:

function openPlayer()
{
WinMPlayer.URL= "Myplaylist.wpl "
}
</script>

This is in the body:
<OBJECT ID="WinMPlayer "
CLASSID="CLSID: 6BF52A52-394A-11d3-B153-00C04F79FAA6">
<PARAM name="autoStart " value="True">
</OBJECT>
<input type=button value="Play" onclick="openPl ayer()">

Thanks in advance.
idontknow

Jan 26 '06 #1
5 14450
Zif
mc************@ gmail.com wrote:
Hello,
How do I play a DVD from a website? I am starting with zero knowledge
of media but have HTML Experience.
A browser will only do something with content that it understands. If
it doesn't know what to do with content, it will either give an error,
download it and just leave it on your HDD or or do nothing.

There are two ways to play video in a browser:

1. provide a link to a file e.g. an mpg, mov, wmf or similar. If
the browser knows what to do with the file (either display it
itself or use a plugin) it will do it - otherwise, it will
probably just download the file to your HDD and let you deal
with it.

2. provide a link to a data stream. If the browser doesn't know
what to do with it, it will show an error and some default
"I can't show the content" image.

In both cases, the browser must understand the data format to know what
to do with it. You need an application that takes the data stream from
your DVD player and converts it to something that can be delivered to a
browser.

Which means that in order for people to watch your video content, you
must convert it to either a stand alone file that can be downloaded as
in 1. above, or a data stream (which will require a streaming server) as
in 2.

I found out that Windows Media Player won't play the DVD. Do I suggest
I don't think there are any DVD players that will stream DVD content
over the web. I'm pretty sure sharing commercial DVDs like that is not
permissible because it's in breach of copyright - and probably the DCMA
and a zillion anti-terrorism laws. :-)

everyone download Real Player for free?
That won't make any difference unless you intend serving .rm files (or
whatever Real use for file extensions lately).

or can I put a realplayer plug in on the server?
Yes, but is your content in the right format? Do you have permission to
stream it? Is it any better/cheaper than streaming servers that use WMF
or QuickTime formats?

Is it possible to check if they have DVD playing
software and use that.


It's possible to check, but it won't do you any good. DVD players
expect the DVD to be in a drive physically connected to the machine.

[...]

--
Zif
Jan 27 '06 #2
mc************@ gmail.com wrote:
How do I play a DVD from a website? I am starting with zero knowledge
of media but have HTML Experience.
You can't play a DVD, since a DVD is a physical disc that needs to be
played from a DVD drive. I'm going to assume you've ripped the video
off the DVD (and that you have permission to do so) and it is now saved
in some file format, suitable for distributing over the internet.
I found out that Windows Media Player won't play the DVD. Do I suggest
everyone download Real Player for free?
No, the best thing to do is publish the video in a widely supported
format, such as MPEG and include it like this.

<object type="video/mpeg" data="movie.mpg " height="360" width="640">
<p>Download <a href="movie.mpg ">Movie title</a>.</p>
</object>

Some browsers may not be able to play it within the browser window, but
the link will allow the user to download the video and watch it
or can I put a realplayer plug in on the server?
No, that's client side software, it can't be used from the server and
you should let the user use whatever video software they choose.
Is it possible to check if they have DVD playing
software and use that.


You don't need to. You just need to tell the browser what type of file
it is using the MIME type and let it launch the correct application for
the user. Don't write code to sniff for specific software, it's a waste
of time.

--
Lachlan Hunt
http://lachy.id.au/
http://GetFirefox.com/ Rediscover the Web
http://GetThunderbird.com/ Reclaim your Inbox
Jan 27 '06 #3

Lachlan Hunt wrote:
mc************@ gmail.com wrote:
How do I play a DVD from a website? I am starting with zero knowledge
of media but have HTML Experience.


You can't play a DVD, since a DVD is a physical disc that needs to be
played from a DVD drive. I'm going to assume you've ripped the video
off the DVD (and that you have permission to do so) and it is now saved
in some file format, suitable for distributing over the internet.
I found out that Windows Media Player won't play the DVD. Do I suggest
everyone download Real Player for free?


No, the best thing to do is publish the video in a widely supported
format, such as MPEG and include it like this.

<object type="video/mpeg" data="movie.mpg " height="360" width="640">
<p>Download <a href="movie.mpg ">Movie title</a>.</p>
</object>

Some browsers may not be able to play it within the browser window, but
the link will allow the user to download the video and watch it
or can I put a realplayer plug in on the server?


No, that's client side software, it can't be used from the server and
you should let the user use whatever video software they choose.
Is it possible to check if they have DVD playing
software and use that.


You don't need to. You just need to tell the browser what type of file
it is using the MIME type and let it launch the correct application for
the user. Don't write code to sniff for specific software, it's a waste
of time.

--
Lachlan Hunt
http://lachy.id.au/
http://GetFirefox.com/ Rediscover the Web
http://GetThunderbird.com/ Reclaim your Inbox


Jan 28 '06 #4
Thanks for the help!

Jan 31 '06 #5
Thanks for the help!

Jan 31 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

21
7285
by: Steve K | last post by:
Hi, I'm designing a website for the Cornell Undergraduate Business Program where the client wants faculty and student profiles to be interspersed throught the site. These profiles are contained in small boxes or tables with their bio or a statement from the student, etc., etc. The client wants an audio clip to play when the user clicks...
1
3251
by: Lord2702 | last post by:
I want to play a sound file, which is on my server, and approximately 5 - 7 MB it is .Wav file. or .mp3, I want to play this file so that user of my site can click on a link to play this file. Is it possible to play a sound file in .aspx page. If it is through webservice, that is also good. C# code please. Also, please let me know waht is...
3
1116
by: | last post by:
been racking my brain and msdn and google with no luck... how would i go about embedding a media clip and having it play instantly? i.e. no buffering/caching? i dont care if it buffers half way through, but i need the clip playing <1s after the link to the page is clicked. any help would be appreciated, im open to pretty much anything...
3
3288
by: illmagination | last post by:
Hi, I recently received a task to have a .wav file play only once when home page is 1st loaded and only play again when the user re-visits the page by opening a new browser. I am using asp.net 2.0 framework. Could someone please guide me? Thank you.
13
4855
by: anil.rita | last post by:
When the user chooses an AV file to play, based upon the type of file, I want to use the default installed media player to play it. I am wondering if this is a good way - any alternatives, suggestions or improvements? if( wmv file) document.write("<OBJECT id=Player classid=CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6 height="354"...
20
4231
by: mike | last post by:
I help manage a large web site, one that has over 600 html pages... It's a reference site for ham radio folks and as an example, one page indexes over 1.8 gb of on-line PDF documents. The site is structured as an upside-down tree, and (if I remember correctly) never more than 4 levels. The site basically grew (like the creeping black...
26
3861
by: Jake Barnes | last post by:
I did a search on the newsgroup comp.lang.javascript. I was searching for "how to play a sound with Javascript". I'm somewhat suprised that the majority of entries are from the 1990s, and there are almost no posts from the last 3 years: ...
0
7452
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7387
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7643
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7798
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
5956
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5316
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4938
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3441
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
688
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.