4images Forum & Community

4images Issues / Ausgaben => Installation, Update & Configuration => Topic started by: jeddx on April 07, 2005, 02:26:37 AM

Title: The extension 3gp
Post by: jeddx on April 07, 2005, 02:26:37 AM
I added the extension 3gp in the extensions list and added a 3gp icon and media file in the templete, it did not work. I added many other ext which worked fine but the 3gp didnt.

need solution for this problem

thanks in advanced
Title: Re: The extension 3gp
Post by: V@no on April 07, 2005, 02:41:14 AM
yes, u need add needed mime extensions (seeing in the error message)  into includes/upload_definitions.php
Title: Re: The extension 3gp
Post by: jeddx on April 07, 2005, 04:07:27 AM
I have added the line in ..\includes\upload_definitions.php

Code: [Select]
$mime_type_match['3gp'] = array("video/quicktime");

and it works fine

thank you very much
Title: Re: The extension 3gp
Post by: deenee on November 21, 2005, 06:27:46 PM
I did the same, but it doesn't work, has anyone got an idea what to do now?
Title: Re: The extension 3gp
Post by: mawenzi on November 21, 2005, 06:54:47 PM
all the same ... ?

- extensions list in APC
- icon
- media file template
- upload_definitions.php

and it doesn't work ... ?
Title: Re: The extension 3gp
Post by: V@no on November 22, 2005, 12:59:26 AM
I did the same, but it doesn't work, has anyone got an idea what to do now?
and when people learn that saying "it doesnt work" - is one of the most useless explanations ever!
Title: Re: The extension 3gp
Post by: deenee on November 22, 2005, 07:44:05 PM
ok, in detail.

The new line in includes/upload_definitions.php:

Code: [Select]
$mime_type_match['3gp'] = array("video/quicktime");
New file in templates/{my_template}/media, content:

Code: [Select]
<!-- Template file for 3gp Movies -->
<embed src="{media_src}" border="0" width="240" height="240" type="application/x-mplayer2"></embed><br />

Tried also these two:

Code: [Select]
<!-- Template file for 3gp Movies -->
<embed src="{media_src}" border="0" width="240" height="240" type="application/quicktime"></embed><br />

Code: [Select]
<!-- Template file for 3pg Movies -->
<embed src="{media_src}" border="0" width="240" height="240" pluginspage="http://www.apple.com/quicktime/download/"></embed><br />

Added a new icon in templates/{my_template}/icons and added the extension to the ACP (it is shown as allowed when you want to upload something). And about a week ago I added another extension (.zip, .rar or anything like that) and it worked fine.

And trying to upload something now, I got this message:

Quote
Fehler beim Upload der Bild-Datei:
02-09-05_1303.3gp: Die Datei hat ein ungültiges Format (3gp, )

... I dont know how to solve this. Maybe somethings wrong with this 3gp.html file?




Title: Re: The extension 3gp
Post by: V@no on November 23, 2005, 12:16:36 AM
There you go! now we have enough information to try to help ;)

As the topic in the FAQ explains, you must add the proper mime type into upload_definitions.php
Sometimes one mime type is not enough due to many possible variants dependend on the file format. Usualy the "missing" mime type could be found in the error message when uploading file.
In your case:
Quote
02-09-05_1303.3gp: Die Datei hat ein ungültiges Format (3gp, )
its little tricky, because it shows "empty" mime type, so the the final entry in upload_definitions.php for this extension should be:
Code: [Select]
$mime_type_match['3gp'] = array("video/quicktime", "", " ");(just in case I added third mime type as a space, probably you dont even need it).

P.S. I'll update FAQ topic with info about this kind of "tricky" mime type.
Title: Re: The extension 3gp
Post by: deenee on November 23, 2005, 01:00:15 PM
Oh, perfect, thanks! Works fine now!
Title: Re: The extension 3gp
Post by: viper357 on April 13, 2006, 08:13:15 PM
can someone please help me, I am going mad trying to get this 3gp video files to work.

I have changed:
upload definitions
settings in ACP
icon
3gp.html template

this is what my 3gp.html template looks like (which I borrowed from another member on this forum)

Quote
<!-- Template file for 3gp Video Files -->
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="165" width="180">
       <param name="src" value="{media_src}">
       <param name="autoplay" value="true">
       <param name="controller" value="true">
       <embed pluginspage="http://www.apple.com/quicktime/download/" src="{media_src}" type="video/quicktime" height="165" width="180" controller="true" autoplay="true">
</object><br />

when I go to the page for the video file it just shows a blank page, no errors.

please help, thanks.
I have done a search but there is very little info on 3gp files :)
Title: Re: The extension 3gp
Post by: viper357 on April 22, 2006, 05:55:21 PM
anyone ??? is there something wrong with my html template ?
Title: Re: The extension 3gp
Post by: V@no on April 22, 2006, 05:59:30 PM
a link to the gallery could help ;)
Title: Re: The extension 3gp
Post by: viper357 on April 22, 2006, 06:30:55 PM
 :oops: www.reefclips.net

thanks for looking V@no  :D
Title: Re: The extension 3gp
Post by: V@no on April 22, 2006, 06:50:12 PM
I see the page alright, but since I dont have the player I can not tell if its playing the file or not...
(http://img196.imageshack.us/img196/4441/screenshot200604221247085es.png)
Title: Re: The extension 3gp
Post by: viper357 on April 22, 2006, 07:32:01 PM
I think that is the biggest problem is the player. It's not playing on anybody's computer.

Oh well, I will just have to convert the .3gp files into .mov or .wmv for now.

Thanks for trying to help V@no
Title: Re: The extension 3gp
Post by: V@no on April 22, 2006, 08:37:44 PM
1) on your site, you are using different template then what you showed.
2) the .3gp file is missing, getting 404 error
3) can you send me a .3gp file so I could test it? (its a QuickTime format, isnt it?)
Title: Re: The extension 3gp
Post by: viper357 on April 22, 2006, 09:07:08 PM
In response to your comments:

1. I have tried a couple of different templates so it is probably different than the one I first showed  :?
2. not sure why, the file is uploaded and should be there
3. file attached, yes, it should be quick time format

sorry but the video file is only 5 seconds because of the 128k max attachment size  :D
Title: Re: The extension 3gp
Post by: V@no on April 22, 2006, 09:18:20 PM
hmmm..just added it to my test fresh v1.7.2 and it worked just fine with your template (the one you showed)

P.S. quicktime opened the file and it was "showing" a white picture for a few seconds, nothing else...same deal was when I opened the page in IE and FF, it showing like its playing something, but only white picture showed..perhaps the file itself is corrupted?

Anyways, it seems to me the problem you have is missing .3pg file on the server. try open it directly in the browser, you'll get 404 page.
Title: Re: The extension 3gp
Post by: viper357 on April 22, 2006, 10:50:34 PM
hmm ok, I will look into it a bit more and see what I can figure out. Thank you so much for your time.
Title: Re: The extension 3gp
Post by: Flo2005 on June 28, 2006, 11:03:52 AM
Apple Quicktime? Why you don´t use realplayer for 3gp?