Embed a media player in netbeans IDE

Hi guys!
I'm pretty new to development in Java, right now I'm using netbeans as the IDE to development a P2P file sharing program for my school project. One of the module is to embed a media player that can playback the media files shared by the program. My group choosed to use VLC. The targeted machine to run is on a Windows XP. If the program can compile and run on Linux, that would be a plus.
Now, having searched the web on how to embed a player, I am utterly confused and lost.. Can anyone suggest some tutorials on how to embed a media player, or even an alternate player that's easily implementable in netbeans?
JJ

When you click on the play video buttons, the rest of the page turns cloudy and the media player pops out. 
Modal window, Highslide, Lightbox, Floatbox, Litebox, Colorbox...  There are about a hundred different versions of the same thing.
Also what movies files can I play?? 
Andy,
That depends on your target audience.  If you need to support laptops/desktops and smartphones -- Droid, Berries, iPhone, iPads, etc... may may need to offer visitors more than one flavor to choose from.
See this link -- Video For Everybody!
http://camendesign.com/code/video_for_everybody
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media  Specialists
http://alt-web.com/
http://twitter.com/altweb

Similar Messages

  • Is it possible to embed a media player and media in a ADE ePub

    Playing around with ePub ebooks particularly embedding audio/video in ePubs.
    I've seen a number of examples that show embedding/playing a swf file in an epub and it plays ok in ADE.
    However, I'd like to be able to embed a media player e.g. StrobeMediaPlayback.swf or JW Player and a media file and have the player play back the embedded media file.
    When I try this the player shows up but it will not play the file.
    I've included references to the swf and media files in the ePub manifest.
    Here is an example object tag.  This works fine if I load the html page in a browser like FireFox.
    <object width="470" height="320" type="application/x-shockwave-flash" data="player.swf">
    <param name="movie" value="player.swf"></param>
    <param name="flashvars" value="file=video.flv"></param>
    </object>

    No, it is not. Worse, many people will view this in any old PDF viewer, most of which won't have overprint preview at all.
    You need to send very clear instructions about this, with specific screen shots - or better, avoid tools and constructions that require it. Probably some wording about "need to view with suitable professional tools" will make the message more palatable.

  • Embed Windows Media Player

    I need step by step instrustions on how to embed Windows Media player into my web site

    What version of GL are you running?
    If it's a newer version you should have a Windows Media Object in the Object Palette that you can drag and drop onto your page, then link to the .wmv file as though it were a regular image in the inspector.
    Or was there something special you wanted to do?

  • Embed VLC media player into java GUI

    Hi
    Does anybody knows how to embed VLC media player into java GUI.
    thanks

    palakk wrote:
    Hi
    Does anybody knows how to embed VLC media player into java GUI.
    thanksWhat did you find when you googled it?

  • Sample to embed Adobe Media Player into html

    Hello everyone,
    I have searched for quite some time but can not find a simple sample to tell how to write a simple html page which could embed an Adobe Media Player and play a local music?
    Any samples?
    thanks in advance,
    George

    Just an idea...Maybe it would be better to add music through your editing html software - you can add music within background tab. Heres the code...place in html on page.
    change musicfile.wav to the name of your file.
    http://www.new-age-internet-marketing-academy.com/

  • Sound Blaster X-Fi skips a beat in windows media player! Help

    I'm going crazy... My media player occasionally skips a beat when I listen to music, or even when I watch movies... though it's rarely a beat in a movie.
    I don't know what to do, no one I've asked have any idea why this happens. I've formatted my computer since I got the card, so it's not a virus, not spyware etc. I've also had problems with missing sound in F.E.A.R when playing with EAX effects etc.
    I'm sorry, but I really don't have time to run every possible cause in the FAQ, since it's pretty rare that it skips a beat, and it would simply take ages.
    I have tried with reduced or removed hardware acceleration, changed all possible settings in media player etc, no ideas left.
    So I hope someone has experienced the same, and has some kind of solution.
    Computer:
    Intel Pentium 4 3.2Ghz/800FSB
    ASUS P4P800 (Socket 478)
    GeForce 7600 GS
    Soundblaster X-Fi Platinum (The sinner)
    80GB Maxtor Harddisk (S-ATA 50)
    Running at stock speed.

    I have the exact same problem, I think, though I notice it most with videos. I also have a Sound Blaster X-Fi (XtremeGamer) but the same issue happens with my Sound Blaster Audigy 2 ZS.
    By "skip a beat", you mean that the playback skips forward, right? By maybe half a second or so, or a whole second? If so, then yes, I have this problem.
    I have an idea for you. You have an Intel Pentium 4. I've isolated this problem with my dual-core Intel Core 2 Duo E6600 to be related to the dynamic switching of threads over to CPU, or the second core. Whenever a video or music is playing on this core, the problem may happen. But if I limit it to CPU0, the problem goes away.
    It should be much easier to solve this problem for you. You don't have a true dual-core or dual-CPU system, but it should be recognized as one as a result of the Intel Pentium 4's HyperThreading. So what I suggest to you is to disable hyperthreading. You can do this in the BIOS, and can find more information about how to do it on Google probably. Please try this - I'm VERY interested in knowing if it works for you. Let me know if it does or doesn't or if you need any additional help.

  • Windows Media Player size

    Hi, I am new to Labview software
    and I am currently using it for my project, and I try to embed Windows Media Player on it. However, the size always changes depend on the video size that it plays. My question is: How can I size the WMP, so that eventhough I play the 800x600 pixels it will just stay in in original size?
    Thanks
    Solved!
    Go to Solution.

    Just create a property node, and set it to all write, put in values and your control will be limited to what size you have put in.
    LabVIEW 8.2,8.6,2009...still learning
    Attachments:
    containerbounds.PNG ‏18 KB

  • HT204291 Using Azul media player app on my ipad  Apple tv will only display sound but not video from movies.  Any ideas on a fix.  I set mirroring to on but it still does not display video.  It will display photos and video recorded from my iphone.

    Using Azul media player app on my ipad  Apple tv will only display sound but not video from movies.  Any ideas on a fix.  I set mirroring to on but it still does not display video.  It will display photos and video recorded from my iphone.

    Here are the steps for AirPlay:
    Before starting Azul from your (running iOS 5.x/6.x) home screen where have have all your apps we need to turn on mirroring
    On your iPhone 4S/5 or iPad 2 or 3, double-click the Home  Button to view your recently-used apps.
    Swipe all the way to the right to until you see the  icon.
    Note: If the icon does not appear, go to the "If AirPlay Mirroring is not visible or available on your mobile iOS device" section.
    Tap the  icon to see the list of available AirPlay devices.
    Enable AirPlay Mirroring in this menu by tapping on an available Apple TV, then sliding the Mirroring slider to ON.
    Now you should be seeing your iPad/iPhone on your TV.
    Start up Azul now and using the settings icon on the top right corner go to the option that say "TV out" ON.
    When you do that you will see an Orange screen
    Now click "Done" and play the video you want to watch and it will AirPlay

  • I have tried to transfer files from my windows media player to my ipod but it saysthe device has stopped responding or stopped working.this is the first time ive connected nmy ipod to my new pc.any ideas?

    I have tried to transfer music from my windows 7 media player to my ipod.This is the first time i have tried to use my ipod on my new computer .In the media player it doesnt give me the option to add to itunes library it just give me the option to send to my ipod and when i do this it says that the device has stopped responding or isnt working.Any ideas? coz i aint got the foggiest where i am going wrong.My ipod keeps telling me to update the software,but then will i lose the music thats already on my ipod?

    You should import the music (that is listed in Windows Media Player) into your iTunes Library - on your computer - to add it to your existing iTunes Library. I take it you have moved (or copied) your music from the old computer to the new computer, haven't you?
    Then Sync your iPod to that Library.
    iPods will not respond to Windows Media Player, they're designed to connect to iTunes.

  • How to prevent Windows Media Player plug-in from overriding sizing in html embed code?

    My html code for embedding Windows Media Player into a frame recently developed problems in Firefox but not IE 8. The player displays properly at first, but then repositions and resizes. It seems my width setting is honored, but not my height setting. Also, autoplay="false' (or "0") additionally is not honored- the video starts playing after the repositioning and resizing. I have tried different embed code with the same result. I have the correct Windows Media Player Firefox Plug-in and it is up to date. I tried updating to Firefox version 9.0.1, but the problem persists. I've come across web postings positing the plug-in settings are overriding embed code. Any workarounds appreciated. Thank you.

    A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.
    *http://forums.mozillazine.org/viewforum.php?f=25
    The helpers at that forum are more knowledgeable about web development issues.<br>
    You need to register at the MozillaZine forum site in order to post at that forum.

  • I copied several MOV files to a CD. When I play them from the CD the video is fine but the audio works fine for the first few seconds then stops (using Qicktime Player 7.7.1.  Everything works fine if I use VLC Media Player. Does anyone have any idea why?

    I copied several MOV files to a CD. When I play them from the CD the video is fine but the audio works fine for the first few seconds then stops (using Qicktime Player 7.7.1.  Everything works fine if I use VLC Media Player. Does anyone have any idea why?

    My purpose for copying to a CD or DVD is so that I can make copies and send to friends and relatives. What is the best way to get these files on a CD/DVD with the right codecs?
    The easiest thing to do is to simply tell your friends and relatives to copy the files to their local hard drive before playing them. Your basic problem is that data discs have a limited real time transfer rate. Since you say VLC plays the files fine, I might suspect its player is likely buffering the data while the QT 7 Player is not.
    Data discs made for playback directly from the CD or DVD are normally encoded using MPEG-4/AVC (H.264) video with AAC audio. This is a modern codec which has specific settings to re-package the data (i.e., must be encoded using the multipass option and then select the "optimize for CD/DVD" option).

  • Embed Media Player from Myspace

    I am trying to embed media player from my myspace page onto
    my other website but the 'open player in new window' link doesn't
    seem to work on my second website. It works fine on my myspace page
    and I have copied the code from there. Does anyone know how I can
    get the player to open in a new window?
    I have attached the code I used.
    Thanks in advance for your help.

    FLV = Video
    MP3 = Audio
    Try Wimpy MP3 Player
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

  • My Xtreamer media player won't read srt sub files downloaded from my iMac and stored in a 1Tb seagate external disk. However, the Xtreamer Elvira media player will read all the .avi files I have loaded in the external disk. Any ideas?

    My Xtreamer media player won't read srt sub files downloaded from my iMac and stored in a 1Tb seagate external disk. However, the Xtreamer Elvira media player will read all the .avi files I have loaded in the external disk. Any ideas?

    I am experiencing the same issue with a new external DVD burner, a Sony DRX-840U. When I load a CD into this external drive it appears in iTunes but when you go to import or play the CD iTunes indicates playing or importing for each individual track for just a moment. The end result is that nothing is ever imported or played. I am experiencing this on two different systems. One a notebook running Win2K and the other a desktop running XPpro. If I use the internal DVD drives on either of these systems everything work just fine. Yet I am able to use this new external DVD drive with every other application. For example Window Media Player has no problem playing or importing the same CD that iTunes fails on. The last person indicated that if one set the DVD drive in question to be the drive of choice under preferences>advanced>burning that all was ok. I my case this Sony external drive is the drive listed as the drive of choice for burning yet the issue still exists.
    As this appears to be an issue that others are also experiencing help from Apple Tech Support would be greatly appreciated.

  • Embed  a specific media player???

    I am organizing a collection of videos in all types of formats using dreamweaver. I made .flv versions of all the videos so I can put them in the webpage as one common size but I also have a text link to the original file.
    I have found a free media player that plays all the formats I have. These include .mp4, .wmv, .mpg, .mov, and .avi. Using the browser plugins opens the player best suited for the file type being opened. I want to embed
    the free media player so no matter what format is played, it opens the player and inserts the video. This collection is not going to be put online, it is simply a way of organizing the videos I have in my system. I really like
    the player and can't figure out how to make it work. The main page has thumbnails of all my videos. Click on any one and a new page opens with the flash version playing. If I click on the "Original File" text link, I want it to
    open the embedded media player and load the original video file into it.
    I've been thinking about starting over using visual basic but html seems like it would be easier to update as my collection expands.
    I have been searching for quite sometime and can't find anything. Any input on how this is done would be appreciated.
    Thanks

    Peter Pitrelli Here wrote:
    I tried the piece of code you had provided for another website, but am not able to get it right.
    That won't work, web-clips is site dependent and page viewport dependent, so the code for other site won't apply to what you want to have.
    Here is your:
    <style type="text/css">#outerDiv{overflow:hidden;position:relative; width:200px;height:100px;} #innerIframe{ position:absolute;/* increase to nudge right, decrease to nudge left. Note negative number. */left:-823px;/* increase to nudge down, decrease to nudge up. Note negative number. */top:-403.5px;width:200px;height:100px;}</style><div id='outerDiv'><iframe id='innerIframe' scrolling=no src=''></iframe></div><script type='text/javascript'>_rect=new Array();_rect.push(-52.0);_rect.push(-364);_rect.push(274);_rect.push(364);_rec t.push(547);_rect.push(455);_outer=document.getElementById('outerDiv');_outer.st yle.width=_rect[4]+'px';_outer.style.height=_rect[5]+'px';_inner=document.getEle mentById('innerIframe');_inner.src='http://www.zshare.net/video/115850651ed07b1a /';_inner.style.top=_rect[1]+'px';_inner.style.left=_rect[0]+'px';_inner.style.w idth=(_rect[2]+_rect[4])+'px';_inner.style.height=(_rect[3]+_rect[5])+'px';</scr ipt>

  • Windows Media Player plugin has stopped working since I installed Firefox 4. I have the newest version of the plugin, worked fine with the previous version of Firefox. Any ideas?

    I have tried the suggestions on the help and troubleshooting pages including uninstalling and reinstalling plugins and Firefox 4. disabling the pop up blocker did not help either.

    I have had the same problem since I installed Firefox 4.0.
    Thank you for letting us know that The RealPlayer plugin conflict, was the source of this problem.
    Another way to fix this (for good) is doing the following:
    1) Click on "Tools">Options"
    2) Click on the "Applications" tab
    3) Search in the "Content Type" column, all the applications that start with the words "Windows Media." Click on the content that is listed to the right of each application's name and choose "Use Windows Media Player (default)."
    By doing this, Firefox will avoid using the Windows Media Player plugin and will open the corresponding application directly with Windows Media Player.
    I just did this and is working perfectly. Try it and let me know how it works for you.

Maybe you are looking for