0

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 3

1

you can building HTML5 video controls with JavaScript

HTML5

<video>
  <source src="filename.mp4">
  <source src="filename.webm">
  <source src="filename.ogg">
</video>

check this link and Demo

Sign up to request clarification or add additional context in comments.

Comments

0

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

0

You can use HTML5 player or a flash player

  1. videojs HTML5 player
  2. Flowplayer demo
  3. and you can use Youtubbe and controll ti using JS YouTube JavaScript Player API

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.