Delivering .swf files via the serveObjectData object

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Delivering .swf files via the serveObjectData object

byersa
Has anyone delivered a Flash movie using the streaming capability of the
content management system? I am looking at it in the debugger and it seems
to be delivering content, but I am wondering if there are headers or
something that needs to be done to get a movie to display? Instead of
displaying the movie in the browser, it pops ups the download window and
asks how to display it.

-Al
Reply | Threaded
Open this post in threaded view
|

Re: Delivering .swf files via the serveObjectData object

byersa
These are the headers when coming for this non-working url:
https://localhost:8443/eng/control/stream?contentId=247658

ServerApache-Coyote/1.1
ExpiresWed, 23 Sep 2009 04:34:06 GMT
Last-ModifiedWed, 23 Sep 2009 04:34:06 GMT
Cache-Controlno-store, no-cache, must-revalidate, post-check=0,
pre-check=0, false
Pragmano-cache
Content-Dispositionattachment;filename=q32_engine.swf
Content-Typeapplication/x-shockwave-flash;charset=UTF-8
Content-Length309183
DateWed, 23 Sep 2009 04:34:06 GMT
Request Headers
Hostlocalhost:8443
User-AgentMozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US;
rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3
Accepttext/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Languageen-us,en;q=0.5
Accept-Encodinggzip,deflate
Accept-CharsetISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive300
Connectionkeep-alive
Refererhttps://localhost:8443/eng/control/AuthorTool
CookieSaveStateCookie=undefined%2Cassess%2Croot%2COPTION_LABELING%2COPTION_GROUP%2COPTION_MATCH%2COPTION_ANY%2COPTION_ONE%2Cnull%2C%2C1%2C2%2C3%2C4%2C7%2C5%2C6%2C99;
JSESSIONID=30505A4145DF6140132481E34E6F3364.jvm1;
pe.autoUserLoginId=admin; webtools.autoUserLoginId=admin;
eng.autoUserLoginId=admin; OFBiz.Visitor=10001

These are the headers for the working url:
http://localhost:8080/eng/images/q32_engine.swf

ServerApache-Coyote/1.1
EtagW/"309183-1253597059000"
Last-ModifiedTue, 22 Sep 2009 05:24:19 GMT
Content-Typeapplication/x-shockwave-flash
Content-Length309183
DateWed, 23 Sep 2009 04:38:14 GMT
Request Headers
Hostlocalhost:8080
User-AgentMozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US;
rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3
Accepttext/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Languageen-us,en;q=0.5
Accept-Encodinggzip,deflate
Accept-CharsetISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive300
Connectionkeep-alive
CookieJSESSIONID=30505A4145DF6140132481E34E6F3364.jvm1;
pe.autoUserLoginId=admin; webtools.autoUserLoginId=admin;
eng.autoUserLoginId=admin; OFBiz.Visitor=10001

Does anybody see anything?

-Al

On Tue, Sep 22, 2009 at 9:26 PM, Al Byers <[hidden email]> wrote:
>
> Has anyone delivered a Flash movie using the streaming capability of the content management system? I am looking at it in the debugger and it seems to be delivering content, but I am wondering if there are headers or something that needs to be done to get a movie to display? Instead of displaying the movie in the browser, it pops ups the download window and asks how to display it.
>
> -Al
Reply | Threaded
Open this post in threaded view
|

Re: Delivering .swf files via the serveObjectData object

Brett
Al,

The only thing I see that stands out is the "chartset" setting for the
non-working CMS url.

charset=UTF-8

Maybe setting the chartset the flashplayer assumes it is text and not binary
file.


Brett

On Tue, Sep 22, 2009 at 11:01 PM, Al Byers <[hidden email]>wrote:

> These are the headers when coming for this non-working url:
> https://localhost:8443/eng/control/stream?contentId=247658
>
> ServerApache-Coyote/1.1
> ExpiresWed, 23 Sep 2009 04:34:06 GMT
> Last-ModifiedWed, 23 Sep 2009 04:34:06 GMT
> Cache-Controlno-store, no-cache, must-revalidate, post-check=0,
> pre-check=0, false
> Pragmano-cache
> Content-Dispositionattachment;filename=q32_engine.swf
> Content-Typeapplication/x-shockwave-flash;charset=UTF-8
> Content-Length309183
> DateWed, 23 Sep 2009 04:34:06 GMT
> Request Headers
> Hostlocalhost:8443
> User-AgentMozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US;
> rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3
> Accepttext/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
> Accept-Languageen-us,en;q=0.5
> Accept-Encodinggzip,deflate
> Accept-CharsetISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive300
> Connectionkeep-alive
> Refererhttps://localhost:8443/eng/control/AuthorTool
>
> CookieSaveStateCookie=undefined%2Cassess%2Croot%2COPTION_LABELING%2COPTION_GROUP%2COPTION_MATCH%2COPTION_ANY%2COPTION_ONE%2Cnull%2C%2C1%2C2%2C3%2C4%2C7%2C5%2C6%2C99;
> JSESSIONID=30505A4145DF6140132481E34E6F3364.jvm1;
> pe.autoUserLoginId=admin; webtools.autoUserLoginId=admin;
> eng.autoUserLoginId=admin; OFBiz.Visitor=10001
>
> These are the headers for the working url:
> http://localhost:8080/eng/images/q32_engine.swf
>
> ServerApache-Coyote/1.1
> EtagW/"309183-1253597059000"
> Last-ModifiedTue, 22 Sep 2009 05:24:19 GMT
> Content-Typeapplication/x-shockwave-flash
> Content-Length309183
> DateWed, 23 Sep 2009 04:38:14 GMT
> Request Headers
> Hostlocalhost:8080
> User-AgentMozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US;
> rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3
> Accepttext/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
> Accept-Languageen-us,en;q=0.5
> Accept-Encodinggzip,deflate
> Accept-CharsetISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive300
> Connectionkeep-alive
> CookieJSESSIONID=30505A4145DF6140132481E34E6F3364.jvm1;
> pe.autoUserLoginId=admin; webtools.autoUserLoginId=admin;
> eng.autoUserLoginId=admin; OFBiz.Visitor=10001
>
> Does anybody see anything?
>
> -Al
>
> On Tue, Sep 22, 2009 at 9:26 PM, Al Byers <[hidden email]>
> wrote:
> >
> > Has anyone delivered a Flash movie using the streaming capability of the
> content management system? I am looking at it in the debugger and it seems
> to be delivering content, but I am wondering if there are headers or
> something that needs to be done to get a movie to display? Instead of
> displaying the movie in the browser, it pops ups the download window and
> asks how to display it.
> >
> > -Al
>