I have an attachment placeholder in a CMS template. When a SWF file from the resource gallery is attached the video works fine, however when an FLV file from the resource gallery is attached it does not display the video. Is there an issue with FLV and the attachment placeholder? The relevant template code is below..Thanks Jamie <cms:SingleAttachmentPlaceholderControl id="AttPhCtrl1" runat="server" PlaceholderToBind="AttPh" CssClass="ph"> <PresentationTemplate> <object codebase="http://download.macromedia.com/pub/shockwave/cabs/ flash/swflash.cab#version=9,0,0,0" title="<%# Container.AttachmentText %>" VIEWASTEXT> <param name=movie value="<%# Container.AttachmentUrl %>"> <param name="quality" value="high"> <param name="bgcolor" value="#000000"> <param name="wmode" value="opaque" /> <embed src="<%# Container.AttachmentUrl %>" quality=high bgcolor=white width="560" wmode="opaque" height="420" type="application/x-shockwave- flash" pluginspage="http://www.macromedia.com/shockwave/download/ index.cgi?P1_Prod_Version=ShockwaveFlash" title="<%# Container.AttachmentText %>"></embed> <noembed><%#Container.AttachmentText %></noembed> </object> </PresentationTemplate> </cms:SingleAttachmentPlaceholderControl>
Hi Jamie, IIS only serves content for known mime type. If you don't have a mime type definition for FLV then it will not work. Please double check. Cheers, Stefan wrote in message news:7cb965df-3f40-4aca-856e-622e090512a3@u72g2000hsf.googlegroups.com... >I have an attachment placeholder in a CMS template. When a SWF file > from the resource gallery is attached the video works fine, however > when an FLV file from the resource gallery is attached it does not > display the video. Is there an issue with FLV and the attachment > placeholder? The relevant template code is below..Thanks Jamie > > <cms:SingleAttachmentPlaceholderControl id="AttPhCtrl1" runat="server" > PlaceholderToBind="AttPh" CssClass="ph"> > > <PresentationTemplate> > > <object codebase="http://download.macromedia.com/pub/shockwave/cabs/ > flash/swflash.cab#version=9,0,0,0" title="<%# Container.AttachmentText > %>" VIEWASTEXT> > <param name=movie value="<%# Container.AttachmentUrl %>"> > <param name="quality" value="high"> > <param name="bgcolor" value="#000000"> > <param name="wmode" value="opaque" /> > <embed src="<%# Container.AttachmentUrl %>" quality=high bgcolor=white > width="560" wmode="opaque" height="420" type="application/x-shockwave- > flash" pluginspage="http://www.macromedia.com/shockwave/download/ > index.cgi?P1_Prod_Version=ShockwaveFlash" title="<%# > Container.AttachmentText %>"></embed> > <noembed><%#Container.AttachmentText %></noembed> > </object> > > </PresentationTemplate> > > </cms:SingleAttachmentPlaceholderControl>
Thanks Sefan, The MIME type was not set so I set .flv to flv-application/octet- stream in IIS and did an iisreset. The video still does not display. Can FLV files be displayed on their own or do they have to be embedded in an SWF file? If FLVs can be displayed on their own, am I right in setting the HTML embed object type="application/x-shockwave- flash" or can you think of anything else I could be doing wrong? If the FLV has to be embedded in an SWF, how does resource gallery handle this, as SWF will be referring to a FLV file location outside Resource Gallery. Hope this makes sense. Jamie
Hi Jamie, I don't know. Never used FLV. Please check on Shockwave forums for an answer to this. Cheers, Stefan wrote in message news:e6e66db9-8bb6-4a03-9d8b-355116bc90a8@i29g2000prf.googlegroups.com... > Thanks Sefan, > > The MIME type was not set so I set .flv to flv-application/octet- > stream in IIS and did an iisreset. The video still does not display. > > Can FLV files be displayed on their own or do they have to be embedded > in an SWF file? > > If FLVs can be displayed on their own, am I right in setting the HTML > embed object type="application/x-shockwave- flash" or can you think of > anything else I could be doing wrong? > > If the FLV has to be embedded in an SWF, how does resource gallery > handle this, as SWF will be referring to a FLV file location outside > Resource Gallery. > > Hope this makes sense. > > Jamie > >