This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JForum and the fly likes Unable to view .mov video within forum post when accessed via iPhone (but works in normal browsers) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "Unable to view .mov video within forum post when accessed via iPhone (but works in normal browsers)" Watch "Unable to view .mov video within forum post when accessed via iPhone (but works in normal browsers)" New topic
Author

Unable to view .mov video within forum post when accessed via iPhone (but works in normal browsers)

James McNatty
Greenhorn

Joined: Oct 08, 2013
Posts: 2
Hi everybody,

I'm completely new to this forum (only just registered less than a minute ago), so if I'm going about this the wrong way /posting in the wrong forum, I apologize in advance.

I've done a quick search of this forum, but have not come across any previous posts related to my question/problem, so I thought I'd post this to see if anyone else has tried something similar.

My previous experience is mostly with IBM middleware (e.g. IBM Connections, Lotus QuickR, IBM HTTP server, Websphere App server, DB2 database server, etc), but I've recently had my first try at setting up a JForum 2.1.9 server, deployed on Tomcat 7.0.42 (with MySQL backend) running on Red Hat Enterprise Linux 6.4.

Everything works well, except our users have discovered that if they use their iPhone to access the JForum server, if they click on a .mov video attachment within a forum post, it does not display (it just shows a "broken" icon). However the video works fine when users access the forum post from a normal web browser on their computer.

If anyone has had any previous experience with this type of scenario, I would very much appreciate any feedback on your experiences.

Thanks in advance.

James.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30085
    
149

James,
Welcome to CodeRanch!

I suspect this problem isn't actually related to JForum. This post says (at least as of last year), the .mov format isn't supported on an iPhone. I think the first test you do is to try to play a .mov file on the iPhone that isn't from JForum. If it doesn't work, you know that you don't have a JForum problem.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41089
    
  44
After reading the article Jeanne linked to (I thought it unlikely that an iPhone wouldn't support Apple's own QuickTime movie format - so I had to check for myself :-) ), it seems that only some .mov encoding and/or compression formats are not supported on an iPhone. Intuitively that makes sense to me - you wouldn't want formats that tend to be large, or which tend to need a lot of CPU time to decode, on a mobile device. So some .mov files will work, and some won't, with no easy way to tell which is which.

As an aside, the JForum branch that culminated in version 2.1.9 is defunct. If you're just starting out, I suggest looking into this branch, which has a bunch of fixes and enhancements over 2.1.9 (even more so if you grab the unreleased but stable latest source code in SVN), and is still actively being worked on. In the interest of full disclosure, I'm a committer on that project.


Ping & DNS - my free Android networking tools app
James McNatty
Greenhorn

Joined: Oct 08, 2013
Posts: 2
Hi Jeanne and Ulf,

Thanks very much for the feedback. Much like Ulf mentioned, I didn't think to go and check for compatibility of the .mov files for iPhone given that it's Apple's own format, but I know agree that obviously the iPhone can't support every single specific codec, resolution, fps, etc.

I'm going to ask the end users to try create their .mov videos in a format which is supported by iPhones (as per the link you sent), and hopefully that should do the trick. Also, if I get time at some stage, I might look into giving JForum 2.3.4 a go too.

Thanks again.

Regards,
James
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Unable to view .mov video within forum post when accessed via iPhone (but works in normal browsers)
 
Similar Threads
Users in Groups or memberships
WebSphere MIME type(video/mp4) under Windows Server 2003(IIS 7.5):video not playing iPhone/android
Websphere Commerce implementation of JForum
using JForum login system globally
Resources for WAS