简体   繁体   中英

How to play several Videos in sequence way in Javascript?

Sorry for my ignorance but I am starting in Javascript programming and I would like to make one app to play video assets sequentially. My app project is the following: I have one menu and three buttons to play each video and I would like to add Javascript code for that when the user click (for example) the first button and then the second button, the apps plays the first and second video in sequence way or if the user click the second and third button the app plays the second and third video assets and so on, for it, Could anybody say me how I have to program it in Javascript code? Hope you can understand me(sorry for my little english). Thanks in advance

Alejandro

Take a look at some of the video players here: http://html5video.org/wiki/HTML5_Player_Comparison .

Most of th eplayers listed there has JavaScript API.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM