4images Forum & Community
4images Issues / Ausgaben => Installation, Update & Configuration => Topic started 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
-
yes, u need add needed mime extensions (seeing in the error message) into includes/upload_definitions.php
-
I have added the line in ..\includes\upload_definitions.php
$mime_type_match['3gp'] = array("video/quicktime");
and it works fine
thank you very much
-
I did the same, but it doesn't work, has anyone got an idea what to do now?
-
all the same ... ?
- extensions list in APC
- icon
- media file template
- upload_definitions.php
and it doesn't work ... ?
-
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!
-
ok, in detail.
The new line in includes/upload_definitions.php:
$mime_type_match['3gp'] = array("video/quicktime");
New file in templates/{my_template}/media, content:
<!-- 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:
<!-- Template file for 3gp Movies -->
<embed src="{media_src}" border="0" width="240" height="240" type="application/quicktime"></embed><br />
<!-- 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:
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?
-
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: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:$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.
-
Oh, perfect, thanks! Works fine now!
-
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)
<!-- 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 :)
-
anyone ??? is there something wrong with my html template ?
-
a link to the gallery could help ;)
-
:oops: www.reefclips.net
thanks for looking V@no :D
-
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)
-
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
-
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?)
-
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
-
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.
-
hmm ok, I will look into it a bit more and see what I can figure out. Thank you so much for your time.
-
Apple Quicktime? Why you don´t use realplayer for 3gp?