Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

cwolves

macrumors regular
Original poster
Oct 11, 2007
120
0
okay, just admit it...anyway...

- jailbreak it
- install apache
- ssh in and type:
- "mv /Library/WebServer/Documents /private/var/Documents"
- "ln -s /private/var/Documents /Library/WebServer/Documents"
- the previous step moves your web server root off the 300mb part of the flash that's used for the OS and onto the 8/16gb part.
- sftp your movie into /Library/WebServer/Documents
- make an .html page, for this example "porn.html"
- add this to it:
<object codebase="http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B">
<param value="for the birds.mp4" name="src"/>
</object>
- replace "for the birds.mp4" with the name of your movie
- visit http://127.0.0.1/porn.html
- click the quicktime icon
- enjoy
- clear safari history

you can make your html page a file browser, or whatever.
 

janey

macrumors 603
Dec 20, 2002
5,316
0
sunny los angeles
You could save the trouble..and pad the movie with scenes from another movie and just use iTunes. Like have it sandwiched between like 10 minutes of Ratatouille or something. And name it Ratatouille. :p
 

cwolves

macrumors regular
Original poster
Oct 11, 2007
120
0
You could save the trouble..and pad the movie with scenes from another movie and just use iTunes. Like have it sandwiched between like 10 minutes of Ratatouille or something. And name it Ratatouille. :p

until my nephew wants to watch Ratatouille and I can't give him a good reason as to why he's not allowed to :) Or better yet I happen to leave my iPod lying around and he decides to watch it.
 

tony Ramirez

macrumors member
Oct 13, 2007
98
0
or u could just enjoy it much mmore on a regular computer screen and not waorry about it screwing up ur ipod
 

janey

macrumors 603
Dec 20, 2002
5,316
0
sunny los angeles
until my nephew wants to watch Ratatouille and I can't give him a good reason as to why he's not allowed to :) Or better yet I happen to leave my iPod lying around and he decides to watch it.

Good point. Name it something else much more boring and probably less appealing to your nephew? Like..."A Lecture on the Big Bang theory"..har har :D
 

jce469

macrumors newbie
Oct 4, 2007
5
0
that ish is hilarious. a lot of work to hide the pr0n. just rename the video to something else and then change the album artwork.then rub one out in the bathroom. they need a 3rd party lotion dispenser attachment on the iphone
 

Something4Kate

macrumors member
Oct 2, 2007
33
0
London
remember to wipe the screen afterwards
So, there might be good market for covers for the touch after all!! :D

When I mentioned that the touch could play video on a watchable screen to my mate, filth was the first thing that sprang to his mind. Might try encoding something and calling it rat-a-too-ee :p

Shame you can't choose the thumbnail for movies on the touch :eek:

SFK
 

madmaxmedia

macrumors 68030
Dec 17, 2003
2,932
42
Los Angeles, CA
This could be used to view locally stored PDF's and other files, right? Alternatively, you could hide a lot of porn pic galleries as well... ;)

If so, would you have to create the html file referencing it? Or could you just go to http://127.0.0.1 and see a listing of all files in the directory? (assuming you didn't create an index.html)

I think there is some configurable setting in Apache that determines whether you get a folder listing in the absence of an index page, not sure how to tweak that if necessary.
 

cwolves

macrumors regular
Original poster
Oct 11, 2007
120
0
Hmm.. I was wondering what clever uses people might find for apache on ipod.

Any others??

I actually use it as apache *gasp* - have php/sql on it and show sites to clients.

And ironically I haven't done (yet) what I suggested in this thread. I did write a file browser for VLC, however (to use the itouch as a remote) that I might port for this general purpose...unless someone can figure out how to play media through finder, which I can't as of yet.
 

solyd

macrumors regular
Oct 15, 2007
181
0
I actually use it as apache *gasp* - have php/sql on it and show sites to clients.

And ironically I haven't done (yet) what I suggested in this thread. I did write a file browser for VLC, however (to use the itouch as a remote) that I might port for this general purpose...unless someone can figure out how to play media through finder, which I can't as of yet.

Just a thought:
https://forums.macrumors.com/threads/371167/
 

Laurent

macrumors regular
Apr 27, 2003
201
0
Montréal, Québec
Wirelessly posted (Mozilla/5.0 (iPod; U; CPU like Mac OS X; fr) AppleWebKit/420.1 (KHTML, like Gecko) Version/3.0 Mobile/3A110a Safari/419.3)

I don't know, I would steal the layout of a iPhone video-based website, I would store those videos on a secret website and I would stream whatever I need when I need it...
 

madmaxmedia

macrumors 68030
Dec 17, 2003
2,932
42
Los Angeles, CA
Do I have to install BSD subsystem or anything like that?

EDIT- Installed BSD Subsystem, all is well-

This is a great way to store local documents (of all types ;)) for viewing. If you don't have an index.html page, the browser will show a directory listing of the folder, including subfolders. So you can organize various documents, etc.

It's amazing how powerful and hobbled (for arguably good reasons) the Touch/iPhone is. We don't have the most rudimentary file level access, yet you can run an Apache server on the unit to get around this. ;)
 

BigCanoe

macrumors 6502
Jan 13, 2003
397
89
Ok, I admit, I tried it, but my page displays a grayed out play button with a line through it.
 

cwolves

macrumors regular
Original poster
Oct 11, 2007
120
0
Ok, I admit, I tried it, but my page displays a grayed out play button with a line through it.

the part that says:

<param value="for the birds.mp4" name="src"/>

did you replace "for the birds.mp4" with the file name, EXACTLY as it is? it's case sensitive.
 

BigCanoe

macrumors 6502
Jan 13, 2003
397
89
That did it, there was a typo. How do you get it to play video in landscape?

Nevermind, just rotating the ipod did the trick.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.