Author Topic: The extension 3gp  (Read 27404 times)

0 Members and 1 Guest are viewing this topic.

Offline jeddx

  • Pre-Newbie
  • Posts: 8
    • View Profile
The extension 3gp
« 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

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: The extension 3gp
« Reply #1 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
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline jeddx

  • Pre-Newbie
  • Posts: 8
    • View Profile
Re: The extension 3gp
« Reply #2 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

Offline deenee

  • Pre-Newbie
  • Posts: 8
    • View Profile
    • deenees gallery
Re: The extension 3gp
« Reply #3 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?

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: The extension 3gp
« Reply #4 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 ... ?
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: The extension 3gp
« Reply #5 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!
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline deenee

  • Pre-Newbie
  • Posts: 8
    • View Profile
    • deenees gallery
Re: The extension 3gp
« Reply #6 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?





Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: The extension 3gp
« Reply #7 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.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline deenee

  • Pre-Newbie
  • Posts: 8
    • View Profile
    • deenees gallery
Re: The extension 3gp
« Reply #8 on: November 23, 2005, 01:00:15 PM »
Oh, perfect, thanks! Works fine now!

Offline viper357

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: The extension 3gp
« Reply #9 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 :)

Offline viper357

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: The extension 3gp
« Reply #10 on: April 22, 2006, 05:55:21 PM »
anyone ??? is there something wrong with my html template ?

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: The extension 3gp
« Reply #11 on: April 22, 2006, 05:59:30 PM »
a link to the gallery could help ;)
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline viper357

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: The extension 3gp
« Reply #12 on: April 22, 2006, 06:30:55 PM »
 :oops: www.reefclips.net

thanks for looking V@no  :D

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: The extension 3gp
« Reply #13 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...
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline viper357

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: The extension 3gp
« Reply #14 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