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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply 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: 62
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: 56185
    
  13

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.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Joe Ridener
Ranch Hand

Joined: Jul 16, 2012
Posts: 62
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: 165

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


Read my books: Hello! HTML5 & CSS3 | HTML5 in Action
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Displaying an .mp4 file
 
Similar Threads
How to display swf in struts dynamically?
how I may copy swf components in JSP Pages, and use in my website..
WebSphere MIME type(video/mp4) under Windows Server 2003(IIS 7.5):video not playing iPhone/android
.swf file is not loaded in my machine
URL-Pattern, Internet Explorer and Flash Videos