Elxis CMS Forum

Support => General => Topic started by: xmanhattan on July 08, 2008, 12:13:35

Title: flash in content question
Post by: xmanhattan on July 08, 2008, 12:13:35
Hello all,

On the front page, I have tried to insert a small piece of flash using:

   the insert / edit flash movie button of the tinymce editor
   the flash video (red) button
   and finally through the html button.

Everytime the resulting code is as follows:
         http://example.com/mambots/editors/tinymce/images/videos/sig.swf
instead of
         http://example.com/images/videos/sig.swf
and so the flash does not work because it is not pointing to the correct directory folder.

I have searched for an answer in the forum but didn't find any (both english and greek).

What is the best way to solve this?

Petros
Title: Re: flash in content question
Post by: froskouri on July 08, 2008, 16:45:28
Hi,

What exactly did you write when you used the insert/edit flash movie button of the tinymce editor?
Did you write the full url of the video (http://example.com/images/videos/sig.swf ) and it didn't work?
Title: Re: flash in content question
Post by: CREATIVE Options on July 08, 2008, 17:34:07
It is a problem from editor & how you use the editor.
That you can do is:
1. import your content
2. apply
3. use the HTML button (bottom right) and check you code for the right path for your flash data
4. correct the mistake, update the changes (button)
5. save the content
Title: Re: flash in content question
Post by: xmanhattan on July 08, 2008, 18:41:26
Hello all,

Yes, I have already uploaded the flash to the video folder under images,
and used the html button on the right of the ? button.

Then I edited the html and inserted the following:
Code: [Select]
<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="330" height="100">
<param name="movie" value="images/videos/sig.swf" />
<param name="quality" value="high" />
<param name="menu" value="false" />
<param name="wmode" value="" />
<embed src="images/videos/sig.swf" wmode="" quality="high" menu="false" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="330" height="100"></embed></object>

but the src directories change after updating the html to include
mambots/editors/tinymce/

I know that I can correct this if I turn off the tinymce editor but that is definitely not the answer.

UPDATED:
Ahhhhh, now I see what you mean Sirigos.  Yes, the procedure has to be done twice for it to accept the correct html update.  Now it has kept the correct directory parameters.

Many thanks,

Petros

 
Title: Re: flash in content question
Post by: CREATIVE Options on July 30, 2008, 15:34:06
For valid XHTML code use the next code:

Code: [Select]
<object type="application/x-shockwave-flash"
data="movie.swf"
width="400" height="300">
<param name="movie"
value="movie.swf" />
</object>

And for Alternative Content use:

Code: [Select]
<object type="application/x-shockwave-flash
data="movie.swf"
width="400" height="300">
<param name="movie"
value="movie.swf" />
<img src="noflash.gif"
width="200" height="100" alt="" />
</object>

PS: It works fine to FF, IE7, IE6, & OPERA

Title: Re: flash in content question
Post by: StefanSultanov on August 25, 2008, 00:02:23
Hi,

same as manhattan! But I worked it out just the same the paths are ok, but I still can not see the SWF-file. It is just a ane frame image for testing purposes.

Here is the html:
<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="250" height="210">
<param name="movie" value="http://www.vanesa.biz/images/top_right.swf" />
<param name="quality" value="high" />
<param name="menu" value="false" />
<param name="wmode" value="" />
<embed src="http://www.vanesa.biz/images/top_right.swf" wmode="" quality="high" menu="false" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="250" height="210"></embed></object>

Can you tell me why
Title: Re: flash in content question
Post by: CREATIVE Options on August 25, 2008, 00:05:38
Your swf path are:
Code: [Select]
http://www.vanesa.biz/templates/vanessa/images/top_right.swf
Title: Re: flash in content question
Post by: StefanSultanov on August 25, 2008, 00:14:31
 :D
Thanks!
I feel veeeeeeeeeeeeeery stupid!

Thank you!