Solved

.mov file not streaming, forces download instead

Posted on 2004-08-18
14
429 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
  • 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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

809 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