Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8093988

[WebView] Can't play HTML5 videos from Youtube in WebView on Windows 7

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • 8u40
    • 8u5, 8u11, 8u20
    • javafx
    • Windows 7 x64, JDK and JRE 1.8 u5, u11, u20

    • web

      I'm experiencing problems with playing videos from Youtube on JDK/JRE 8 on Windows 7 x64. I tested it on 3 different notebooks with this OS. On Mac OS there is everything ok and movies always play correctly.

      Problem affects "youtube.com" website and Youtube iframe API (HTML5 player). Movies almost always shows error "An error occurred, please try again later" and rarely play correctly.
      I've investigated the problem and made simple app with embedded firebug lite and Youtube iframe API that shows the error codes from Youtube player.

      Here is Main.java file:
      https://code.google.com/p/gdata-issues/issues/attachmentText?id=6589&aid=65890000000&name=Main.java
      Here is video.html file
      https://code.google.com/p/gdata-issues/issues/attachmentText?id=6589&aid=65890000001&name=video.html

      To run this just put files in one location, compile and run Main.java

      I've posted question on oracle community and there You can see the unexpected output:
      https://community.oracle.com/thread/3600066
      Bug reported also on Google tracker, but it is more WebView/Webkit issue:
      https://code.google.com/p/gdata-issues/issues/detail?id=6589

      Unfortunately it is blocking issue in our app and we have not found workaround for this at the moment.

            stayer Kirill Kirichenko (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: