On Nov 5, 6:00 pm, JohnM <[email protected]> wrote: > Hi, > > I'm trying to create an iui based interface for Freevo (an opensource > media centre). This includes an interface to the users media library > where they can browse photos, music, videos etc. When using the source > pages that make up the iui media library interface clicking on a link > either displays the photo or plays the movie/audio file on the ipod > touch as expected. > > When I integrate these into iui pages I can browse the media library > until I get to the point of following a link directly to a file. > Regardless of whether it's an image, video or sound file clicking the > link using the ipod touch freezes it. Testing the same in Firefox or > Safari shows what can best be described as jibberish text. Firefox > invariably crashes at this point too. I'm not a developer at all, I > know just about enough to cobble things like this together. I thought > the mime type wasn't getting detected and that might explain it but > after installing the Live HTTP Headers plugin for Firefox it looks > like it is getting the right mime type. > > This is easier to explain with a screenshot so I've uploaded it here > where you can see the jibberish text I was talking about and the > output from the live http headers. > > http://mail.gcd.ie/iui-content.jpg > > If anyone has any ideas or even pointers about how to debug this I'd > really appreciate it. If you need more info please let me know. > > John
Here's an example of page http://pastebin.ca/1658807 Within this then a link through library.rpy generates this code that's passed back into the iui page. Clicking 'Play' will give the result described above. <table class="itable"> <tr class="header"> <td class="header" colspan="1">Name</td> <td class="header" colspan="1">Size</td> <td class="header" colspan="1">Actions</td> </tr> <tr class="chanrow"> <td class="basic" colspan="1"><a href="library1.rpy? media=images&dir=/mnt/media/photos">« Back</a></td> <td class="basic" colspan="1"> </td> <td class="basic" colspan="1"> </td> </tr> <tr class="chanrow"> <td class="basic" colspan="1"><a href="library1.rpy? media=images&dir=/mnt/media/photos/2006_02_27/.thumbs">.thumbs</a></ td> <td class="basic" colspan="1"> </td> <td class="basic" colspan="1"> </td> </tr> <tr class="chanrow"> <td class="basic" colspan="1">miniworth_20060227_0016.JPG</td> <td class="basic" colspan="1">3.0 MB</td> <td class="basic" colspan="1"><a href="library1.rpy/mnt/media/ photos/2006_02_27/miniworth_20060227_0016.JPG">Play</a></td> </tr> <tr class="chanrow"> <td class="basic" colspan="1">miniworth_20060227_0017.JPG</td> <td class="basic" colspan="1">2.7 MB</td> <td class="basic" colspan="1"><a href="library1.rpy/mnt/media/ photos/2006_02_27/miniworth_20060227_0017.JPG">Play</a></td> </tr> </table> John --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en -~----------~----~----~----~------~----~------~--~---
