page 2 | 24 posts subscribe new topic  
1 | 2
thread starter
KarateMedia | Georgia USA
I am trying to add mp4 video files to my website for PSP users to download. The problem I am having is that if a user clicks directly on the link from their PSP browser, they get a page full of nonsense code. In order to download, they have to press triangle to go into the PSP browser menu and manually select "Save Link Target" as happens on this page:

link (if viewed on a PSP, that is!)

Does anyone know the HTML code I need to add to simply start downloading to the PSP once a user has clicked on the file?
+
 
Replies

01/31/06 VantageX4 | Virginia USA
I just checked out the Connect site. All their downloads are zip files, which are always downloaded, not displayed.

If you want, use PHP to send force download headers.
+
 

01/31/06 13 KarateMedia | Georgia USA
VantageX4 -- did you go to the Connect site on a PSP?

When using the PSP browser, both www-psp-connect-com and www-connect-com/psp will automatically redirect to a PSP-specific site with the URL www-connect-com/psp/content. On this site, you can directly download .mp4 files to your PSP. It even gives you instructions on downloading to the correct folder.

I do not see anything in the source code for a page like link that shows it has any basis in PHP. I see some Javascript in there, but mostly basic HTML. I am not well-versed in PHP, so I may be overlooking something.

Edited b/c psp411 turned all my citations into links. Dashes = dots in the above URLs, of course.


edited: Jan 31 2006 
+
 

01/31/06 VantageX4 | Virginia USA
Yeah those links have nothing to do with php, you were right.

You should note, though, that traces of php don't show up in source code; its purely server-side.
+
 

01/31/06 DeadlyB | Georgia
On my site I use simple hyperlink(a) tags like you're doing. If people hitting this site get gibberish when they click the link, what is happening is that the web server you are using is most likely not sending the content type correctly to the browser. The browser doesn't get the content type so it assumes it to be text and just tries to display the bytes as text... hence the gibberish.

Is that content type registered on the server (mp4)? What web server are you using?
+
 

01/31/06 28 yoyo_pete | | Ohio USA | SOCOM: [BC] YoYo-Pete
It's a browser prefrence... If your browser knows it can open a MP4 file, it will just open it.. You have to "save target as" to get around that...

there's no way to force the code to do it.
+
 

01/31/06 13 KarateMedia | Georgia USA
yoyo_pete: It's not a browser thing. I'm specifically speaking only of the PSP browser, which works fine with sites like the Connect site mentioned above but doesn't work the same with mine.

DeadlyB: I use ipower for web hosting. Here is the server info:

operating system

FreeBSD 4.11-STABLE

mysql version

mysql Ver 12.22 Distrib 4.0.16

perl version

perl, v5.8.3

php version

PHP 4.4.1 (detailed PHP information)


Oh, and to VantageX4 -- this answers a question you asked me in another thread about PHP RSS feeds: My site uses PHP 4.4.1


edited: Jan 31 2006 
+
 

01/31/06 13 KarateMedia | Georgia USA
Hmmm... a quick gander at freebsd.org and google doesn't turn up what I'm looking for. The release notes for 4.11 have a subhead for "Multimedia Support" but no information underneath. It's time for dinner and a long drive, so I'll try searching again at a later time. Thanks for helping point me in the right direction, DeadlyB...
+
 

03/24/07 Defcon | Malaysia
I also got a same question alike KarateMedia talk about. My senario is i have to develop & design a mobile web site for PSP web browser platform. But now i cant enhance my web design because of this. I really understand and agree with KarateMedia that how come www-psp-connect-com "can do it". But in here i believe all of this is related to scripting no need to involve with server MIME setting or else. We just "ask PSP web browser" to download it into our PSP Video folder directly, we not "ask PSP web browser" to play it on browser. Normally if we "ask" a multimedia file to play on browser; Yes! on certain issue we have to define that media format (MIME setting) to server recognize it where it can "communicate" between server - browser. I also agree with KarateMedia again, i already searching on search engine and also forum that related to PSP to find answer for this issue but sound like nobody know about it. I also try to dig more details infomation about this PSP web browser where we as developer can know any advantage/limititation on this browser where we can manage/enhance our PSP web site. I also send email to Netfront (PSP browser developer) request for a full detail spec about this browser but till today i got no answer. However base on my R&D, what i found is this PSP web browser running with Flash player ver 6. Therefor any video/multimedia streaming/FLV streaming on PSP web browser will be fail because we need at least Flash player ver 7 above to view it.

However i paste again my question that i send to everyone/every forum where i wish somebody can help me:

=================================================================================

I got some question regarding web scripting. I would like to design my personal blog web site for SONY PSP platform. I also wanna to put some of my MP4 movie (what i know is SONY PSP support MP4 video format only) However i got a problem on my web scripting. Actually i want to do like this when someone surf with PSP browser and want to download my Mp4 movie file so PSP browser will ask like this :

"Do you want to save this file?
File Name: filename.MP4
Address:
link

YES NO

*p/s If we choose YES that will be download

automatically to folder name --> /VIDEO/

I already try with this code:

<a href="http://www.domain.com/filename.MP4">download</a>

But my PSP web browser didnt come out with that quote like above. For example you can visit this web site.

link

It is different result when you open with normal PC base browser (IE/Mozilla), so i advice you test with PSP web browser. So right now i want to know how i can scripting where PSP Mobile will be download automatically into Video folder on our PSP.

Thanxs
+
 

04/21/08 katoren | Spain
Hello.
Excuse my english use an online translator.
All you need to add to your file server .htaccess with this content:

AddType audio/mpeg mp3
AddType audio/mp4 mp4

Had the same problem and this is the solution.
Thanks
+
 

1 | 2

register / login
you must be a member to reply or post. signup or login