Play a video from an InputStream

Hi!
Is it possible to load a video in JavaFX from an InputStream? I want to implement a video player with JavaFX that can play an encrypted video received from the network. I have noticed that it is not possible to do this using the classes MediaPlayer (javafx.scene.media.MediaPlayer) or MediaComponent (com.sun.fxmediacomponent.MediaComponent), and I have read that this version does not support JafaFX video encoding. The question is the following: is it possible to load a video from a Stream that has been previously tried manually, although it would be necessary to download it whole before playing it?
Thank you

You could probably use an SSLSocket to read the video file from an encrypted stream, save it as a file on the client machine, and then read the video from the file to the MediaPlayer if that's what you mean.

Similar Messages

  • Dear All, I can't play flash videos from any web site through firefox because it freezes but when i run firefox as administrator then it works fine (But Google Chrome Plays all videos normally.) . I am using Windows 7 & Firefox 7.0.1. Please help

    Dear All,
    Firefox hangs when i try to play flash videos from any site but when i run firefox as administrator it works fine. (but Google Chrome, Opera & I.E9 Plays videos without running as administrator.) I am using Windows 7 & Firefox 7.0.1. Please help.

    A possible cause is security software (firewall) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.com/kb/Server+not+found
    *https://support.mozilla.com/kb/Firewalls

  • I want to create a "Play All" chapter marker that will play the video from start to finish in addition to the standard chapters I have-I guess I can auto start the DVD but would prefer a button-how and where would I put this "play all" marker??

    I want to create a "Play All" chapter marker that will play the video from start to finish in addition to the standard chapters I have…I guess I can auto start the DVD but would prefer a button…how and where would I put this "play all" marker?? Thanks..

    The start chapter button is a play the whole movie button regardless of how many other markers you have.
    Once a DVD starts playing it continues to the end.
    Chapters marker simply gives the viewer a place to start playback whether it be the start, middle or near the end.
    Al

  • I can't play certain videos from the internet on my macbook

    I can't play certain videos from the internet on my macbook.
    When using Sarfari or Google Chome, I am unable to play some videos on the internet. News clips, posted videos on blogs, and tv episodes from their own network websites. Youtube videos are fine. I doesn't make sense.
    I tried downloading an update for quicktime, but the computer claims that quicktime is up to date. Yet, the videos and tv episodes don't play.
    I have checked for the most recent software updates, and everything is up to date. Nothing is wrong with the hardware either.
    Any suggestions would be awesome! Thank you!

    In addition to Flash, you might need some other plugins.  Microsoft videos are mostly in Silverlight, and you'll want Flip4Mac to play WMVs.  Perian contains codecs for pretty much every video online.
    http://www.microsoft.com/getsilverlight/Get-Started/Install/Default.aspx
    http://windows.microsoft.com/en-US/windows/products/windows-media-player/wmcompo nents
    http://perian.org/

  • HT4437 Can I play a video from the remote app onto apple tv whilst simultaneously stra,ing music to other speakers via express?

    Can I play a video from the remote app onto apple tv whilst simultaneously stra,ing music to other speakers via express?

    Thank you for that, I wanted to make sure I was trying to replicate the same thing as you. Just tried it now, works fine for me.
    Of note though, this will take a relatively well performing network to achieve this, I have such a network, if your network is not as good as it might be, you might encounter problems.
    For the avoidance of doubt, I used the remote app on my phone to get my iTunes library on my computer to stream music to 3 of my Apple TVs, I then used the remote app to control another Apple TV and get it to stream a music video from my computer to it. Of interest I managed to do this while my wife was using yet another Apple TV (not with the remote app) to watch something else from iTunes on my computer.

  • I can't play a video from apple website..."missing plug-in" message appears but no link to click for download...

    I can't play a video from apple website..."missing plug-in" message appears but no link to click for download...help please...thanks!

    I disabled my divx and it worked well already...

  • I am trying to play some videos from the internet and I get the message missing plug in.  I click on "missing plug in" and download adobe flash player.   When i try to log in again to play videos, I still get the message missing plug in.  Any suggestions?

    I am trying to play some videos from the internet and I get the message "missing plug in".  I click on the message and downlaod adobe flash player as prompted.   When I log in again to play the videos,  I still get the missing plug in message.  Any suggestions??

    that used to happen to me all the time! I would recommend going to a different sight or attempting to download it again ( you may have missed a step it can be tricky).

  • I have an iMac5,1 with an intel processor.  For the last month or so, whenever I play a video from an outside source - e.g. YouTube, the picture jumps and breaks-up.  All of my software is up-to-date.  Any thoughts on how to fix this problem?

    I have an iMac5,1 with an intel processor.  For the last month or so, whenever I play a video from an outside source - e.g. YouTube, the picture jumps and breaks-up.  All of my software is up-to-date.  Any thoughts on how to fix this problem?

    You're welcome. As to checking speed go to http://speedtest.net/ and it will choose the closest server for you. BTW, whatever you do, don't click on the robot icon that says "Start Scan" or MacKeeper below that. Only use the speed test in the middle that has the button BEGIN TEST on it. It will run a download speed test first and then an upload speed test. The download test will give a much faster response.

  • Will the ipad mini play HD videos from amazon prime instant video?

    Will the ipad mini play HD videos from amazon prime instant video?  I know there is an app for amazon instant video, but I dont know if it will play the HD versions of the movies online.

    ON the iPad it will only play SD

  • I recently installed Java 6 update 33, and adobe flash player 11 plugin, and now can't play any videos from any website in Mozilla, but Google Chrome works.

    Cannot play any video from any website in Mozilla after installing Java 6 update 33, and adobe flash player 11 plugin. However, I can play videos from Google Chrome and also from Internet Explorer. For example, when I'm trying to play a you tube video in Mozilla, a black screen comes up with following error message: "An error has occurred. Please try again later."
    (This is like the Wizard of Oz -- when the man comes to the little window in the door and says to Dorothy, "Come back tomorrow." )

    This may be caused by a recent Flash 11.3 update.
    See:
    *https://support.mozilla.org/kb/keep-flash-up-to-date-and-troubleshoot-problems
    *https://support.mozilla.org/kb/flash-crashes-or-does-not-load-firefox-13
    *http://forums.adobe.com/thread/1018071?tstart=0
    *http://blogs.adobe.com/asset/2012/06/inside-flash-player-protected-mode-for-firefox.html

  • When I try to play a video from facebook or you tube it says blocked plug in

    When I try to play a video from Facebook or Youtube, it says blocked plug in. How do I unblock this?

    I wonder why the download doesn't last very long.
    Flash has a reputation of being really sloppily written, and full of Hacks (which are potential places to cause problems). Mac OS X blocks outdated versions automatically when a better one becomes available.
    Update Flash Player (using its own Control Panel) or download ONLY from this site:
    http://get.adobe.com/flashplayer/
    The current version at this writing is 16.0.0.235, (but may be different by the time you read this).

  • Cant  play  any  videos  from  you  tube  and  dailymotion

    hello  i  have  upgraded  from  win  to  windows  8 pro  x64.i  have  the  next  problem:i  cant play  any  video  from  you   tube  and  dailymotion  with  IE  10,with   firefox  i  have  not  any  problem.what  can  i do?

    Have you been able to successfully import these videos into iTunes?  If so, use iTunes built in converter to convert it to a more iTunes friendly format. To do this, highligh the video and choose "Create iPhone or iPod version" from the Advanced drop down menu in iTunes.
    When it has finished converting, try syncing the new version to your Nano.
    B-rock

  • Please help me to unable my ipad2 to play stream video from rtr planeta

    Please help me to unable my ipad2 to play stream video from rtr planeta . Thank you!

    I have no idea what rtr planeta is but if it uses Flash, it won't work very well or at all on an iOS device.  If it is Flash, try the Skyfire browser... it is supposed to run some Flash sites.  Review it carefully before purchase.

  • Can I play a video from my iPhone to a projector?

    Is it possible to play a video from my iPhone to a projector without an Internet connection? I have an Apple TV and an Airport Express. Thanks

    If the video is on the device it does not require an Internet connection.

  • I am having problems playing my videos from my iphone on my laptop

    I have an iphone 5. I have not yet updated to ios 7. I am having problems playing my videos from my iphone on my laptop. the sound is jumpy and the playback is slow/jumpy. i have tried various players but none seem to be able to play back properly. Help!

    Hello Bagpus113
    Check out the article below to troubleshooting issues with the sound for music and for videos. One other thing you can try is to convert the songs to a different format
    iTunes and QuickTime for Windows: Audio does not play or plays incorrectly
    http://support.apple.com/kb/TS1362
    Troubleshooting iTunes for Windows Vista or Windows 7 video playback performance issues
    http://support.apple.com/kb/ts1718
    iTunes: How to convert a song to a different file format
    http://support.apple.com/kb/ht1550
    Regards,
    -Norm G.

Maybe you are looking for