Solved

.mov file not streaming, forces download instead

Posted on 2004-08-18
14
456 Views
Last Modified: 2008-03-06
I have a .mp4 file in the same directory as a simple access page (a .htm file) and the following code to reference the .mp4 file:

<embed src="http://www.celebrityattractions.com/video/Millie Stream.mp4" href="rtsp://www.celebrityattractions.com/video/millie stream.mp4" target="WindowsMediaPlayer"  width="490" height="549">

Instead of streaming the file it automatically downloads. It's such a hefty file that I can't have my dial-up users download it.

How can I get this .mp4 file to stream? I'm not running my own web server but I have confirmation from our host that the system is ready for me to upload streaming media.

Thanks
0
Comment
Question by:Randy Cole
[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
  • 8
  • 4
14 Comments
 

Expert Comment

by:MalteseDuck
ID: 11836240
Try something like this...

1) Create a file called something like 'millie.asx' and paste something like this in:

<asx version="3.0">
<entry>
<ref href = "mms://www.celebrityattractions.com/video/millie stream.mp4"/>
</entry>
</asx>

2) Upload it (in the same directory or wherever)

2) change your object embedding to this:

<embed src="millie.asx" href="millie.asx" target="WindowsMediaPlayer"  width="490" height="549">

This is the general idea, to create an .ASX file.  There is some more info at http://cita.rehab.uiuc.edu/mediaplayer/asx-overview.html
0
 
LVL 13

Expert Comment

by:davidlars99
ID: 11837958
mp4 must be imported like this (I don't think it's gonna play in all Windows Media Player):

<OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab" WIDTH="320" HEIGHT="256" > 
<PARAM NAME="src" VALUE="song.m4p" > 
<PARAM NAME="autoplay" VALUE="true" > 
<EMBED SRC="QTMimeType.pntg" TYPE="image/x-macpaint" PLUGINSPAGE="http://www.apple.com/quicktime/download" QTSRC="song.m4p" WIDTH="320" HEIGHT="256" AUTOPLAY="true" > 
</EMBED>
</OBJECT>

just copy and paste this code..

cheers!
 dave
0
 

Author Comment

by:Randy Cole
ID: 11841718
Thanks so far for pitching in, but I'm still running into the same trouble:

The .asx solution (MalteseDuck) didn't work, but that could be because Media Player doesn't recognize .MP4 files? I tried to open the .MP4 directly from medial player and it wasn't an option. SO - to see if the .asx solution works I'm resaving my video file as a standard MPEG.

The solution by davidlars99 does, indeed, play the video clip but it's not streaming. The entire file downloads first and then plays it.

Thanks so far, though, I appreciate your suggestions.
0
 Watch the Recording: Learning MySQL 5.7

MySQL 5.7 has a lot of new features. If you've dabbled with an older version of MySQL, it is definitely worth learning.

 

Author Comment

by:Randy Cole
ID: 11842037
This just in - I tried an AVI file with the .ASX solution and it still only pulls up Windows Media Player with its splash screen and that's it. It doesn't load anything and respond when I hit play or any control buttons on the player.
0
 
LVL 13

Expert Comment

by:davidlars99
ID: 11843138
remmember mp4 I think is Quick Time and can't be played on windows media
0
 
LVL 13

Expert Comment

by:davidlars99
ID: 11843258
<embed src="http://class.osu.edu/quicktime4_required.mov" qtsrc="rtsp://you_streaming_server/video.mp4" autoplay="true" controller="true" loop="false" pluginspage="http://www.apple.com/quicktime/download/"></embed>

see this line? qtsrc="rtsp://you_streaming_server/video.mp4" that what you should have...

cheers!
 dave
0
 
LVL 13

Expert Comment

by:davidlars99
ID: 11843566
If you working with audio/video you should get a nice reference book. there are two books which are best of best so far they were written 2 years ago by Mack Steve and still are the best, since nothing major changed in media technology during past 1-2 years this books are not outdated... I suggest you get both of them

http://www.amazon.com/exec/obidos/tg/detail/-/0764536508/qid=1092934359/sr=1-1/ref=sr_1_1/002-7457974-8278460?v=glance&s=books

http://www.powells.com/cgi-bin/biblio?inkey=4-0764536508-1

try it it's only couple bucks...

cheers!
 dave
0
 
LVL 13

Expert Comment

by:davidlars99
ID: 11931684
try

autostart="true" instead of autoplay

in both, I mean in <embed> and in <param>
0
 

Author Comment

by:Randy Cole
ID: 11932439
Davidlars99 -

Thanks for your tenacity. Sad to report the page is still forcing a full download of the clip before playing. Check it out, if you don't mind, and see if this happens when you open the page too. http://www.celebrityattractions.com/video/millieQT.htm.

Thanks again
0
 
LVL 13

Expert Comment

by:davidlars99
ID: 11933026
randini, in order to play audio/video files the way you say, it's called streaming which requiers streaming server
just google some keywords like

> windows streaming server
> apple streaming server
> linux streaming server
> mp3 streaming server is the best for linux

after this you should understand the basics of streaming audio/video

good luck


0
 
LVL 13

Expert Comment

by:davidlars99
ID: 12034341
once again, in order to achieve what you asking you need this
http://www.microsoft.com/windows/windowsmedia/9series/server/version.aspx
0
 

Author Comment

by:Randy Cole
ID: 12034801
davidlars99 -

Thanks for the update, I'm waiting on my hosting admin to get back to me. He tells me the issue may possibly require external tech supprt - he's not fully equipped with the knowledge to support this on his own yet as I am one of the few clients trying to stream on their servers. As soon as he gets back to me (he's been 'out' on this topic for about a week and a half) I'll be able to put your solutions to work.

I'm ready to award points and get this stuff off the ground and into the world of streaming.

Thanks so far ... I'll keep nagging him to get the external support and I'll also keep up with this question. It's too bad you're not our web host, you've showed much more attention than he has!
0
 
LVL 13

Accepted Solution

by:
davidlars99 earned 125 total points
ID: 12380160
I don't think there is any ather kind of answer then mine...
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
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…
This video teaches users how to migrate an existing Wordpress website to a new domain.
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.

630 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