JDK-8134546 : FX does not support playing media over https
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: media
  • Affected Version: 8u60
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2015-08-26
  • Updated: 2020-01-31
  • Resolved: 2015-10-02
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9Resolved
Related Reports
Duplicate :  
Description
This bug will be addressed 1) webview and iframe which is, alao, the standard 
way to embed something like a YouTube video. 

Try http://jgromit.com/gromit/videos/slides/jalbumvideo_560by315.html. 
Remember, YouTube is now defaulting to their HTML5 player, not Flash. 

It's not a generalized problem with iframes - it seems to be a problem only 
in that YouTube (and Vimeo) is having trouble recognizing the browser. 
Simpler iframes work fine - see http://jgromit.jalbum.net/MatrixIframe/ 

Test with Win10 and OSX 10.10.5 platforms. But the YouTube & Vimeo iframe 
problem shows up clearly on both platforms, so it's not something 
OS-specific.

Open that link in WebView on any platform, and you should see the failure. 
Open it in any browser, and it should work fine. The YouTube embedding on 
that page is absolutely plain-vanilla, per YouTube specs (the div's that wrap 
around the iframe are just for styling - position, size, etc.). The next 
slide page from there is a Vimeo embed - same problem, different player.

It might have something to do with mixed content (the embeds use https, while 
the containing page does not), but a quick test showed no difference in 
behavior. I think the YouTube and Vimeo players simply don't know that 
WebView can handle HTML5 video, so they choke.


Comments
This is duplicate of JDK-8091132. With JDK-8091132 fix WebView plays media files over HTTPS.
02-10-2015

Changing to enhancement request to match JDK-8091132.
04-09-2015

One more test case, a simple Vimeo embed, with the same kind of problem as the YouTube embed: http://jgromit.jalbum.net/webviewVimeo/
27-08-2015

I am fairly certain that this is just a duplicate of the RFE to add https support for JavaFX media, JDK-8091132. At a minimum, that RFE blocks this bug, so I will add the link. If adding support for https resolves the problem, then this bug can be closed as a duplicate.
26-08-2015

I can verify that the media in question is being accessed over https, which is not currently supported.
26-08-2015

This might be caused by the lack of support for playing media files over https. See JDK-8091132.
26-08-2015