I know, I am asking stupid question but your experience will help me to improve my java script knowledge. Now a days, I am trying to learn advance concept in java script. So please help me to develop this small application. I want to play a video on button click event...Would be grateful for help.
3 Answers
There are a few ways to skin this cat. May I suggest spending some time to get acquainted with JavaFx:
http://docs.oracle.com/javafx/2.0/media/jfxpub-media.htm
http://docs.oracle.com/javafx/1.2/tutorials/javafx-javascript/index.html
I haven't done this myself, but I've been looking for an opportunity.
Comments
You can use HTML5 player or a flash player
- videojs HTML5 player
- Flowplayer demo
- and you can use Youtubbe and controll ti using JS YouTube JavaScript Player API