Play audio and video in a player?

Hello

Is it possible to play audio and video is the same player?

If I give the video url video will play and even sound?

I think you can do a work arround as follows-

In both cases, you create the plyaer in same way-

A player = Manager.createPlayer (urlToPla);
Player.Realize ();

But in the case of video, we get the VideoControl and get the associated display field.

VideoControl videoControl is player.getControl("VideoControl") (alarm);.
Field videoField = (videoControl.initDisplayMode) (field)
VideoControl.USE_GUI_PRIMITIVE,
"net.rim.device.api.ui.Field");

and then we add this field to the display Manager.

Then first check to see if you get the field correctly prior to adding(as in case of audio this may be null)-

If (videoField! = null) {}

Add (videoField);

}

I have not tried, but give it a try, it may be useful.

Tags: BlackBerry Developers

Similar Questions

  • I accidentally blocked play audio and video on the BBC website. How can I unlock it?

    Today, a new video palyed often opens the door to a range of other unwanted videos.
    When my cursor hovered over this video window, engine block sign will appear in the upper right. I clicked on it, thinking that he would block the Stream of videos. Instead, who had arrested ALL the audio AND video games I can get on the BBC website.
    How can I unlock it?

    Hi, please see under the permissions tab and check the setting of the Flash - Page Info window - see technical details on the page you.

    If you are using an adblocker as Adblock Plus, also look at options/filter preferences.

    Either way, you have several version of Shockwave Flash - the oldest should be deleted - How to uninstall the Flash if necessary.

    If your question is resolved by this or another answer, please take a minute to let us know. Thank you.

  • Windows Media Player unable to play audio and video files

    Codec Windows Media Player 11 (wmp11) problem

    Hi, I'm with windows media player 11 and I installed the codecs ffdshow, vista codec package and klite codec... but I would not be able to play some audio files and video files.

    Could you please give us the link to the full package of codec for windows media player 11 (wmp11)

    Thanks in advance.

    Hello

    Use the CCCP codec as above and if you need for a particular file type, then after a
    message here and/or use Google.

    -Free - CCCP also get free tool of insurgents
    http://CCCP-project.NET/

    -----------------------------------------------------------------------

    Have you tried to use VLC which needs no codec for most files.

    I hope this helps.

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • When I import a video file into Windows Movie Maker it plays Audio and video

    When I import a video file into Windows Movie Maker, it plays the video and no Audio how to import the video file so that it contains the audio when the time to line up? Help?

    Original title: when I import a video file into Windows Movie Maker, it plays the video and no Audio how to import the video file so that it contains the audio when the time to line up? Help?

    When I import a video file into Windows Movie Maker, it plays the video and no Audio how to import the video file so that it contains the audio when the time to line up? Help?

    Watch the video file. The last 3 letters represent the file format.

    Windows Movie maker only supports the following video file formats:

    Video files: .asf, .avi, .dvr-ms, .m1v, .mp2, .mp2v, .mpe, .mpeg, .mpg, .mpv2, .wm, and .wmv

    If yours is not on the above list, Movie Maker will have probel play.

    In this case, you will have to google for a free video converter and change the format of your video file to WMV. WMV format is the most reliable format for Windows. For the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

  • Center of Windows 7 media won't play audio or video files

    A month ago, everything was fine, but then a wave of updates for Windows 7 has essentially killed my Media Center.  It is no longer sees my audio files and gives me an audio error when I try to access the library.  He sees my video files, but then gives me a video error.  Still, Windows Media Player can play audio and video files.  I have tried a system restore, went into the control panel and or power off the components of the system, ran the command prompt to use sfc/scannow, nothing helps.  Anyway I can just clean the Media Center and download an uncorrupted version?

    System specifications: Acer Aspire R3700 Windows 7 X 64
    Concert w/2.0 Intel Atom D525 1.8 GHtz CPU CPU RAM

    Hello

    Thanks for posting the question in Microsoft Commuity!

    We start with a few questions:

    1 have had any changes made on the computer before the show?

    2. What is the full and exact error message?

    3. What is the format of audio and video files?

    Method 1:

    See the article and try to run the Troubleshooter:

    Audio problems in Windows Media Center

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-audio-problems-in-Windows-Media-Center

    This article also applies to Windows 7.

    Method 2:

    Update the latest Codecs and see if the problem still occurs:

    Note: using third-party software or a link, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third party software or link can be resolved. Using third-party software or a link is at your own risk.

    Method 3:

    I would also suggest update you the audio and display drivers and check if it helps:

    Updated a hardware driver that is not working properly

    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly

    Let us know if it helps. If you are always faced with the question, please answer and we will be happy to help you.

    Thank you.

  • Satellite C650-152: Audio and video started to jump after software update

    Download the latest BIOS updates and as requested my laptop network card, and now all the audio and videos, including on the internet, jump every few minutes.
    Really annoying as didn't have the slightest idea on the computer technical stuff and it doesn't seem to be in any way ask Toshiba support.

    Any help would be appreciated, I have a Satellite C650-152 with Windows 7.

    Hello

    Go into the BIOS (F2 when starting the laptop) and in the BIOS the BIOS default settings.
    Press F9 for default settings.
    Save the changes and restart the device.

    May I ask if this product just streaming audio or video from the internet or have you noticed that play audio and video files stored on the HARD drive?

  • audio and video synchronization on a file in the library media player Windows 7 Home Premium 64-bit

    How can I synchronize audio and video on a file in the library media player Windows 7 Home Premium 64-bit
    video play about a second faster than the audio, the download is good, cause it works on another computer on a flash drive...

    How can I synchronize audio and video on a file in the library media player Windows 7 Home Premium 64-bit
    video play about a second faster than the audio, the download is good, cause it works on another computer on a flash drive...

    Set up a device to sync in Windows Media Player

    Sync manually in Windows Media Player

    Windows Media Player sync: frequently asked questions

  • Premiere Pro CC 2015 video / Audio won't play - Out-of-Sync Audio and video clock errors

    After the installation of Premiere Pro CC 2015 I am unable to actually play my video in the timeline.

    I must point out that the same video and audio files accurate work perfectly in my previous version of CC 2014.

    Usually when I hit the play button nothing will happen and then after a time it will stutter back and fourth between a small loop (no audio present) and give an error that says "clock Audio and video out-of-sync (instead of time) in"Adobe Player.

    I tried full uninstall and reinstall Premiere Pro CC software 2015 without success. I also tried to delete all the preferences of Premiere Pro to my settings user without success. I should also mention that after effects CC 2015 is oddly also often send me errors do not have enough executives, so I'm not sure if they are related. Once more, the CC 2014 version works perfectly.

    For reference the video file is a .avi with Xvid compression and sound is a .wav. These have always been used exactly the same with CC in 2014 without problem.

    Computer:

    8.1 - fully updated for Windows

    NVIDIA GTX 780 video card

    32 GB of ram

    3770K i7 processor

    All Nvidia drivers are also updated.

    I also ran a full virus and malware scan just in case for some strange reason, that was at fault, and I ran into zero issues. Media Encoder, Photoshop, and Illustrator CC 2015 that all seem to work great.

    I am quite technically savvy and this one left me speechless, that really stinks that I was looking forward to the potential improvements to speed updates. That's life.

    Matt Borchert wrote:

    Nothing seems to be enabled. The CAD is what is selected in CC 2015 as shown in the image above. It is the only available thing to choose, and I can't select None or disable.

    Thank you.  In 2015, CC, you can click on the settings... button in the Audio hardware preferences.  Then in the record of the OS dialog box tab, you can disable manually (for example, right-click and choose the appropriate option) the SPDIF input.  It is only a temporary workaround until get out us a patch with a fix, but let me know if it works for you.

  • Windows Media Player-audio and video freezes during playback

    FREEZE AUDIO AND VIDEO IN WINDOWS MEDIA PLAYER OR VLC MEDIA PLAYER

    FREEZE AUDIO AND VIDEO IN WINDOWS MEDIA PLAYER OR VLC MEDIA PLAYER WHILE THAT WATCHING VIDEOS.  WHEN THE IMAGE AND THE SOUND HANGS, THERE IS A DULL NOISE.  THIS FREEZING HAPPENS ON EVERY MINUTE OR SO.  THAT HE IS PAST JUST STARTED ABOUT 3 DAYS AGO.  BEFORE THAT ALL WAS WELL WITH THE PC AND WATCH VIDEOS.  I RUN A FULL WITH MICROSOFT ESSENTIALS SCAN AND SAYS THAT SOME THREATS NOT FOUND.  I REBOOTED, DEFRAGGED, REMOVED THE POWER CORDS, ETC. WITHOUT SOLUTION.

    PLEASE ME TELL HOW I CAN STOP THIS PROBLEM?

    FREEZE AUDIO AND VIDEO IN WINDOWS MEDIA PLAYER OR VLC MEDIA PLAYER WHILE THAT WATCHING VIDEOS.  WHEN THE IMAGE AND THE SOUND HANGS, THERE IS A DULL NOISE.  THIS FREEZING HAPPENS ON EVERY MINUTE OR SO.  THAT HE IS PAST JUST STARTED ABOUT 3 DAYS AGO.  BEFORE THAT ALL WAS WELL WITH THE PC AND WATCH VIDEOS.  I RUN A FULL WITH MICROSOFT ESSENTIALS SCAN AND SAYS THAT SOME THREATS NOT FOUND.  I REBOOTED, DEFRAGGED, REMOVED THE POWER CORDS, ETC. WITHOUT SOLUTION.

    PLEASE ME TELL HOW I CAN STOP THIS PROBLEM?

    =======================================================
    It might be worth a try to do a system restore in time before the beginning of the question.

    (306084) how to restore Windows XP to a previous state
    http://support.Microsoft.com/default.aspx?kbid=306084

    Volunteer - MS - MVP - Digital Media Experience J - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

  • audio and video out of sync in first pro cc 2015, player QT video on a mac mini

    So, I use Adobe Premiere pro cc 2015 to change a screen capture video recorded with quicktime player. I'm on a mac mini with OS X el capitan, and it was my first time using first (so I probably just doing something wrong because I do not know the program, but anyway, I imported the video into the first, (it's a .mov file format) and the video and audio are out of sync) so I thought ok, I can simply detach the audio, move it above, the re - attach it, right? so I found a part of the video that has been easy to match the audio and video, and I lined up. Everything was perfect until I went to other parts of the video and realized that they were always out of sync. Apparently, the video is at a different speed or format or something as the audio, and even if I have lined up on the one hand, the other parts are always out of step. I looked at how to fix, I messed with the project settings, then tried to change a .mov to a mp4 (because a mp4 file that I already have on the computer was functioning very well in first) and finally, as a last effort, I downloaded version 2014 so and NEITHER VERSION WORK they both the same number.

    If someone can please help me I WILL BE so HAPPY and thanks a lot in advance

    I am really sad because I'm upgrading to use iMovie (ugh) and I was so excited for the first time and now it is messed up, and I'm really disappointed.

    If it makes a difference, the microphone that I use is a blue snowball ice I bought a week ago (WEEK AGO) haha

    None of the parameters of creation, or QT player or something that might help is very much appreciated.

    Thank you, Owen

    Thank you very much!! I finally found out with the help of the family, but I thank very you much for help!

  • Windows 7 audio and video stutter problem

    Recently when I watch videos (be it youtube, shake, DVD or videos on my hard drive) apparently at random my audio and video will be stutter.

    I tried to disable hardware acceleration, it did not help. I have the latest video and audio drivers (that I know) and it seems to happen more predictable when I run a software intensive treatment like utorrent, it is not get recorded by the recorder of camtasia studio or bandicam (first being a screenshot while the second is a game of capture) I tried to catch in the Act to make a short video to demonstrate the problem , but he has not registered. the video seems quite well with no stutter.
    I have: Windows 7 Home premium 64-bit
    graphics card: NVIDIA GeForce GTX 660 (tested by alienware benchmarking to work perfectly)
    Processor: Intel Core i7-3820 CPU @3. 60 GHz quad core
    Under "sound video and game controllers" in Device Manager there: NVIDIA High Definition audio.
    NVidia, Virtual Audio Device (extensible wave) (WDM)
    Realtek High Definition Audio
    All claiming to have the latest drivers when I have them check for them.
    My version of windows is up to date and I am completely baffled because I did not install anything new in the last few weeks, but this problem started about 2 weeks ago.
    What is my problem? Y at - he of the info, I did not think I should? If so let me know what and I will update this
    Update 1: this issue is still not resolved, despite the installation of codecs and update of the adobe flash player, I always get the question every time I launch a program or open a new tab in google chrome

    I had the same problem. I have exeprienced a random 1-2 dry freeze when I played games online (for example, League of Legends, Maple Story, etc.) or on my gaming laptop youtube videos. After countless trials and errors, the problem solved when I disabled the "NVIDIA device Audio (Extensible Wave) (WDM)"audio driver in Device Manager. The man was this frustrating...

    Kind regards

  • Audio and video Shifted only in Premiere Pro

    Hello guys,.

    I'm having a problem with premiere pro with sync audio and video, which are stored in files separated by means of bandicam.

    These files are saved as:


    VIDEO:

    AVI Motion JPEG to the 720 p 30 fps

    AUDIO:

    Stereo PCM 48 kHz

    When I open the video file, via a media player like the one used by default on windows, I have no problem, but when I add these files in the timeline of a sequence in first pro, I notice that after some time (+-2 minutes), audio and video are starting to change and I don't really know why.

    In Premiere Pro, I tried the sequence with the video and tried settings with HDV 720p30. In both cases I had the same output two files moved after awhile.

    Someone knows how can I fix this?

    Kind regards

    FC.

    Is bandicam media variable or fixed rate? If you don't know, drag & drop a file on the MediaInfo program mentioned here, go to TreeView and see if it's the VFR or CFR. PrPro do not play perfectly with the media of VFR. Which many screenshot recorders produce.

    Neil

    Media Info: https://mediaarea.net/en/MediaInfo

  • Audio and video out of Sync

    I capture images from video game using ShadowPlay recording at 60 fps mp4 files. When I import into first and play in the sequence, the audio and video are out of sync. When I play in VLC or Windows Media Player, the timing is perfect.

    Why first plays the audio and video synchronized?

    The corrections that I found online that does not solve the problem are:

    -Make the video in the work area bar (it actually makes it worse for some reason any)

    -Edit video in .mov file extension

    -I know how to use Handbrake to make the files before import has also been suggested, but I don't want to have this extra step added to my workflow, it should not be necessary.

    Any help on this would be greatly appreciated.

    Tempest tim wrote:

    Also, is there no other way to get around the problem of variable frame rate?

    Not if you use the GPU hardware to capture your h.264 videos, there isn't.  First can not correctly handle variable frame rate images.  And the images only you're going to get your encoder is VFR.

    You have 3 basic choices:

    (1) stop using ShadowPlay and use something else which will tax your system more to capture video in a constant frame rate format.  There are other applications that capture images CFR, generally in AVI format, and the resulting files are massive.  You will have a drop in performance in the game when you use these applications.

    (2) transcode w/parking brake to the CFR

    (3) use a different NLE.  Sony Vegas, from what I hear, will support VFR without problems.  Most other NLEs will not, including Premiere Pro.

  • DVD ROM audio and video playback jerky/stuttery

    Hi all

    My first post and I'm rather puzzled.

    This problem just - I went to play a DVD (real DVD, not burned) in my laptop and playback was stuttery, audio and video.  Never noticed before, but is now constant.

    I have run all software troubleshooting and even checked this forum for solutions.  The most common seems to be to check if DMA is enabled, and it is.  I tried several video players (VLC, media library, WMP11) and the problem exists on each of them.  I checked to make sure that all drivers are up to date, and they are.

    I have an Inspiron E1705, 2,00 ghz core2duo, 1 GB of RAM.  The DVD player is a DVD + RW SDVD8820 Phillips.

    Ideas?

    Any suggestions would be helpful and appreciated.  Thanks for reading!


  • Adobe Presenter - audio and video

    Could someone tell me please the difference between adding audio and video to a PP via vs import PowerPoint presentation and add audio and video by using the presenter tab?
    Also, I'm looking for a list of things that do not work at the time of publication. For example, I noticed that animations, transitions between the slides and QuickTime movies don't work after publication.
    Thank you very much.
    Leona

    If you add audio and video through PPT audio and video will be lost when you publish your presentation. Animations will work after the publication, but you must use the audio editor or synchronize the audio tools to say presenter when you want the animations occur on your slide. Do not translate transitions of slides and QuickTime movies won't translate because are A) on a local file path and a presenter plays by the rules of the server, and will seem to the local file paths and presenter B) plays in the Flash Player and QT movies are not supported by Flash. If you have a movie QT, you can try to use the video import tool and it must convert your QT movie a FLV that is kept with the presentation and is supported by Flash Player.

    Jorma

Maybe you are looking for