Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-11-06 22:30:22

dreamer
Member
Registered: 2007-06-08
Posts: 242

why video gallery appears on homepage but not other pages

Here is my site .

The video gallery at the bottom will play. However, the same video will not play if you go to any of the individual pages such as here (same page but with the /home page) or here

What am I doing wrong? I’m guessing perhaps it’s something wrong with the embed code but I could be wrong :(

My form looks like this;

<div class="portfoliocontent">

         <txp:excerpt />

   </div><!-- end portfoliocontent-->

	<div class="video">
	<table width="100%" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr valign="middle">
    <td align="center">
      <p>
        <script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','284','height','235','title','Image Gallery','src','1292-ROQ_Video1','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','1292-ROQ_Video1' ); //end AC code
      </script>
        <noscript>
        <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="284" height="235" title="Image Gallery">
          <param name="movie" value="1292-ROQ_Video1.swf" />
          <param name="quality" value="high" />
          <embed src="1292-ROQ_Video1.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="284" height="235"></embed>
        </object>
        </noscript>
        </p>
    <p>Site Test 1 </p></td>
  </tr>
</table>
	</div><!-- end video-->

My page calling the form looks like this;

<txp:article_custom form="portfolio_content" id="4" />

Offline

#2 2008-11-06 23:05:25

graeme
Plugin Author
Registered: 2004-06-21
Posts: 337
Website

Re: why video gallery appears on homepage but not other pages

dreamer wrote:

What am I doing wrong? I’m guessing perhaps it’s something wrong with the embed code but I could be wrong :(

I think it’s going wrong because you’re using relative URLs 1292-ROQ_Video1.swf can’t be found when under /home/

Try switching the videos URL to /1292-ROQ_Video1.swf or to an absolute URL.

Offline

#3 2008-11-07 05:44:31

dreamer
Member
Registered: 2007-06-08
Posts: 242

Re: why video gallery appears on homepage but not other pages

Nope- it’s definitely not that. I tried adding the forward slash and doing absolute URL.

Offline

#4 2008-11-07 12:16:37

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: why video gallery appears on homepage but not other pages

But did you change it in both tags object and embed and script?

Like this:

        <script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','284','height','235','title','Image Gallery','src','/1292-ROQ_Video1','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','1292-ROQ_Video1' ); //end AC code
      </script>
        <noscript>
        <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="284" height="235" title="Image Gallery">
          <param name="movie" value="/1292-ROQ_Video1.swf" />
          <param name="quality" value="high" />
          <embed src="/1292-ROQ_Video1.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="284" height="235"></embed>
        </object>
        </noscript>

La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#5 2008-11-07 18:39:04

dreamer
Member
Registered: 2007-06-08
Posts: 242

Re: why video gallery appears on homepage but not other pages

Still doesn’t work. I believe you changed the script, value, and embed like so, but it still doesn’t work.

 <script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','284','height','235','title','Image Gallery','src','/1292-ROQ_Video1','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','1292-ROQ_Video1' ); //end AC code
      </script>
         <param name="movie" value="/1292-ROQ_Video1.swf" />
          <embed src="/1292-ROQ_Video1.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="284" height="235"></embed>
        </object>
        </noscript>

Offline

#6 2008-11-07 18:44:14

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: why video gallery appears on homepage but not other pages

I’m seeing it here: http://rightonqueproductions.com/about

On “home” section isn’t fixed yet. Firebug extension reports it’s still looking for it on:
http://rightonqueproductions.com/home/1292-ROQ_Video1.swf
which is the wrong path.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

Board footer

Powered by FluxBB