I've been through the flash ordeal with no success and have always played an
AVI video on my site without a problem -- it's a long (120mb) file.
Now, I'm trying to get the video to play again, tried a few things that didn't work --
Just put a link to the file and got an error about "requested resource" blah blah
Went to the Divx site and tried their player with no luck.
What is an easy way to play a daggone AVI file? I just want media player to come up and play it.
THANKS
Playing AVI video
Mike,
If the site visitor has media player installed, and they are using Internet Explorer, you can use code like this:
<OBJECT id="VIDEO" width="320" height="240"
style="position:absolute; left:0;top:0;"
CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
type="application/x-oleobject">
<PARAM NAME="URL" VALUE="your file or url">
<PARAM NAME="SendPlayStateChangeEvents" VALUE="True">
<PARAM NAME="AutoStart" VALUE="True">
<PARAM name="uiMode" value="none">
<PARAM name="PlayCount" value="9999">
</OBJECT>
I believe that Firefox visitors will need to have a plugin for this to work.
It might be better to have a video player on your site, but then you will likely need to convert from avi to flv.
If the site visitor has media player installed, and they are using Internet Explorer, you can use code like this:
<OBJECT id="VIDEO" width="320" height="240"
style="position:absolute; left:0;top:0;"
CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
type="application/x-oleobject">
<PARAM NAME="URL" VALUE="your file or url">
<PARAM NAME="SendPlayStateChangeEvents" VALUE="True">
<PARAM NAME="AutoStart" VALUE="True">
<PARAM name="uiMode" value="none">
<PARAM name="PlayCount" value="9999">
</OBJECT>
I believe that Firefox visitors will need to have a plugin for this to work.
It might be better to have a video player on your site, but then you will likely need to convert from avi to flv.
I would chat to your hosting company. Im guessing a couple of possibilities.
1) They are not keen on you streaming this size of file (on a lot of shared hosting, there are limits as to what you can do)
2) Their environment has changed.
3) Your computer is screwy (has users reported their is an issue?)
A way round the first two is to get someone else to host your files (google sites etc..), this way your not taking the bandwidth hit yourself.
Also there are a couple of other solutions including java and falsh media players which may get round your issue (they only require flash or java to be installed)
Hope it works out.
1) They are not keen on you streaming this size of file (on a lot of shared hosting, there are limits as to what you can do)
2) Their environment has changed.
3) Your computer is screwy (has users reported their is an issue?)
A way round the first two is to get someone else to host your files (google sites etc..), this way your not taking the bandwidth hit yourself.
Also there are a couple of other solutions including java and falsh media players which may get round your issue (they only require flash or java to be installed)
Hope it works out.
Thanks -- the problem was because I HAD TO EDIT THE HT.ACCESS FILE !
(Like I should have to do that)
Something about apache security which I'm going to post separately.
(Like I should have to do that)
Something about apache security which I'm going to post separately.
Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.