| Author |
Playing Video in JSP
|
Hari Dhanakoti
Ranch Hand
Joined: Jan 07, 2008
Posts: 74
|
|
Hi all, I have a task of playing an video file on JSP pages. I had tried to play in some swings its working but i have to play the file in a browser. Can you please help me on how to play the video file in JSP. -- Regards, Hari
|
Regards,
Hari
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56185
|
|
|
"Wing Rider", please check your private messages for an important administrative matter.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56185
|
|
|
JSP is merely a server-side templating mechanism to format HTML pages to send to the browser. So you would play video in a JSP the same way that you would any other HTML page. This topic has accordingly been moved to the HTML forum.
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
Take a look at this: http://www.oreillynet.com/pub/a/javascript/excerpt/learnwebdesign_chap22/ Eric
|
 |
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
|
|
Originally posted by Wing Rider: ... I had tried to play in some swings ....
Swing is a proper noun. [ January 21, 2008: Message edited by: Ben Souther ]
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
Qussay Najjar
Ranch Hand
Joined: Jan 18, 2008
Posts: 53
|
|
Simply, write the next... <EMBED SRC="filename.???" loop="1" height="??" width="??" autostart="true"></EMBED> this will open in whatever the users defualt player is for that format. If its an .avi or .mpeg it will open in media player is its a .ram or something it will open in real player etc.. have fun...
|
Qussay NAJJAR
|
 |
 |
|
|
subject: Playing Video in JSP
|
|
|