• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Playing Video in JSP

 
Hari Dhanakoti
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64721
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Wing Rider", please check your private messages for an important administrative matter.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64721
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Qussay Najjar
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic