T
Trevor L.
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.
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.