Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need help with streaming video

Status
Not open for further replies.

bumpinsa

Technical User
Joined
Aug 26, 2001
Messages
2
Location
US
Ok, I would like to place streaming video on my webpage. Whenever the vewer goes into my photo gallery @ I would like them to hear a song. I know that by using the behaviors I can place a song in there, but then the viewer has to save it to a disk or open themselves. Can someone please help. Thanks.
 
Hi,
Are you wanting to place a video with audio into your sight or just audio that plays in the background?
 
Actually if you could help me on both would be nice.
 
Hello bumpinsa!

I never use sounds on my pages, but if you really need it I would recommend you to use Flash. It could be just small flash movie with size 2x2, so it won't be visible, but you may insert any sounds or music into this flash file. The benefit of it is that this sound will be played by flash player that is available for most browsers on most platforms unlike for example .wav files.

Good Luck!
 
maybe i am missing something but Window>Behaviours
then + play sound click on play file and navigate to sound file.

below is the code Ultradev generated when a plain html doc has this added to it.

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot;>
<script language=&quot;JavaScript&quot;>
<!--
function MM_controlSound(x, _sndObj, sndFile) { //v3.0
var i, method = &quot;&quot;, sndObj = eval(_sndObj);
if (sndObj != null) {
if (navigator.appName == 'Netscape') method = &quot;play&quot;;
else {
if (window.MM_WMP == null) {
window.MM_WMP = false;
for(i in sndObj) if (i == &quot;ActiveMovie&quot;) {
window.MM_WMP = true; break;
} }
if (window.MM_WMP) method = &quot;play&quot;;
else if (sndObj.FileName) method = &quot;run&quot;;
} }
if (method) eval(_sndObj+&quot;.&quot;+method+&quot;()&quot;);
else window.location = sndFile;
}
//-->
</script>
</head>

<body bgcolor=&quot;#FFFFFF&quot; onLoad=&quot;MM_controlSound('play','document.CS1000133026401','anysound.wav')&quot;>
<EMBED NAME='CS1000133026401' SRC='anysound.wav' LOOP=false
AUTOSTART=false MASTERSOUND HIDDEN=true WIDTH=0 HEIGHT=0>
</EMBED>
</body>
</html>


hope that helps I dont want to go to Chelsea!!!
 
Hi again,
If you desire to place video/audio in your web page there are several things to consider. Is your file quicktime, avi or asf? do you want it to download or stream. Will it be delivered from a web server or a media server. I'm not familiar with using Dreamweaver to do this. I have some experience with just handcoding the information in to the html document, but all these things I had to figure out before it worked. I encoded my video to a .asf file (advanced streaming format) and placed it on a web server. But the server had to be configured to stream that file. Acutally it did a progressive download. More information is needed for me to help you.
 
I dont know the answer to this but did you find the answer? I do use Flash for stuff like that but would also like to know the answer.
 
I am very new user to dreamweaver. I would like to upload a song onto my server and when someone presses the music button or .wav file it plays. If I also would like on my main page to have a streaming song play on the upload of my site. I have just recently found out it would be better to do this with flash due to the size. Thanks guys for all you help and suggestions.
 
The play sound behaviour is a waste of time.

Depending on the platform, and the software your itnended listener has, different things will happen. the soudn might play fine, or realplayer might open, or winamp might open...

Use flash or don't use sounds as all.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top