Playing audio and video files in JSF (.wav,.mp3)

Hi,
I would like to know how to play audio and video files such as .wav,.mp3 in jsf .
could any one please post the code for playing the wav files.
Thanks,
Ram

There is no JSF component to do this, so you would have to write your own custom component to render an <object ...> element.
Or, you can use <f:verbatim> wrapped around an html <object ...> element.

Similar Messages

  • Is it possible to play audio and video files(urls) directly in webView ?

    Hello Everybody,
    I have implemented one article page in webView. The content of the that page is html file. There are some links for audio and video files. Is it possible to play that links directly in that webView by clicking them?
    Or is there any other way to play this files?
    Any kind of information on this topic is highly appreciated.
    Thanks,
    Pandit Pakhurde

    Is it important that the music come from a video, or are you just looking to listen to music in the background, while doing something else.  If the later, you can certainly play music from the Music App, Pandora, or iHeart Radio, etc., and with the music playing, tap your home button to go to your home page and open anything else you want and the music will continue.
    I don't have any videos to try out right now, but you try the same thing out and if the music continues, it works.  If it doesn't, it doesn't.

  • Cracking sound when playing audio and video files.

    My notebook computer has got this problem with the sound. Any time I play an audio file or a video file the sound crack and causes file to play slowly. 
    here is a brief detail of my notebook
    Operating system- Windows 8
    Model- Compaq CQ58-270SO
    Country-Denmark

    Hi Dasana,
    I understand any time you play an audio file or video file the sound cracks, and the file starts to play slowely on your HP Compaq CQ58-270SO. I would like you to go ahead and start: Resolving Microphone and Line-in Problems (Windows 8)
    Please let me know if this was helpful, I will watch for your reply.
    Thank you,
    HevnLgh
    I work on behalf of HP
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to the left of the reply button to say “Thanks” for helping!

  • OT: What viewers do you need to use ALL audio and video files?

    I had a lot of trouble with audio and video files on my PC. I
    now have a
    MacBook Pro, which is a big improvement. But I still
    frequently
    encounter files that I can't use. I try to open them, but
    Apple doesn't
    know what to do with them. For example, I often encounter
    unusable
    videos while perusing news websites. I also have some audio
    files with
    .mva or .mvw extensions that don't work.
    So what viwers/players do I need to download in order to be
    able to play
    every audio/video file that comes my way? iTunes handles .mp3
    files, and
    I also have QuickTime installed. I just viewed another video
    after I
    installed a Flash plugin. What else do I need to install?
    Thanks.
    www.geobop.org - Family Websites
    www.invisible-republic.org - Adult political websites (Mature
    adults only)

    VLC is a big favorite
    http://www.macupdate.com/app/mac/5758/vlc-media-player

  • Windows audio and video files

    I have received a .wmv video file as an email attachment. When I open it, it is the code which comes up. So far I have been unable to play it in either itunes or Quicktime. The mac Help informs me that the Imac can handle all windows generated audio and video files. What do I need to do to play the file?

    What you need is the Flip4Mac plugin for QuickTime:
    http://www.telestream.net/flip4mac-wmv/overview.htm
    Click the link for the free WMV Player, download, install it, and you should be fine.

  • How to combine discrete audio and video files?

    I am working on a project which requires me to merge a video file with a PCM audio file from another source.
    I just bought Compressor 4.1.1, expecting to be able to do exactly this.
    The only "multiple input - single output" option I can see is creating a surround sound group, adding my audio as left and right channels, and then attaching the video.
    This does not work. Pressing "add" at the end of the process does not result in a new job.
    Help please!
    G.

    QT7 Pro is able to do this. Cost is $30.
    In QT7 Pro, open up the audio and video files to be matched.
    Select all the audio and then select copy
    In the video window, put the playback head where you want the audio to start then select add to movie.
    Verify the playback is as desired, then save the movie. Done.
    Takes longer to describe the process than to do it.
    x
    Of course, life is good when the in point is exactly the same for both audio and video ...

  • How can I combine the audio and video files from youtube downloads when they don't automatically combine?

    I'm using YouTube Video and Audio Downloader. Sometimes the audio and video files combine automatically, sometimes they don't - remaining as separate " DASH - .m4a and DASH - .mp4 ". It used to be that when this would happen I could open up a "ffmpeg" window which would allow me to "manually" convert them to a combined .mp4 file. It was a "drag and drop" type of interface. For some reason I can no longer access that ffmpeg combining function. I tried clicking on ffmpeg.exe. I tried re-downloading ffmpeg several times, both from the Downloader options tab and from the ffmpeg website.
    Thanks for your help.

    Sounds like a question for the developer of the video download add-ons that you have installed.

  • Separate audio from video - I want BOTH an audio and video file

    Hi,
    I would like to separate audio from video - I want BOTH an audio and video file.
    I don't think this can be done without additional software, but if it can, pointing me in the right direction would be much appreciated.
    Brandon

    You need Quicktime 7.6 Pro. Control+J to bring up the property window. In the property window is an extract button. Click on either the video or audio and click to the extract button.
    You'll find Quicktime 7 in your Utilities folder. If Quicktime 7 isn't install in the Utilities folder you need to install it from you OS installation disk, in the optional installations folder.
    If you don't have Quicktime Pro you need to buy it from the Apple store.

  • How do I combine separate audio and video files into one Quicktime movie?

    I have DVDs that contain separate audio and video files in folders marked Audio_TS and Video_TS. I would like to know how to combine these files into a single Quicktime movie. Is there inexpensive or shareware software that imports and unites these files reliably? A simple solution is preferred, rather than getting into complex media editing applications.
    G4 eMac   Mac OS X (10.4.9)  

    Doug - the VOB files (in the VIDEO_TS folder) are MPEG-2 files. MPEG-2 have the video and audio mixed into the one file - there are no audio files to combine.
    The rest are directions to a DVD player (e.g. the BUP and IFO's) . The AUDIO_TS folder is used for DVD Audio discs and on video DVDs is always empty.
    Many people use Handbrake or iSquint to convert VOB to iPod video though MPEG Streamclip is the best - open the first numbered VOB and it will prompt you to open all of them. ALWAYS fix timecodes when it asks. You can then edit/trim and export to MPEG-4.

  • Synchronizing several audio and video files automatically in premiere?

    Hi there!
    I'm working on a short film shot on the Arri Alexa, and all my audio is on seperate audiofiles, though synced through time code. So I'm wondering: In Premiere CC, is there a way to automatically synchronize several audio- and video files, using timecode (as you can in Avid), without having to merge them individaully? THis would save me a lot of time.

    You can try using the "create multicamera sequence" command. That will create "multiclips" of your footage with its related audio. It can sync with timecode or use the audio for synchronization. When you need to export the edit for color grading, you can select all of them and choose multicamera>flatten. But beware that if you apply effects, such as speed ramp or intrinsic effects, those will be removed on a "flatten" command.

  • Play audio and video on form.

    i want play audio and video at form plzzzzzzzzz help me

    in 6i there is a Item-Type called SOUND. You can use this for Sound. There is no direct feature for video.
    ! Don't use the SOUND-Item's, because they are obsolet in Forms 10g !
    Else you can use JavaBeans , which you have to find in the Internet or build for yourself to manage audio and video

  • Mystery Safari will play audio and videos by itself.

    If i leave safari open with youtube it will start playing audio and video all by itself.
    How do i stop this from happening?
    thanks, jim

    Try to disable the hardware acceleration in the Flash Player.
    See:
    * https://support.mozilla.com/kb/Cannot+view+full+screen+Flash+videos
    * http://www.youtube.com/swf_test.html (right-click the player: Settings)
    Flash "Display settings" window:
    * http://www.macromedia.com/support/documentation/en/flashplayer/help/help01.html

  • How to delelte audio and video files on C7 and int...

    hey everybody,
    i have bought a new C7 yesterday and i am facing two problems:
    1. I am unable to delete audio and video files from my mobile. how to do it?
    2. while my wlan connection works perfectly i am unable to connect to net thru 3g and GPRS ( i am a bsnl user and have save all the settigns).
    any help will be greatly appriciated

    hey everybody,
    i have bought a new C7 yesterday and i am facing two problems:
    1. I am unable to delete audio and video files from my mobile. how to do it?
    2. while my wlan connection works perfectly i am unable to connect to net thru 3g and GPRS ( i am a bsnl user and have save all the settigns).
    any help will be greatly appriciated

  • Embedded audio and video files with Acrobat x Pro

    Can an audio or video file be embedded in a document with Acrobat x Pro & opened with Adobe Reader xi?

    You can place video or sound files onto the pages of a PDF file using the Multimedia button on the Tools Pane > Content Panel. The result is called a Rich Media Annotation, and will play back on the desktop versions of Adobe Acrobat and Adobe Reader.
    The files have to be compatible with Flash Player, so videos need to be in H.264, FLV or F4V, and audio files in MP3.

  • Capture audio and video files to seperate files

    Forum,
    Having suffered problems with OS 10.5 and Quicktime 7.4.1 I have done a clean install with 10. 4 .11.
    When I select capture the following notice appears
    "Audio only capture selected,video preview disabled"
    In system settings "capture audio and video to seperate files " is NOT checked.
    But that may not mean the same as the statement in in the capture window.
    I have searched HELP and a book called" Optimizing your Final Cut Pro System" but can not find an answer.
    Advice would be appreciated.
    Thank you
    Michael Craven

    Hi,
    Check this:
    in Log & Capture window select Clip Settings tab and make sure video box is checked.
    Cheers,
    G.

Maybe you are looking for

  • Safari won't open on my MacBook Pro.  How do I get it to open?

    safari won't open on my MacBook Pro since I inadvertantly downloaded and then trashed Genieo.  I can open it is safe mode. How do I get it to open?

  • I had a lost/stolen phone:plus coverage how could I get serial number or IMEI number for an iPhone5s

    I had trouble trying to get inside the company with out  serial number or an IMEI number by which the phone is not in my hand. #1 would I get an phone for half price of an new one?#2 would I have to get an police report to get another one?(phone)? I

  • Odd Shut Down/Restart Issue

    I am running a MacBookPro with Leopard, and recently I have been finding that I am unable to shut down or restart the computer without having to hold down the power button. When I tell it to do either command while a program is running, it will quit

  • VF31 issues

    While executing T-Code VF31 with processing mode 1 we are getting this message "No message for initial processing exist" ,for processing mode 2 the message comes "No messages for repeat processing exist" and for processing mode 3 the message comes "N

  • PSE 8 upload hour glass does not go away

    I have had PSE 8 since 2009 and have never had a problem until two weeks ago.  When I upload photo's to the organizer they come into the multi-screen with only the hour glass showing.  If I double click on the hour glass to get it into the single scr