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

[WebView] Embedded Youtube in WebView plays audio only on Mac

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • 7-pool
    • 7u45
    • javafx
    • Mac OS X Mavericks

    • web

      I have an application with a WebView displaying HTML with the following tag:

      <iframe class="youtube" width="600" height="400" src="http://www.youtube.com/embed/BxdA1KRwdhE?rel=0" frameborder="0" allowfullscreen></iframe>

      This should embed a video from YouTube. I tested on Windows and Mac OS X Mavericks with Java 1.7.0_45 . It plays correctly on Windows. On Mac, the audio only plays. Everything about it appears to work (youtube controls etc.) except that no video is displayed. I tried waiting until the whole video is loaded. The audio plays correctly, but the video is black the entire time.

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

              Created:
              Updated:
              Resolved:
              Imported: