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

From: Stefan Kaczmarek <stefan_at_thezonie.org>
Date: Thu, 29 Mar 2007 12:05:18 -0700

Yup.

On Mar 29, 2007, at 12:04 PM, Jay Mairs wrote:

> Ok. So, problem solved, as far as you're concerned?
>
> -----Original Message-----
> From: Stefan Kaczmarek [mailto:stefan_at_thezonie.org]
> Sent: Thursday, March 29, 2007 12:03 PM
> To: Jay Mairs
> Subject: Re: http:// & file:// Issues
>
> Well, it already serves up files to remote hosts via normal
> sockets ... I don't see any reason why it wouldn't work localhost.
> And the applet already changes the local HTML to embed the video. All
> it would have to do is point it at a listening port that it was
> maintaining. I really don't see any reason why it wouldn't work.
>
> On Mar 29, 2007, at 11:59 AM, Jay Mairs wrote:
>
>> We're probably going to want to find out if the applet http serving
>> stuff will work ASAP. If it doesn't we'll need to figure out some
>> sort
>> of workaround. I'm just worried that the applet functionality is
>> restricted in some way (for security reasons, or whatever)
>>
>> -----Original Message-----
>> From: Stefan Kaczmarek [mailto:stefan_at_thezonie.org]
>> Sent: Thursday, March 29, 2007 11:53 AM
>> To: Jay Mairs
>> Cc: Ivan Kwok; Dylan Douglas; Ty Heath; Ben Ebert
>> Subject: Re: http:// & file:// Issues
>>
>> Yup. (Theoretically, anyway.)
>>
>> Yeah, it should work. I mean the applet already does socket stuff, so
>> it can have a listening port that the web page will connect to. It
>> should be fairly straightforward from a technical standpoint.
>>
>> - Z
>>
>> On Mar 29, 2007, at 11:35 AM, Jay Mairs wrote:
>>
>>> Do you think it will be possible to do with the applet?
>>>
>>> -----Original Message-----
>>> From: Stefan Kaczmarek [mailto:stefan_at_thezonie.org]
>>> Sent: Thursday, March 29, 2007 11:33 AM
>>> To: Ivan Kwok
>>> Cc: Dylan Douglas; Jay Mairs; Ty Heath; Ben Ebert
>>> Subject: Re: http:// & file:// Issues
>>>
>>> Ok, I made the app serve up the files, and it works. :)
>>>
>>> On Mar 28, 2007, at 6:19 PM, Ivan Kwok wrote:
>>>
>>>> Stefan, it doesn't work on Vista IE7. It asked me for allowing
>>>> ActiveX control first, after I granted it, it's still not showing
>>>> the embedded player. I've tried the same file on XP and IE6, it's
>>>> working fine.
>>>>
>>>> -Ivan
>>>>
>>>>
>>>> -----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:55:55 BST

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