JDK-8089978 : OS restarts when playing videos in WebView Core i3 environment released in 2012
  • Type: Bug
  • Component: javafx
  • Sub-Component: web
  • Affected Version: 8u11,8u20
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2014-09-23
  • Updated: 2018-09-05
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.
Other
tbdUnresolved
Related Reports
Relates :  
Relates :  
Description
When you play HTML5 video (eg, youtube) in the following system environment, system (OS) is forced to restart the time that has elapsed much about 5 minutes.

* Windows 7sp1
* Intel Core i3 3225 HD4000
* Intel H61 Express Chipset
* RAM 8GB
* Latest driver, latest bios
* Jvm arg -Dprism.order = d3d

This problem did not occur in the case of changing the startup options the next.

* Jvm arg -Dprism.order = sw
* Jvm arg -Dprism.order = j2d


This problem occurs in that you perform in a particular environment the following code.
I can play without problems in IE or Chrome, etc. in the same environment.

This problem occurs because playing time is longer,
It seems to be related to the playback time of the video.

import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.layout.StackPane;
import javafx.scene.web.WebView;
import javafx.stage.Stage;


public class HTML5VideoTest extends Application{
	
	
	@Override
	public void start(Stage stage) throws Exception {
		
		StackPane pane = new StackPane();
		
		WebView browser = new WebView();
		browser.getEngine().load("http://www.youtube.com/watch?v=tISgtgIRTZw");
		
		pane.getChildren().add(browser);
		Scene scene = new Scene(pane);
		stage.setScene(scene);
		stage.show();
	}

	public static void main(String[] args) {
		HTML5VideoTest.launch(args);
	}

}

Comments
It is a worry about become a factor that inhibits the spread of javafx
24-11-2014

Lowering the priority and reassign it to 9. I can't reproduce it, so if you insist I won't close it.
13-11-2014

Can't reproduce on my laptop. I think it's a directshow issue or videocard driver issue. Not an FX one.
01-10-2014

This could either be a media bug or a webview bug. Kiril: can you take a look?
30-09-2014

I've attached the test code.
28-09-2014

Can't do much without a repeatable case. Please reopen when you have one. For example, can you provide a link to a video that makes it happen for you. https://wiki.openjdk.java.net/display/OpenJFX/Submitting+a+Bug+Report
24-09-2014