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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 8u5, 8u11, 8u20
    • Fix Version/s: 8u40
    • Component/s: javafx
    • Environment:

      Windows 7 x64, JDK and JRE 1.8 u5, u11, u20

    • Subcomponent:
      web

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: