Re: http:// & file:// Issues

From: Stefan Kaczmarek <stefan_at_thezonie.org>
Date: Wed, 28 Mar 2007 22:36:27 -0700

I don't think the pop-up embedded player would work, if it was
straight javascript, because of the whole file:// thingy ...

Launching the player would have to be done with a trusted applet.

Serving up the application or applet I don't think is the solution,
either. I think the actual media file would have to be served up
through them.

The suggestion you had in the other e-mail: An applet that displays
html, may possibly be the way to go. I'll have to look into that.

I think that somehow embedding the media in the page is what we
should strive for, and that really can't be done just using HTML.
It'd have to be an applet or something else entirely.

I have a couple of other things to try first, and then I will look
into the web page in an applet in a web page.

(Awesome-o.)

- Z

On Mar 28, 2007, at 5:24 PM, Jay Mairs wrote:

> So, what are the potential solutions? Pop-up embedded player?
> Just launch the player? Serve-up simple html (just enough to embed
> the player in a frame) thru http from the app or applet? Are there
> other possible solutions to this?
>
>
> -----Original Message-----
> From: Stefan Kaczmarek [mailto:stefan_at_thezonie.org]
> Sent: Wednesday, March 28, 2007 5:18 PM
> To: Dylan Douglas; Jay Mairs
> Cc: Ivan Kwok; Ty Heath; Ben Ebert
> Subject: RE: http:// & file:// Issues
>
> You guys still have vista available? Or just IE7? I wonder if
> they've buttoned up the issue as well. (Cuz I guess it could be a
> security issue.)
>
> ---Original Message-----
> From: "Dylan Douglas" <dylan_at_mediadefender.com>
> To: "Stefan Kaczmarek" <stefan_at_thezonie.org>; "Jay Mairs"
> <jay_at_mediadefender.com>
> Cc: "Ivan Kwok" <ivan_at_mediadefender.com>; "Ty Heath"
> <heath_at_mediadefender.com>; "Ben Ebert" <ben_at_mediadefender.com>
> Sent: 3/28/07 4:32 PM
> Subject: RE: http:// & file:// Issues
>
> Yeah, the local html file would probably be able to do it, but then
> it's accessing the local html file that causes the problem, rather
> than the media.
>
> ----------
> Dylan Douglas
> MediaDefender
>
> From: Stefan Kaczmarek
> Sent: Wed 3/28/2007 4:05 PM
> To: Jay Mairs
> Cc: Dylan Douglas; Ivan Kwok; Ty Heath; Ben Ebert
> Subject: Re: http:// & file:// Issues
>
> Nope.
>
> You can't get past the fact that you have a frame that points to a
> file:// from an http:// page.
>
> On Mar 28, 2007, at 3:53 PM, Jay Mairs wrote:
>
>> Can you put the embedded player in a frame that points to a local
>> html
>> file which contains the embed tags pointing to the local media file?
>>
>> Yay, run-on sentence.
>>
>>
>>
>> -----Original Message-----
>> From: Stefan Kaczmarek [mailto:stefan_at_thezonie.org]
>> Sent: Wednesday, March 28, 2007 3:35 PM
>> To: Jay Mairs; Dylan Douglas; Ivan Kwok; Ty Heath; Ben Ebert
>> Subject: http:// & file:// Issues
>>
>> Okay, so here's a snag of sorts:
>>
>> Mozilla supposedly doesn't let you reference local files from remote
>> pages, as a security thing.
>>
>> I have a simple file at http://md.thezonie.com/embed.html which you
>> can enter a full path URL to a movie file on your local machine, and
>> click the embed button. It should embed the video below the text
>> edit. I can't get it to work with Firefox or Safari on Mac, and it
>> doesn't work with the latest Firefox on Windows. It works fine in
>> IE6, but I don't know about IE7.
>>
>> There is a security.checkloaduri item in Firefox's about:config that
>> if you set it to false it shouldn't do the check, but that just makes
>> my windows ff crash. (Rock.)
>>
>> I guess it's a security concern that remote pages not access local
>> files, which is what we want to do here. I figure worst case the
>> local files can be slurped through the application, which will use an
>> http:// rather than file:// query, but that doesn't work for the
>> applet, unless it had a listening port and was an http server as
>> well. (Oh the ass.)
>>
>> This doesn't effect the "launching" of the media and running it on
>> their computers, just the embedding of them in web pages.
>>
>> So ... I am not sure how you guys want to proceed with this.
>>
>> - Z
>
>
Received on Fri Sep 14 2007 - 10:56:06 BST

This archive was generated by hypermail 2.2.0 : Sun Sep 16 2007 - 22:19:48 BST