Jump to content

Embedding .MPEG files on a webpage


Recommended Posts

u could use frames. so for example u create a frame which is the playlist and another frame where the .mpeg plays.

u just have to target the links to the videos in your playlist to the other frame.

 

the code to play the videos directly when loaded (no control panel):

<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95">
   <param name="type" value="video/x-ms-mpg">
   <param name="filename" value="video.mpg">
   <param name="autostart" value="1">
   <param name="showcontrols" value="0">
   <param name="showdisplay" value="0">
   <param name="showstatusBar" value="0">
   <param name="autosize" value="1">
</object>

Link to comment
Share on other sites

You can add the music as a link, which is probably what you want:

 

The music can be in a variety of formats, including mid (midi), wav, MP3, ram, ra, aiff, and so on), and it is solely up to the viewer whether they listen to it or not, as they browse your site. You can provide a simple text link to the file or create a coordinating image to take them there.

 

Example Text Link:

 

<A HREF="http://www.yourdomain.com/beautifulday.wav">
Listen to Music
</A>

 

Which would look like:

 

Listen to Music

 

Example Graphic Link::

 

<A HREF="http://www.yourdomain.com/floating.wav"> 
<img src="http://www.visionsofadonai.com/musicbutton.jpg" border=0>
</A>

 

This would ultimately look like this:

 

<img src="http://www.visionsofadonai.com/musicbutton.jpg" border=0 >

 

The drawback is you can't stop the music.

 

And how to put it in a playlist I have no idea. For that you need flash and flash is getting really popular with playing music. What I would do is to search how to make a mpeg playlist with flash.

 

Be sure to test it out on other browsers like Firefox and Opera. I've notice that some embed codes do no work on certain browsers.

 

And mushroomz is right.

 

For example with Microsoft Frontpage when you add layers, they look different in IE and Avant Browser then in Firefox and Netscape.

 

So you should pay attention to those things.

Link to comment
Share on other sites

Yes thats true, but flash is one of the biggest things out there. Almost ever body uses it, because almost every website uses it. But Dragonfire is still right. Some people may not have flash installed.

Link to comment
Share on other sites

Its the same case with java. Some systems that do not have java installed on their computers can not open java applications. However, many users do have flash as youtube also works on flash and so do many other anime and games websites.

Link to comment
Share on other sites

But don't you think it will be much easier for your visitor's that do not have flash player to run the .flv files if you convert it into a .mov or any other format which is common. But nowadays many people have flash player but the people who don't know much about computers wouldn't know how to make that video work.

Link to comment
Share on other sites

true but it would be useless to have a .mov file because the user can't interact with a .mov file...correct? hence taking out the purpose of having a playlist, unless you don't plan on having the user control the music...

 

but RK says he figured it out. so i guess its all good.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...