some strange problems with content part multimedia

Please post all install related problems here. Visit this forum first for troubleshooting.
Post Reply
Balubaer
Posts: 39
Joined: Wed 16. Aug 2006, 15:50
Location: Berlin

some strange problems with content part multimedia

Post by Balubaer »

Hi out there,

I know, it was discussed here sometimes (or maybe tried to), but I haven't found a satisfying result in the forum yet, so I start another thread (sorry guys, for whom I will bore).

When I try to use the multimedia content part to enclose a flash swf file to a site, a blank space will be shown on the site. I wondered and looked into the file manager, but there was the uploaded swf file. But when I took a look at the filesystem, I only found a .swc file (which is pre-compiled flash component) that seems to be my original (renamed!) file. Where does this come from?

Another strange "renaming" happened on uploaded quicktime movie files (mov). These will also be renamed into a wbmp file and as a result of that, will not be shown in the multimedia file manager (because of the set multimedia file extension settings).

How can I solve the problem? Is it a bug or a feature? ;)

I have installed phpwcms (1.3.3) on a linux system, with mysql 4(.0) and php4.4.

Any help (except these, that will tell to manipulate the database directly, because these I cannot expect to do of my clients) will be appreciated.

Thanks in advance,
Dennis
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

http://www.phpwcms.de/forum/viewtopic.php?p=86592#86592
"...I discovered that the php function getimagesize
was returning type 13. This is because as of Flash 7 - the swf information
was confusing the issue. SWF's produced by third party apps is no
problem, but content created in the Flash authoring environment version
7+ would be sniffed as as a *.swc and not as it ought *.swf."
User avatar
Oliver Georgi
Site Admin
Posts: 9892
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

newer releases have solved that problem.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Balubaer
Posts: 39
Joined: Wed 16. Aug 2006, 15:50
Location: Berlin

Post by Balubaer »

Hi Oliver,

what does it mean "newer releases have solved that problem"?

Isn't 1.3.3 the latest release? Or does it mean, that any of your "newer" developer version has fixed it and will be released in a later version?

Your workaround mentioned in http://www.phpwcms.de/forum/viewtopic.php?p=86592#86592

Code: Select all

			case 13: // there is a problem in some cases swf -> swc ? why ever!
					 // do an additional extension check and compare against swf
					 $result = (strtolower(which_ext($file)) == 'swf') ? 'swf' : 'swc';
					 break;
will not work, anyway. You check the files extension, but after uploading a swf file, the stored file extension is swc and no longer swf. How will this workaround work? (I'll admit that I have no complete overview of your cms, it's just an assumption.)

And I still have the problem with quicktime movies. As I've seen here http://www.mail-archive.com/php-general ... 57915.html it is possible to detect quicktime movies with the getID3 library. Maybe you implement this? (Just a suggestion.)

Keep on going, you're doing a great job. :)

Regards,
Dennis
User avatar
Oliver Georgi
Site Admin
Posts: 9892
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

check that you have set extension for filename!!!

Maybe you still use Flash files on Mac without .swf.

I know that package. But multimedia is too complex to use it this way anymore. Better to create special content parts for Quicktime and/or Flash, Flash Video and/or MP3

Windows Media and Real is dead.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Balubaer
Posts: 39
Joined: Wed 16. Aug 2006, 15:50
Location: Berlin

Post by Balubaer »

Hi Oliver,

no, I don't have a Mac (unfortunately). ;)

I created the swf with Flash 8 (exported in different swf versions), but nothing helped.

I do agree that including multimedia into a website isn't easy, especially through a cms.

I didn't want to include Real or Windows Media, but a quicktime movie and more important a swf.

So it seems that I still have to try to get a workaround by myself?

Thanks for your help so far,
Dennis
User avatar
Oliver Georgi
Site Admin
Posts: 9892
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

But it really should be solved (for new uploaded files).

Maybe send me your flash file by email - and I will have a look.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
StudioZ
Posts: 802
Joined: Fri 28. May 2004, 19:57
Location: Québec, Canada
Contact:

Post by StudioZ »

Hi Balubaer,

I also encountered problems presenting Flash files when using:
source: internal
To solve my problem I use instead:
source: external
I just don't import and manage Flash file inside the File manager.
Regarding QuickTime files... no problems.
You can import/manage and use these without any problem
using the multimedia Content Part 8)

Hope this helps you going :wink:

Cheers,

Yves
Image
PhpWCMS Evangelist, -- iRoutier.com Running phpWCMS 1.4.2, r354 -> Great Version!!!!
Post Reply