Results 1 to 2 of 2
Thread: Play A Video in JFrame
- 03-23-2012, 10:03 PM #1Member
- Join Date
- Mar 2012
- Rep Power
Play A Video in JFrame
Hey everyone, I recently decided to make a text adventure for a Sci-Fi General Elective final project. To introduce the player (my teacher) to the plot, I wanted to create a short video rather than have him read a few paragraphs of text. The issue is, I can't figure out how to play the video in Java. Most of the links google brought me to all discussed how to create an actual media player. All I want is to simply have about a 1 minute video (format doesn't matter I can always convert to the easiest format to use) play in JFrame before the player is brought to the "main menu".
- 03-26-2012, 01:25 PM #2
Re: Play A Video in JFrame
JavaFX has the capability to show video, but supports only a few specific formats'codecs.
Incorporating Media Assets Into JavaFX Applications: About This Tutorial | JavaFX 2.0 Tutorials and Documentation
If you go that route and have a question, please post in the Java FX forum.
dbIf you're forever cleaning cobwebs, it's time to get rid of the spiders.
- By 200808147 in forum New To JavaReplies: 0Last Post: 07-10-2011, 01:20 PM
- By Swankee in forum New To JavaReplies: 0Last Post: 10-12-2009, 09:38 PM
- By Hasan in forum Advanced JavaReplies: 11Last Post: 04-27-2009, 12:57 AM
- By arvind in forum CLDC and MIDPReplies: 0Last Post: 04-15-2009, 10:19 AM
- By luisarca in forum Sun Java Wireless ToolkitReplies: 2Last Post: 05-23-2007, 11:52 AM