Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Flash Header Intergation Problem  (Read 4666 times)

0 Members and 1 Guest are viewing this topic.

reason

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 11
    • thisreason(tm)
Flash Header Intergation Problem
« on: October 02, 2004, 04:37:13 am »

I am re-skining the classic theme and everything was going fine till I noticed that my flash header is not loading in the php, I mean it seems to be there but the browser never fully loads it.
http://thisreason.com/kodachrome/

Now as you see here it loads just fine on the "template" file in the classic theme.
http://www.thisreason.com/kodachrome/themes/classic/template.html

Now I have tested just dropping in a jpeg as a header and that seems to work. I also ran the debug mode but that doesn't seem to say anything is wrong.
What am I missing?

- - - - - - - -  - - -
I am also have searched for threads on customizing the main nav. in html or even intergrating it into a SWF, but have had no luck.
« Last Edit: October 02, 2004, 08:31:40 am by TranzNDance »
Logged
::creative difference::

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Flash Header Intergation Problem
« Reply #1 on: October 02, 2004, 04:41:32 am »

Are you attempting to load the flash file in the php file, or in the template.htm file?  Please post the code you are using to embed the flash file.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

reason

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 11
    • thisreason(tm)
Re: Flash Header Intergation Problem
« Reply #2 on: October 02, 2004, 04:47:47 am »

Im loading it into the "template.html" file.

Quote
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="725" height="160">
                    <param name="movie" value="header.swf">
                    <param name="quality" value="high">
                    <embed src="header.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="725" height="160"></embed></object>
Logged
::creative difference::

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Flash Header Intergation Problem
« Reply #3 on: October 02, 2004, 05:16:48 am »

First: To strive for XHTML validation, you might want to check out http://www.alistapart.com/articles/flashsatay/ for a way to make embedded flash validate.

Second:  You've put your flash object in the correct directory?
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

reason

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 11
    • thisreason(tm)
Re: Flash Header Intergation Problem
« Reply #4 on: October 02, 2004, 05:44:56 am »

In the right directory I think so. As I was testing I noticed that my jpeg would only work if I put it in the "Images" folder of the root directory not the "images" folder in the classic theme. So I have put the SWF in the "root/images" as weel as "themes/classic/". I have never had a problem with embedding a flash file using dreamweaver.

I'm new to php so I guess my question would be does php need to validate for an swf for it to work.? I guess as a designer and not a programmer I dont see the difference between a jpef an a swf.

Thanks for the link I will look into it.
Logged
::creative difference::

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Flash Header Intergation Problem
« Reply #5 on: October 02, 2004, 05:49:51 am »

When working with themes, you need to reference your images like this: themes/classic/images/imagename.jpg

So, you should reference your flash object the same way: <param name="movie" value="themes/classic/images/header.swf">

Working with themes and php isn't like working with static html pages.  You should take a good look at the classic theme to see how it works.

PHP doesn't validate, the html file it outputs does.  If you want your pages to be HTML standards compliant, you should make sure your custom theme follows the rules.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

reason

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 11
    • thisreason(tm)
Re: Flash Header Intergation Problem
« Reply #6 on: October 02, 2004, 08:29:48 am »

SOLVED.
Logged
::creative difference::

robwri32

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Flash Header Intergation Problem
« Reply #7 on: August 12, 2005, 05:35:53 am »

Can some give me alittle insite on which file to edit if we want to embed a flash header? is it the template.html or themes.php file, i read though the outside link, and tried the steps that would work for most browser, however non worked or failed to load. the movie isn't that large, i just can't figure out how to embed it   



Any help would be greatly appriated


ROB
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Flash Header Intergation Problem
« Reply #8 on: August 12, 2005, 10:09:05 am »

template.html
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 20 queries.