473,804 Members | 2,124 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Playing a local mpeg file from a local HTML file...

Hi guys,
I've got a problem... I'm developing a webpage on my computer and I
can't get the links to my MPEG movies to work. I want them to launch
in a Windows Media Player. This is my code...
<TD vAlign=top align=left><BR> <A HREF="view_file s/movie1.mpg"><*I MG
SRC="view_files/movie1_logo.jp* g" border="0"></A></TD>
I've checked code on other websites (running on webservers) and it's
the same. If I right click on the file and choose "save as" I can save
the file to another location on my hard drive so the link is true, but
when I click on the link Windows Media Player does not launch playing
the movie. Can someone give me some help with this.
Thanks in advance.
Lyndon.

Jul 25 '05 #1
1 1961
Fig
On Mon, 25 Jul 2005 02:02:56 +0100, Lyndon <ly************ @gmail.com>
wrote:
Hi guys,
I've got a problem... I'm developing a webpage on my computer and I
can't get the links to my MPEG movies to work. I want them to launch
in a Windows Media Player. This is my code...
<TD vAlign=top align=left><BR> <A HREF="view_file s/movie1.mpg"><*I MG
SRC="view_files/movie1_logo.jp* g" border="0"></A></TD>
I've checked code on other websites (running on webservers) and it's
the same. If I right click on the file and choose "save as" I can save
the file to another location on my hard drive so the link is true, but
when I click on the link Windows Media Player does not launch playing
the movie. Can someone give me some help with this.


Errrr, why is your mpeg within a <td> element? Is it tabular data? And why
are you putting style elements in your markup?
Anyway, the real answer lies within your browser and it's plug-ins. Your
tag-soup is (nearly) perfect.
Jul 25 '05 #2

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

Similar topics

1
2838
by: webstar | last post by:
hi, could you please tell me how to play a small wave file if a button is pressed. or if there is another format that is easer then use that instead of wave. thanks matt
3
9168
by: Vroem | last post by:
I wanted to show an MPEG-4 video file on a web page. I'm talking about a real iso-compliant file (with the .mp4 extension.) I've been searching on how to use mime-types but it turns out that you need to place a realvideo or quicktime file that links to the mpeg-4 file. But that's not what I want. MPEG-4 is supposed to be the standard format for video on internet (and also for other kinds of multimedia). So I want my MPEG-4 file showing...
0
1367
by: SiteTamer | last post by:
I have a script that redirects to a file for downloading. Everything works fine EXCEPT: if the target of the redirect is type video/mpeg (extension .mpeg or .mpg), instead of prompting for download or open, IE opens a new browser window and displays garbage. I've only been able to reproduce the behavior in IE 6 running on Windows XP Professional. Everything works fine in Win2k Pro and Win2K Server (only systems tested so far). For an...
7
7549
by: Kilian A. Foth | last post by:
I just found this amazing video puzzle game written with the pygame library, which promises to be infinite fun - but I can't get it to decode any video file I own, except the game's own example .mpg. All I have is lots and lots of useless .avi, .mp2, .wmv, and so on... Now, the pygame.Movie documentation says the Movie class can decode `MPEG movie files'. I know little about multimedia, but I thought divx/xvid video was a variant of...
1
2079
by: UJ | last post by:
I know this isn't the right place but I don't know where to ask it so here goes - what com/.net object would I use to play a .mpeg file? I don't want to use Window's media player because it has the control buttons on it. I just want to play a video and not let the user do anything to it. Once it's done, it's done. Thanks. Jeff.
1
3804
by: solomon_13000 | last post by:
How do I actually convert different video format (avi,mpeg,mp4, etc) file to a flash format and view it as flash? People would upload their video files on my server and my server will do the conversion automatically to flash format. When people preview the video files, they would see them in flash. I am interested to use visual c++ to do the conversion. How is it done? Your help is kindly appreciated. Regards
0
1454
by: collin | last post by:
Hello , Can someone please help me with the MCIsendString command I can play a mpeg video in a picture box , pause , stop it etc but I having a problem reading the status / position of this file that is playing. I want do something else as soon as the video has finished playing. TempErrror = mciSendString("status " + DeviceAlias + " position", ReturnString, 255, 0) ReturnString = "" I don't what I am doing wrong. Please help....
6
10053
by: Johnny J. | last post by:
Can anybody get me started on how to play an FLV file? Like you play e.g. mpeg files using the wmplayer control, I want a box on my form where the FLV is played and the playback is controlled byt the user. Cheers, Johnny J.
2
1843
by: AeonOfTime | last post by:
Hi everyone, I am working on a project where I have .wmv files stored outside of the server's www root, and want to serve them via a custom web interface. It's all on windows, and is only intended to work locally on the physical machine it runs on (don't ask, the customer is king...). Right now I have a working prototype in which I use a PHP script (called movie.php) to serve the target file. In the HTML page, I have
0
9715
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10600
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10352
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10354
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10097
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7642
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5673
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4313
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3835
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.