PDA

View Full Version : 3GP/MP4 player and professional template


xenon
09-03-2006, 02:10 PM
Hi there,
i'm the owner of a website where users can download end exchange themselves video and other files for their mobile phone.

I whish change the script i'm currently using with Humor Software script. But i have a question: Humor Software Script can play *.3gp and *.mp4 files?

Exactly MIME Types that i need:
video/3gp
video/3gpp
video/mpeg4
audio/midi

I know that Humor Software supports any type of file in which I can add code to... but i don't know the proper code to play these files.

I also need a custom professional template :) i hope to find a good graphic artist in this forum ;)

Thank you

Ryan
09-04-2006, 03:51 AM
Do you know of any sites that actually use these media types? I'll be able to help if that's the case.

xenon
09-05-2006, 08:18 AM
Do you know of any sites that actually use these media types? I'll be able to help if that's the case.

Yes:
http://www.zedge.net/?p=videos
http://www.zedge.net/?p=videos&item=187

Thank you

Ryan
09-05-2006, 07:30 PM
That site is using a flash player which I would assume they're using .flv files with.

xenon
09-17-2006, 05:02 PM
That site is using a flash player which I would assume they're using .flv files with.

Thank you Ryan, you mean that i have to search for a "flash 3gp player" ?

Ryan
09-17-2006, 06:33 PM
No, the flash player provided really should work.

xenon
09-17-2006, 07:23 PM
No, the flash player provided really should work.

I have tried to add a new extension "3gp"

with the FLV code:

<object type="application/x-shockwave-flash" width="{settings[media_width]}" height="{settings[media_height]}" wmode="transparent" data="{site_url}player.swf?autoStart=true&file={file_location}">
<param name="movie" value="{site_url}player.swf?autoStart=true&file={file_location}" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" />
<param name="wmode" value="transparent" />
<embed src="{site_url}player.swf?autoStart=true&file={file_location}" quality="high" width="{humor_software[media_width]}" height="{humor_software[media_height]}" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

and

$file_location = $initialize->settings['site_url'] . $initialize->settings['media_directory'] . $file['filename'] . '.' . $file['extension'];
$code['search'] = array ('{file_location}', '{site_url}', '{settings[media_width]}', '{settings[media_height]}');
$code['replace'] = array ($file_location, $site_url, $initialize->settings['media_width'], $initialize->settings['media_height']);
$code = str_replace ($code['search'], $code['replace'], stripslashes($file['code']));


But not works
any solution? is the code i have used correct?
Thank you very much

Ryan
09-17-2006, 10:41 PM
I'd have to see the actual code first. Please PM me admin access to your site.

xenon
09-18-2006, 01:32 PM
I'd have to see the actual code first. Please PM me admin access to your site.

I have sent you a PM :)
Thank you

Konda
09-19-2006, 05:00 PM
I have seen some sites lately on which it looks like that are actually having lots of different video formats, but they play all of them trough a custom flash player. So even .wmv and .avi, etc are all played/streamed trough a flash interface. I don't know how they do this exactly, but it would be interesting to look into if that would be possible.

I think on sites like Google Video and Youtube, the uploaders can upload all sorts of formats, and it plays all of them trough the same player. But if you actually download the files, you get the original format (like .wmv or .avi. etc).

Ryan
09-25-2006, 11:17 PM
These files are converted to .flv file formats.