Posted March 3, 201510 yr I was wondering if there is a way to play a video in minecraft. I will have a trailer for my mod and I would like to play it when someone clicks a key (I have a key binding already). Is this possible?
March 3, 201510 yr http://www.deitel.com/articles/java_tutorials/20060422/PlayingVideowithJMF/JMF_Page2.html Found via "how to play a video in Java" in google. Left as an exercise to the reader on how to combine that code with a Minecraft gui render handler. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
March 3, 201510 yr It is important to remember that Minecraft and Forge are in Java, so pretty much anything that is possible in Java is possible in a mod. So don't restrict your google searches to Minecraft topics, but look for Java explanations. However, regarding video in mods I would suggest you consider other alternatives, since the video can make the file big and it may be a lot of work to get it working correctly. Why do you want video? If it is for cut-scenes, I'd say that doing more of an animation (series of still images) is a lot easier to code. If you want the video to provide help, maybe just link to a YouTube video instead. But if you really need in-game video for your mod, start by figuring out generally how to do it in Java. Check out my tutorials here: http://jabelarminecraft.blogspot.com/
March 3, 201510 yr Ok, I'll try. But, ya, I was just thinking that maybe I could use a video, but I just realized, the video I want to use is still images, with music in the background (more or less). I might be able to just play around with java and get something working. thanks for the help everyone.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.