PC Review


Reply
Thread Tools Rate Thread

Details of <object> tags for embedding Video and Audio

 
 
Trevor L.
Guest
Posts: n/a
 
      24th Nov 2005
Hi all,
I don't know whether this is strictly an FP question but I have read advice
from Nicholas Savalas which indicates he may be able to help

I have been able to embed a video file with this code:
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
width="320" height="250"
codebase="http://www.apple.com/qtactivex/qtplugin.cab">
<param name="src" value="images/carole-and-tammy.mov"/>
<param name="autoplay" value="true"/>
<param name="controller" value="false"/>
</object>
This works O.K. when used on my local disk-based web (i.e. on my own PC). On
the web, it prompts for a download and then halts, so it is not successful.
The good thing is that it validates as valid XHTML1.0.

My first question, one I have asked many times without success, is:
How do I stream the video so that it part downloads, then plays as the rest
is downloading.
(My guess is that this probably can't happen on my server)

But of more importance, what do I use for audio?
I currently have this code:
<span id="sound"></span>
<input type="button" value="Play/Stop Music" onclick="playSound()"/>
function playSound()
{ var x = document.getElementById("sound")
x.innerHTML = (!x.innerHTML ) ? '<embed src="minuet.wav" loop=false
autostart=true hidden>' : '' }

This works O.K. but <embed> is not valid XHTML, so what parameters do I use
in the object statement?
(Of course the <embed> statement is hidden from the validator, so maybe it
doesn't matter all that much.

--
Cheers,
Trevor L.
Website: http://tandcl.homemail.com.au


 
Reply With Quote
 
 
 
 
Trevor L.
Guest
Posts: n/a
 
      24th Nov 2005
Trevor L. wrote:
> Hi all,
> I don't know whether this is strictly an FP question but I have read
> advice from Nicholas Savalas which indicates he may be able to help
>
> I have been able to embed a video file with this code:
> <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
> width="320" height="250"
> codebase="http://www.apple.com/qtactivex/qtplugin.cab">
> <param name="src" value="images/carole-and-tammy.mov"/>
> <param name="autoplay" value="true"/>
> <param name="controller" value="false"/>
> </object>
> This works O.K. when used on my local disk-based web (i.e. on my own
> PC). On the web, it prompts for a download and then halts, so it is
> not successful. The good thing is that it validates as valid XHTML1.0.
>
> My first question, one I have asked many times without success, is:
> How do I stream the video so that it part downloads, then plays as
> the rest is downloading.
> (My guess is that this probably can't happen on my server)
>
> But of more importance, what do I use for audio?
> I currently have this code:
> <span id="sound"></span>
> <input type="button" value="Play/Stop Music"
> onclick="playSound()"/> function playSound()
> { var x = document.getElementById("sound")
> x.innerHTML = (!x.innerHTML ) ? '<embed src="minuet.wav" loop=false
> autostart=true hidden>' : '' }
>
> This works O.K. but <embed> is not valid XHTML, so what parameters do
> I use in the object statement?
> (Of course the <embed> statement is hidden from the validator, so
> maybe it doesn't matter all that much.
>
> --
> Cheers,
> Trevor L.
> Website: http://tandcl.homemail.com.au


P.S. The audio doesn't play on the web either

--
Cheers,
Trevor L.
Website: http://tandcl.homemail.com.au


 
Reply With Quote
 
=?Utf-8?B?U2hlbGxl?=
Guest
Posts: n/a
 
      24th Nov 2005
I used an FTP program & uploaded my audio file to my site folder & then
hyperlinked to this file from within one of my pages in Front Page - the
audio opens in windows media player (or the users default player) and plays
fine on the web.

This may not be the correct way but it works for me

Shelle

"Trevor L." wrote:

> Trevor L. wrote:
> > Hi all,
> > I don't know whether this is strictly an FP question but I have read
> > advice from Nicholas Savalas which indicates he may be able to help
> >
> > I have been able to embed a video file with this code:
> > <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
> > width="320" height="250"
> > codebase="http://www.apple.com/qtactivex/qtplugin.cab">
> > <param name="src" value="images/carole-and-tammy.mov"/>
> > <param name="autoplay" value="true"/>
> > <param name="controller" value="false"/>
> > </object>
> > This works O.K. when used on my local disk-based web (i.e. on my own
> > PC). On the web, it prompts for a download and then halts, so it is
> > not successful. The good thing is that it validates as valid XHTML1.0.
> >
> > My first question, one I have asked many times without success, is:
> > How do I stream the video so that it part downloads, then plays as
> > the rest is downloading.
> > (My guess is that this probably can't happen on my server)
> >
> > But of more importance, what do I use for audio?
> > I currently have this code:
> > <span id="sound"></span>
> > <input type="button" value="Play/Stop

Music"
> > onclick="playSound()"/> function playSound()
> > { var x = document.getElementById("sound")
> > x.innerHTML = (!x.innerHTML ) ? '<embed src="minuet.wav" loop=false
> > autostart=true hidden>' : '' }
> >
> > This works O.K. but <embed> is not valid XHTML, so what parameters do
> > I use in the object statement?
> > (Of course the <embed> statement is hidden from the validator, so
> > maybe it doesn't matter all that much.
> >
> > --
> > Cheers,
> > Trevor L.
> > Website: http://tandcl.homemail.com.au

>
> P.S. The audio doesn't play on the web either
>
> --
> Cheers,
> Trevor L.
> Website: http://tandcl.homemail.com.au
>
>
>

 
Reply With Quote
 
Trevor L.
Guest
Posts: n/a
 
      25th Nov 2005
Shelle,

I found that my code which calls JS to open the file actually works after a
minute or so delay.

This is very annoying . Does anyone know why? The audiio file (.wav) is
6MB - maybe this has something to do with it ;-))

--
Cheers,
Trevor L.
Website: http://tandcl.homemail.com.au

Shelle wrote:
> I used an FTP program & uploaded my audio file to my site folder &
> then hyperlinked to this file from within one of my pages in Front
> Page - the audio opens in windows media player (or the users default
> player) and plays fine on the web.
>
> This may not be the correct way but it works for me
>
> Shelle
>
>> "Trevor L." wrote:
>> But of more importance, what do I use for audio?
>> I currently have this code:
>> <span id="sound"></span>
>> <input type="button" value="Play/Stop
>> Music"
>> onclick="playSound()"/> function playSound()
>> { var x = document.getElementById("sound")
>> x.innerHTML = (!x.innerHTML ) ? '<embed src="mi
>> autostart=true hidden>' : '' }
>>
>> This works O.K. but <embed> is not valid XHTML,
>> do I use in the object statement?
>> (Of course the <embed> statement is hidden from
>> maybe it doesn't matter all that much.
>>
>>
>> P.S. The audio doesn't play on the web either



 
Reply With Quote
 
=?Utf-8?B?Qm9hdFBlcnNvbg==?=
Guest
Posts: n/a
 
      26th Nov 2005
Trevor

I'm new to FP, but I have fooled around a bit with audio/video files -- the
key here is to keep the size as small as possible, so users won't bail out
prematurely on you.

Most times with audio files you can barely tell the difference between the
smallest and the largest, i.e., those with the most and the least compression
-- here are three examples ranging from 1.2mb to 8.5mb in size... see if you
can tell which one is the least compressed:

http://home.comcast.net/~celticcladd...estorage/Click wav.wav
http://home.comcast.net/~celticcladd...estorage/Click mp3.mp3
http://home.comcast.net/~celticcladd...estorage/Click wma.wma

Hope this helps.

Harry

--
"A boat is a hole in the water into which you throw money"


"Trevor L." wrote:

> Shelle,
>
> I found that my code which calls JS to open the file actually works after a
> minute or so delay.
>
> This is very annoying . Does anyone know why? The audiio file (.wav) is
> 6MB - maybe this has something to do with it ;-))
>
> --
> Cheers,
> Trevor L.
> Website: http://tandcl.homemail.com.au
>
> Shelle wrote:
> > I used an FTP program & uploaded my audio file to my site folder &
> > then hyperlinked to this file from within one of my pages in Front
> > Page - the audio opens in windows media player (or the users default
> > player) and plays fine on the web.
> >
> > This may not be the correct way but it works for me
> >
> > Shelle
> >
> >> "Trevor L." wrote:
> >> But of more importance, what do I use for audio?
> >> I currently have this code:
> >> <span id="sound"></span>
> >> <input type="button" value="Play/Stop
> >> Music"
> >> onclick="playSound()"/> function playSound()
> >> { var x = document.getElementById("sound")
> >> x.innerHTML = (!x.innerHTML ) ? '<embed src="mi
> >> autostart=true hidden>' : '' }
> >>
> >> This works O.K. but <embed> is not valid XHTML,
> >> do I use in the object statement?
> >> (Of course the <embed> statement is hidden from
> >> maybe it doesn't matter all that much.
> >>
> >>
> >> P.S. The audio doesn't play on the web either

>
>
>

 
Reply With Quote
 
=?Utf-8?B?Qm9hdFBlcnNvbg==?=
Guest
Posts: n/a
 
      26th Nov 2005
Trevor

fyi: This seems to work OK for me... just right-click to view source code
(btw: sorry for the blanks in my previous links, just scoop and paste each
whole string):

http://home.comcast.net/~brittani_morgan/test_video.htm

Size is even more of an issue with video stuff than with audio stuff... with
a subtle and somewhat nasty twist. That is, apart from it "just" potentially
consuming huge amounts of storage space, it can do so with DECLINING
quality... in exchange for LOTS of wasted hours of time -- trust me on this.

The message here is that the quality of your output will never exceed that
of your input, so, in otherwords, while I did INPUT the above 30sec of
TV/VCR/VHS video as an "avi" file (just to preserve the little quality there
was while getting it into my PC), I would be a fool -- storage-space-wise --
to OUTPUT/render it as anything but the lowest quality available -- else,
GIGO; lipstick on a pig; etc.

Sorry for lecturing -- good luck.

Harry
--
"A boat is a hole in the water into which you throw money"


"Trevor L." wrote:

> Hi all,
> I don't know whether this is strictly an FP question but I have read advice
> from Nicholas Savalas which indicates he may be able to help
>
> I have been able to embed a video file with this code:
> <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
> width="320" height="250"
> codebase="http://www.apple.com/qtactivex/qtplugin.cab">
> <param name="src" value="images/carole-and-tammy.mov"/>
> <param name="autoplay" value="true"/>
> <param name="controller" value="false"/>
> </object>
> This works O.K. when used on my local disk-based web (i.e. on my own PC). On
> the web, it prompts for a download and then halts, so it is not successful.
> The good thing is that it validates as valid XHTML1.0.
>
> My first question, one I have asked many times without success, is:
> How do I stream the video so that it part downloads, then plays as the rest
> is downloading.
> (My guess is that this probably can't happen on my server)
>
> But of more importance, what do I use for audio?
> I currently have this code:
> <span id="sound"></span>
> <input type="button" value="Play/Stop

Music" onclick="playSound()"/>
> function playSound()
> { var x = document.getElementById("sound")
> x.innerHTML = (!x.innerHTML ) ? '<embed src="minuet.wav" loop=false
> autostart=true hidden>' : '' }
>
> This works O.K. but <embed> is not valid XHTML, so what parameters do I use
> in the object statement?
> (Of course the <embed> statement is hidden from the validator, so maybe it
> doesn't matter all that much.
>
> --
> Cheers,
> Trevor L.
> Website: http://tandcl.homemail.com.au
>
>
>

 
Reply With Quote
 
Trevor L.
Guest
Posts: n/a
 
      27th Nov 2005
Harry,

This is great in that it comes through as a video, although very slowly and
with no sound that I can hear (on full volume with my speakers). But at
least it comes through :-))

What about audio?
What are the parmaters for the <object> statement?
--
Cheers,
Trevor L.
Website: http://tandcl.homemail.com.au

BoatPerson wrote:
> Trevor
>
> fyi: This seems to work OK for me... just right-click to view source
> code (btw: sorry for the blanks in my previous links, just scoop and
> paste each whole string):
>
> http://home.comcast.net/~brittani_morgan/test_video.htm
>
> Size is even more of an issue with video stuff than with audio
> stuff... with a subtle and somewhat nasty twist. That is, apart from
> it "just" potentially consuming huge amounts of storage space, it can
> do so with DECLINING quality... in exchange for LOTS of wasted hours
> of time -- trust me on this.
>
> The message here is that the quality of your output will never exceed
> that of your input, so, in otherwords, while I did INPUT the above
> 30sec of TV/VCR/VHS video as an "avi" file (just to preserve the
> little quality there was while getting it into my PC), I would be a
> fool -- storage-space-wise -- to OUTPUT/render it as anything but the
> lowest quality available -- else, GIGO; lipstick on a pig; etc.
>
> Sorry for lecturing -- good luck.
>
> Harry
> --
> "A boat is a hole in the water into which you throw money"
>
>
> "Trevor L." wrote:
>
>> Hi all,
>> I don't know whether this is strictly an FP question but I have read
>> advice from Nicholas Savalas which indicates he may be able to help
>>
>> I have been able to embed a video file with this code:
>> <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
>> width="320" height="250"
>> codebase="http://www.apple.com/qtactivex/qtplugin.cab">
>> <param name="src" value="images/carole-and-tammy.mov"/>
>> <param name="autoplay" value="true"/>
>> <param name="controller" value="false"/>
>> </object>
>> This works O.K. when used on my local disk-based web (i.e. on my own
>> PC). On the web, it prompts for a download and then halts, so it is
>> not successful. The good thing is that it validates as valid
>> XHTML1.0.
>>
>> My first question, one I have asked many times without success, is:
>> How do I stream the video so that it part downloads, then plays as
>> the rest is downloading.
>> (My guess is that this probably can't happen on my server)
>>
>> But of more importance, what do I use for audio?
>> I currently have this code:
>> <span id="sound"></span>
>> <input type="button" value="Play/Stop

> Music" onclick="playSound()"/>
>> function playSound()
>> { var x = document.getElementById("sound")
>> x.innerHTML = (!x.innerHTML ) ? '<embed src="minuet.wav" loop=false
>> autostart=true hidden>' : '' }
>>
>> This works O.K. but <embed> is not valid XHTML, so what parameters
>> do I use in the object statement?
>> (Of course the <embed> statement is hidden from the validator, so
>> maybe it doesn't matter all that much.
>>
>> --
>> Cheers,
>> Trevor L.
>> Website: http://tandcl.homemail.com.au



 
Reply With Quote
 
=?Utf-8?B?Qm9hdFBlcnNvbg==?=
Guest
Posts: n/a
 
      27th Nov 2005
Trevor

Try this again:

http://home.comcast.net/~brittani_morgan/test_video.htm

I modified it to show the controls and on my end it looks like the volume is
set at about 50%) -- try adjusting it to the max and see what happens.
Meanwhile I'll scratch around and see if I can come up with a parm for the
audiolevel setting in this code.

btw: at the moment I'm using Comcast's Cable Modem for internet access -- we
get pretty snappy response times both down and up (2+mbps), so I don't notice
much of a delay... part of your problem might be your access speed -- I'm
guessing that you use somekind of DSL. If you want to send me a link of
something you've got up on your server, I'll let you know how it performs via
my access method.

Harry
--
"A boat is a hole in the water into which you throw money"


"Trevor L." wrote:

> Harry,
>
> This is great in that it comes through as a video, although very slowly and
> with no sound that I can hear (on full volume with my speakers). But at
> least it comes through :-))
>
> What about audio?
> What are the parmaters for the <object> statement?
> --
> Cheers,
> Trevor L.
> Website: http://tandcl.homemail.com.au
>
> BoatPerson wrote:
> > Trevor
> >
> > fyi: This seems to work OK for me... just right-click to view source
> > code (btw: sorry for the blanks in my previous links, just scoop and
> > paste each whole string):
> >
> > http://home.comcast.net/~brittani_morgan/test_video.htm
> >
> > Size is even more of an issue with video stuff than with audio
> > stuff... with a subtle and somewhat nasty twist. That is, apart from
> > it "just" potentially consuming huge amounts of storage space, it can
> > do so with DECLINING quality... in exchange for LOTS of wasted hours
> > of time -- trust me on this.
> >
> > The message here is that the quality of your output will never exceed
> > that of your input, so, in otherwords, while I did INPUT the above
> > 30sec of TV/VCR/VHS video as an "avi" file (just to preserve the
> > little quality there was while getting it into my PC), I would be a
> > fool -- storage-space-wise -- to OUTPUT/render it as anything but the
> > lowest quality available -- else, GIGO; lipstick on a pig; etc.
> >
> > Sorry for lecturing -- good luck.
> >
> > Harry
> > --
> > "A boat is a hole in the water into which you throw money"
> >
> >
> > "Trevor L." wrote:
> >
> >> Hi all,
> >> I don't know whether this is strictly an FP question but I have read
> >> advice from Nicholas Savalas which indicates he may be able to help
> >>
> >> I have been able to embed a video file with this code:
> >> <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
> >> width="320" height="250"
> >> codebase="http://www.apple.com/qtactivex/qtplugin.cab">
> >> <param name="src" value="images/carole-and-tammy.mov"/>
> >> <param name="autoplay" value="true"/>
> >> <param name="controller" value="false"/>
> >> </object>
> >> This works O.K. when used on my local disk-based web (i.e. on my own
> >> PC). On the web, it prompts for a download and then halts, so it is
> >> not successful. The good thing is that it validates as valid
> >> XHTML1.0.
> >>
> >> My first question, one I have asked many times without success, is:
> >> How do I stream the video so that it part downloads, then plays as
> >> the rest is downloading.
> >> (My guess is that this probably can't happen on my server)
> >>
> >> But of more importance, what do I use for audio?
> >> I currently have this code:
> >> <span id="sound"></span>
> >> <input type="button" value="Play/Stop

> > Music" onclick="playSound()"/>
> >> function playSound()
> >> { var x = document.getElementById("sound")
> >> x.innerHTML = (!x.innerHTML ) ? '<embed src="minuet.wav" loop=false
> >> autostart=true hidden>' : '' }
> >>
> >> This works O.K. but <embed> is not valid XHTML, so what parameters
> >> do I use in the object statement?
> >> (Of course the <embed> statement is hidden from the validator, so
> >> maybe it doesn't matter all that much.
> >>
> >> --
> >> Cheers,
> >> Trevor L.
> >> Website: http://tandcl.homemail.com.au

>
>
>

 
Reply With Quote
 
=?Utf-8?B?Qm9hdFBlcnNvbg==?=
Guest
Posts: n/a
 
      27th Nov 2005
Trevor

I'm getting confused... I found this chunk of code with lots of parms, but
the "volume" parm does not seem to be recognized within my code fragment...
so I just tried using the code fragment on this website with the volume parm
set to max (100), and it does seem to be louder. Here you go...

http://www.mioplanet.com/rsc/embed_mediaplayer.htm

http://home.comcast.net/~brittani_mo...est_video2.htm

Harry
--
"A boat is a hole in the water into which you throw money"


"Trevor L." wrote:

> Harry,
>
> This is great in that it comes through as a video, although very slowly and
> with no sound that I can hear (on full volume with my speakers). But at
> least it comes through :-))
>
> What about audio?
> What are the parmaters for the <object> statement?
> --
> Cheers,
> Trevor L.
> Website: http://tandcl.homemail.com.au
>
> BoatPerson wrote:
> > Trevor
> >
> > fyi: This seems to work OK for me... just right-click to view source
> > code (btw: sorry for the blanks in my previous links, just scoop and
> > paste each whole string):
> >
> > http://home.comcast.net/~brittani_morgan/test_video.htm
> >
> > Size is even more of an issue with video stuff than with audio
> > stuff... with a subtle and somewhat nasty twist. That is, apart from
> > it "just" potentially consuming huge amounts of storage space, it can
> > do so with DECLINING quality... in exchange for LOTS of wasted hours
> > of time -- trust me on this.
> >
> > The message here is that the quality of your output will never exceed
> > that of your input, so, in otherwords, while I did INPUT the above
> > 30sec of TV/VCR/VHS video as an "avi" file (just to preserve the
> > little quality there was while getting it into my PC), I would be a
> > fool -- storage-space-wise -- to OUTPUT/render it as anything but the
> > lowest quality available -- else, GIGO; lipstick on a pig; etc.
> >
> > Sorry for lecturing -- good luck.
> >
> > Harry
> > --
> > "A boat is a hole in the water into which you throw money"
> >
> >
> > "Trevor L." wrote:
> >
> >> Hi all,
> >> I don't know whether this is strictly an FP question but I have read
> >> advice from Nicholas Savalas which indicates he may be able to help
> >>
> >> I have been able to embed a video file with this code:
> >> <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
> >> width="320" height="250"
> >> codebase="http://www.apple.com/qtactivex/qtplugin.cab">
> >> <param name="src" value="images/carole-and-tammy.mov"/>
> >> <param name="autoplay" value="true"/>
> >> <param name="controller" value="false"/>
> >> </object>
> >> This works O.K. when used on my local disk-based web (i.e. on my own
> >> PC). On the web, it prompts for a download and then halts, so it is
> >> not successful. The good thing is that it validates as valid
> >> XHTML1.0.
> >>
> >> My first question, one I have asked many times without success, is:
> >> How do I stream the video so that it part downloads, then plays as
> >> the rest is downloading.
> >> (My guess is that this probably can't happen on my server)
> >>
> >> But of more importance, what do I use for audio?
> >> I currently have this code:
> >> <span id="sound"></span>
> >> <input type="button" value="Play/Stop

> > Music" onclick="playSound()"/>
> >> function playSound()
> >> { var x = document.getElementById("sound")
> >> x.innerHTML = (!x.innerHTML ) ? '<embed src="minuet.wav" loop=false
> >> autostart=true hidden>' : '' }
> >>
> >> This works O.K. but <embed> is not valid XHTML, so what parameters
> >> do I use in the object statement?
> >> (Of course the <embed> statement is hidden from the validator, so
> >> maybe it doesn't matter all that much.
> >>
> >> --
> >> Cheers,
> >> Trevor L.
> >> Website: http://tandcl.homemail.com.au

>
>
>

 
Reply With Quote
 
Trevor L.
Guest
Posts: n/a
 
      28th Nov 2005
Harry,

Thanks for taking the trouble to investigate

I am using ADSL at 256Kbps. It is a low cost option from a local provider. I
am thinking of upgrading. Their next is 400kbps which only costs another
$AUS5-00 per mo. They do have up to 2mbps, but I am not a commercial user,
just a home hobbyist.

I have a movie on my website
Go to:
About Us
Carole
Click here for a movie ...
This plays fine locally, but doesn't do much at all on the web. It requests
a download but after that nothing happens.

As for audio, the main page has a button
Play/Stop Music
It executes this JS:
function playSound()
{
var x = document.getElementById("sound")
x.innerHTML = (!x.innerHTML )
? '<embed src="minuet.wav" loop=false autostart=true hidden>'
: ''
}
where "sound' is:
<span id="sound"></span>

This plays fine locally, but seems to take about a minute or so berfore
anything happens on the web.
--
Cheers,
Trevor L.
Website: http://tandcl.homemail.com.au

BoatPerson wrote:
> Trevor
>
> Try this again:
>
> http://home.comcast.net/~brittani_morgan/test_video.htm
>
> I modified it to show the controls and on my end it looks like the
> volume is set at about 50%) -- try adjusting it to the max and see
> what happens. Meanwhile I'll scratch around and see if I can come up
> with a parm for the audiolevel setting in this code.
>
> btw: at the moment I'm using Comcast's Cable Modem for internet
> access -- we get pretty snappy response times both down and up
> (2+mbps), so I don't notice much of a delay... part of your problem
> might be your access speed -- I'm guessing that you use somekind of
> DSL. If you want to send me a link of something you've got up on
> your server, I'll let you know how it performs via my access method.
>
> Harry
> --
> "A boat is a hole in the water into which you throw money"
>
>
> "Trevor L." wrote:
>
>> Harry,
>>
>> This is great in that it comes through as a video, although very
>> slowly and with no sound that I can hear (on full volume with my
>> speakers). But at least it comes through :-))
>>
>> What about audio?
>> What are the parmaters for the <object> statement?
>> --
>> Cheers,
>> Trevor L.
>> Website: http://tandcl.homemail.com.au
>>
>> BoatPerson wrote:
>>> Trevor
>>>
>>> fyi: This seems to work OK for me... just right-click to view source
>>> code (btw: sorry for the blanks in my previous links, just scoop and
>>> paste each whole string):
>>>
>>> http://home.comcast.net/~brittani_morgan/test_video.htm
>>>
>>> Size is even more of an issue with video stuff than with audio
>>> stuff... with a subtle and somewhat nasty twist. That is, apart
>>> from it "just" potentially consuming huge amounts of storage space,
>>> it can do so with DECLINING quality... in exchange for LOTS of
>>> wasted hours of time -- trust me on this.
>>>
>>> The message here is that the quality of your output will never
>>> exceed that of your input, so, in otherwords, while I did INPUT the
>>> above 30sec of TV/VCR/VHS video as an "avi" file (just to preserve
>>> the little quality there was while getting it into my PC), I would
>>> be a fool -- storage-space-wise -- to OUTPUT/render it as anything
>>> but the lowest quality available -- else, GIGO; lipstick on a pig;
>>> etc.
>>>
>>> Sorry for lecturing -- good luck.
>>>
>>> Harry
>>> --
>>> "A boat is a hole in the water into which you throw money"
>>>
>>>
>>> "Trevor L." wrote:
>>>
>>>> Hi all,
>>>> I don't know whether this is strictly an FP question but I have
>>>> read advice from Nicholas Savalas which indicates he may be able
>>>> to help
>>>>
>>>> I have been able to embed a video file with this code:
>>>> <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
>>>> width="320" height="250"
>>>> codebase="http://www.apple.com/qtactivex/qtplugin.cab">
>>>> <param name="src" value="images/carole-and-tammy.mov"/>
>>>> <param name="autoplay" value="true"/>
>>>> <param name="controller" value="false"/>
>>>> </object>
>>>> This works O.K. when used on my local disk-based web (i.e. on my
>>>> own PC). On the web, it prompts for a download and then halts, so
>>>> it is not successful. The good thing is that it validates as valid
>>>> XHTML1.0.
>>>>
>>>> My first question, one I have asked many times without success, is:
>>>> How do I stream the video so that it part downloads, then plays as
>>>> the rest is downloading.
>>>> (My guess is that this probably can't happen on my server)
>>>>
>>>> But of more importance, what do I use for audio?
>>>> I currently have this code:
>>>> <span id="sound"></span>
>>>> <input type="button" value="Play/Stop
>>> Music" onclick="playSound()"/>
>>>> function playSound()
>>>> { var x = document.getElementById("sound")
>>>> x.innerHTML = (!x.innerHTML ) ? '<embed src="minuet.wav"
>>>> loop=false autostart=true hidden>' : '' }
>>>>
>>>> This works O.K. but <embed> is not valid XHTML, so what parameters
>>>> do I use in the object statement?
>>>> (Of course the <embed> statement is hidden from the validator, so
>>>> maybe it doesn't matter all that much.
>>>>
>>>> --
>>>> Cheers,
>>>> Trevor L.
>>>> Website: http://tandcl.homemail.com.au



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
embedding video object in excel 2003 =?Utf-8?B?QWwgQg==?= Microsoft Excel Misc 0 15th Dec 2005 11:37 PM
Embedding Video and Audio =?Utf-8?B?c2FsYmVlMg==?= Microsoft Outlook Discussion 0 26th Dec 2004 02:15 PM
Embedding .MID audio file as an OBJECT in PowerPoint =?Utf-8?B?c2Ft?= Microsoft Powerpoint 15 3rd Nov 2004 09:05 PM
Re: Embedding non standard XML tags in XML comments Terry Wahl Microsoft ASP .NET 0 10th Jul 2003 02:48 PM
Embedding non standard XML tags in XML comments terry Microsoft ASP .NET 0 9th Jul 2003 02:27 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:36 AM.