Thanks Deane,
Yes, this is what I'm doing at the moment however these are mp3 files
and I'd love to be able to use movieplayer.movie=openurlmovie(url) to
provide a preview of the track and avoid having to download the
entire file or if the htmlviewer would load the file then it could
start playing before the track finishes loading also providing a
preview - perhaps I could use a socket to just download 5% of the
file to provide a preview.
Cheers
Jeff
On 05/07/2006, at 3:39 PM, Deane Venske wrote:
Only thing I can think of, and it's not really that great a
solution, is to use an HTTP socket to download the file. Then you
open it in your HTMLViewer by loading the downloaded file using
LoadPage.
It's messy, it's ugly, but it's the only thing I can think of. If
we could set the HTML for the HTMLViewer to show it would be easier
because you could just pass what the HTTPSocket returns straight to
the viewer.
Thanks,
Deane
On Wed, 05 Jul 2006 13:17:03 +1000, Jeff Ayling <[EMAIL PROTECTED]>
wrote:
Hi all,
I've been trying to get a file to appear in an HTMLViewer but the
HTMLViewer window remains empty and does not throw an error - if I
use the same url in Safari then the file downloads without trouble.
Then I realized that because the file does not appear in Safari
(it downloads but does not appear in the window) then the server
must be using a "Content-Type: application/force-download" in it's
header to force the file to download. This means that the
HTMLViewer can not view the file but is it being downloaded
somewhere? Does anyone know what happens to a file using
HTMLViewer when the server uses a "Content-Type: application/force-
download" to serve the file?
Is there any way of ignoring a "Content-Type: application/force-
download" and allow the file to appear in an HTMLViewer?
This problem also arises when using a
MoviePlayer1.movie=OpenURLMovie(url) when the url is served with a
"Content-Type: application/force-download" in the header from the
server.
Am I on track here? Does anyone have any thoughts or comments? Can
we ignore these headers somehow? Would it be handy for the
HTMLViewer to contain a 'HeadersReceived" event so we can see what
is being sent by the server?
Any thoughts or comments would be great.
Cheers
Jeff
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>