473,408 Members | 1,601 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

IE and AVI files / code.

Hello everyone,

A friend of mine asked me to insert an AVI file into a web page for him.
Using the <object> tag, I inserted the following code:

<p><object data="name-of-file.avi" type="application/avi" alt="The
Earth"></object></p>

This code validates. The video works in Opera (v. 8.51) and seems to work in
Firefox (it asked me to install a plug-in to make it work). However, it
won't work at all in Intenet Explorer.

So I used FrontPage's "WSYWYG" mode to insert it. It generated this code:

<p>
<img border="0" dynsrc="name-of-file.avi" start="fileopen" width="80"
height="48">
</p>

As you would guess, this worked in IE, but not in Firefox or Opera.

So...how to satisfy both? Obviously, the first bit of code is validated by
the W3C validator and it works in Opera and Firefox. What would be the best
way to make it work across all three platforms? Thanks in advance.

--
Viken K.
Feb 25 '06 #1
3 6472
"Viken Karaguesian" <vikenkNO_SPAM@NO_SPAMcomcast.net> wrote in message
news:yr********************@comcast.com...
Hello everyone,

A friend of mine asked me to insert an AVI file into a web page for him.
Using the <object> tag, I inserted the following code:

<p><object data="name-of-file.avi" type="application/avi" alt="The
Earth"></object></p>

This code validates. The video works in Opera (v. 8.51) and seems to work in Firefox (it asked me to install a plug-in to make it work). However, it
won't work at all in Intenet Explorer.

So I used FrontPage's "WSYWYG" mode to insert it. It generated this code:

<p>
<img border="0" dynsrc="name-of-file.avi" start="fileopen" width="80"
height="48">
</p>

As you would guess, this worked in IE, but not in Firefox or Opera.

So...how to satisfy both? Obviously, the first bit of code is validated by
the W3C validator and it works in Opera and Firefox. What would be the best way to make it work across all three platforms? Thanks in advance.

--
Viken K.


<embed src="PLANET.AVI" width="200" height="200">
Possibility of validation unknown.
IEDesigner
Feb 25 '06 #2
"Viken Karaguesian" <vikenkNO_SPAM@NO_SPAMcomcast.net> wrote:
A friend of mine asked me to insert an AVI file into a web page for him.
<a href="video.mpg">Appropriate link text</a>
Using the <object> tag
Embedding video is almost always a poor idea:
http://www.spartanicus.utvinternet.i...htm#audiovideo
<p><object data="name-of-file.avi" type="application/avi" alt="The
Earth"></object></p>

This code validates.
No it didn't, there is no alt attribute on the <object> element.
The video works in Opera (v. 8.51) and seems to work in
Firefox (it asked me to install a plug-in to make it work).


For some formats Firefox asks the user to install Quicktime when MS
media player is already installed and able to play the format.

--
Spartanicus
Feb 25 '06 #3
>><p><object data="name-of-file.avi" type="application/avi" alt="The
Earth"></object></p>

This code validates.


No it didn't, there is no alt attribute on the <object> element.


Oops....you're right. I copy/pasted the wrong code in here. I was working on
several variations and finally found one that validated, but I copied the
wrong one in here.

--
Viken K.
http://home.comcast.net/~vikenk
Feb 25 '06 #4

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

Similar topics

18
by: JKop | last post by:
Here's what I know so far: You have a C++ project. You have source files in it. When you go to compile it, first thing the preprocessor sticks the header files into each source file. So now...
16
by: matthurne | last post by:
I just started learning C++ on my own...I'm using Accelerated C++. Something it hasn't explained and I keep wondering about is how header files actually work. I suspect it doesn't get into it...
3
by: pooja | last post by:
Suppose i have created a class c1 with f1()in c1.cpp and included this c1.cpp in file1.cpp file , which is also having main() by giving the statement #include "c1.cpp". the same i can do by...
5
by: Brian | last post by:
I need to import data from 720 csv files into an Access database so I can do some editing prior to loading into a SQL Server. These files came from data output from a mainframe on a monthly basis....
8
by: RML | last post by:
hey guys, i am looking at this piece of code that lists numbers of files in a directory. i want to convert it so it lists the files in th directory that end with .doc. i cant seem to get it to...
6
by: Peter Row | last post by:
Hi, Can someone give me a set of steps for an ASP.NET project (well actually its just a VB.NET class DLL that implements HttpHandler) that will work when moved to another developers machine? ...
7
by: Alan Silver | last post by:
Hello, I am just looking at VWD and seeing what needs doing to take an existing site I've written by hand and importing it into VWD. I've already discovered that I need to rename my code-behind...
2
by: key9 | last post by:
Hi all look at the organize tree main.c ------ #include lib_adapter.c main() { foo();
7
by: jonathandrott | last post by:
sorry newbie question probably. i'm trying to open an specific folder. open each file with in the folder individually and process each one. all the processing code has been written. i'm looking...
221
Atli
by: Atli | last post by:
You may be wondering why you would want to put your files “into” the database, rather than just onto the file-system. Well, most of the time, you wouldn’t. In situations where your PHP application...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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,...
0
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...
0
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...
0
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...
0
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...

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.