File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Displaying an .mp4 file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Displaying an .mp4 file" Watch "Displaying an .mp4 file" New topic
Author

Displaying an .mp4 file

Joe Ridener
Ranch Hand

Joined: Jul 16, 2012
Posts: 86
Hello Everyone,

I am a Java programmer and I am trying to post some clips of my coding/animations finished programs on my web-site. I tried posting an swf file but the quality was substandard and decided to go with an mp4 file instead. Now, IE explorer will not display the HTML5 video ( kind of want to include IE in my choice of display) and my older code is specifically for an swf player. Can someone PLEASE refer me to something that will undoubtedly work for such a task. Again it is an mp4 file were talking about here... and it is going on my site!!!
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61084
    
  66

To cover all browsers, you will need multiple video formats as there is no one format that all browsers support.

A good rundown can be found here.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Joe Ridener
Ranch Hand

Joined: Jul 16, 2012
Posts: 86
Bear Bibeault wrote:To cover all browsers, you will need multiple video formats as there is no one format that all browsers support.

A good rundown can be found here.


Thank you,

I could not get the Object param tags to work properly. Could you or someone recomend a good code for the .mp4 files as they are great samples of my Java work?
Rob Crowther
author
Ranch Hand

Joined: Nov 06, 2012
Posts: 295
    
    5

What object param tags? Why are you not using the <video> element?


Read my books: Hello! HTML5 & CSS3 | HTML5 in Action | Read my blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Displaying an .mp4 file