Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within HTML Pages with CSS and JavaScript
Search Coderanch
Advance search
Google search
Register / Login
Win a copy of
TDD for a Shopping Website LiveProject
this week in the
Testing
forum!
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Paul Clapham
Ron McLeod
Jeanne Boyarsky
Tim Cooke
Sheriffs:
Liutauras Vilda
paul wheaton
Henry Wong
Saloon Keepers:
Tim Moores
Tim Holloway
Stephan van Hulst
Carey Brown
Frits Walraven
Bartenders:
Piet Souris
Himai Minh
Forum:
HTML Pages with CSS and JavaScript
how to play audio/video file on the client browser
mohan cheepu
Ranch Hand
Posts: 49
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
please any hlep to me .i need source code for that one
K Kiran Kumar
Ranch Hand
Posts: 109
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
The below code executes an existing audio or video file on your local desktop D:\ drive.
try
{
String
arr = "cmd.exe /C start D:\\My_audio_or_video.mp3";
Process proc = Runtime.getRuntime().exec(arr);
proc.waitFor();
}
catch (Exception e)
{
e.printStackTrace();
}
Regards,
Kiran.
Regards,
Kiran.
[ May 21, 2008: Message edited by: K Kiran Kumar ]
Ulf Dittmer
Rancher
Posts: 43027
76
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Do you have a particular file format in mind? QuickTime can play many audio and video formats, and it comes with a browser plugin.
Disregard the previous post; it doesn't help in a browser environment.
[ May 21, 2008: Message edited by: Ulf Dittmer ]
The airline is called "Virgin"? Don't you want a plane to go all the way? This tiny ad will go all the way:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Window Media Player In Java
Buffering a Video
JFrames
Playing Video in JSP
Playing Video in JSP
More...