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

WebView: embed local files using file protocol within img and audio tags

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: fx2.0.1
    • Fix Version/s: fx2.1
    • Component/s: javafx
    • Environment:

      Windows XP

    • Subcomponent:
      web

      Description

      Referencing local files using the file protocol does not seem to work while loading the HTML page. However, when right-clicking the empty image frame and selecting "open image in new window", the picture appears.

      Also, audio playback is not working using this scheme.

      Attached is a sample which tries to embed an image file located at c:\1.jpg and an audio clip located at c:\1.mp3.

        Attachments

          Activity

            People

            • Assignee:
              vbaranov Vasiliy Baranov (Inactive)
              Reporter:
              dadapsjfx dadaps (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: