Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Play avi & sound files on my homepage

Posted on 1999-07-31
3
Medium Priority
?
204 Views
Last Modified: 2013-12-25
How could I play avi & sound files on my homepage, Also could I know how to hide sound and avi controls..Thanks for your great help
0
Comment
Question by:HESHAM
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Author Comment

by:HESHAM
ID: 1864581
Oh, I forgot guys that would be through Netscape Please
0
 
LVL 3

Accepted Solution

by:
messentary earned 200 total points
ID: 1864582
the best solution for both browsers is to use the <embed> tag.

For the avi move:

<embed src="movie.avi" height="50" width="50" autoplay="true" controller="true"></embed>
height and width are amndatory.  autoplay means the movie will start playing when the page loads (if set to true), and controller put a controller on the page for the user to stop the movie.

For sound (wav) files, use:

<embed src="sound.wav" controls="smallcoosole" height="15" width="144" loop="-1" autostart="true"></embed>

controls puts a console on the page for the user to stop the sound.( not mandatory) height and width size the console, (mandatory if you put a console on), loop controls how many times the wav will continuously play, (-1 is forever, or use any number), and autostart tells the page to start playing as soon as the page loads.  Note if you set austart to false, then add a hyperlink to start the wav, (<a href="sound.wav">) or add the console.
0
 
LVL 3

Expert Comment

by:messentary
ID: 1864583
smallcoosole should say smallconsole
0

Featured Post

Implementing Azure Infrastructure Exam 70-533

This course is designed to familiarize and instruct students in the content that is covered by Microsoft Exam 70-533, Implementing Microsoft Azure Solutions. It focuses on all the November 2016 objective domain topics.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

664 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question