Solved

.mov file not streaming, forces download instead

Posted on 2004-08-18
14
420 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
 

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
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Joomla Website Malfunction 9 86
Link to post behind image slider 1 49
How do disable only TLSv1.0 in Oracle Sun One 7.1 Server 9 69
Set cookies HttpOnly and Secure 4 108
Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
This video teaches users how to migrate an existing Wordpress website to a new domain.

919 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now