Uploaded image for project: 'Embed External Content'
  1. Embed External Content
  2. XEMBED-5

video-js and videojs-dash dependencies are missing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.1.2
    • 1.1.0
    • None
    • Unknown

    Description

      Reproduction steps

      1. install the embed extension
      2. insert a video in a page
        {{embed attachment="video.webm"/}}
      3. display the page with the browser debug opened
      4. inspect the network tab and the console

      Expected

      No failed network request or error logs related to embed

      Actual

      3 network requests are failing

      Several error messages are displayed in the console.

      10:48:05.743 GET
      http://localhost:8080/xwiki/webjars/wiki:xwiki/video-js/4.11.4/font/vjs.woff
      [HTTP/1.1 404 Not Found 167ms]10:48:05.861 GET
      http://localhost:8080/xwiki/webjars/wiki:xwiki/videojs-dash/5.1.0/main.js?r=1
      [HTTP/1.1 404 Not Found 163ms]10:48:05.996 downloadable font: download failed (font-family: "VideoJS" style:normal weight:400 stretch:100 src index:1): status=2147746065 source: http://localhost:8080/xwiki/webjars/wiki%3Axwiki/video-js/4.11.4/font/vjs.woff
      10:48:06.100 GET
      http://localhost:8080/xwiki/webjars/wiki:xwiki/video-js/4.11.4/font/vjs.ttf
      [HTTP/1.1 404 Not Found 157ms]10:48:06.108 Uncaught Error: Script error for "videojs-dashjs"
      https://requirejs.org/docs/errors.html#scripterror
          makeError require.min.js:5
          onScriptError require.min.js:5
          load require.min.js:5
          load require.min.js:5
          load require.min.js:5
          fetch require.min.js:5
          check require.min.js:5
          enable require.min.js:5
          enable require.min.js:5
          enable require.min.js:5
          bind require.min.js:5
          each require.min.js:5
          enable require.min.js:5
          init require.min.js:5
          s require.min.js:5
          setTimeout handler*req.nextTick< require.min.js:5
          s require.min.js:5
          requirejs require.min.js:5
          <anonymous> Embed:22
          execCb require.min.js:5
          check require.min.js:5
          enable require.min.js:5
          bind require.min.js:5
          emit require.min.js:5
          each require.min.js:5
          emit require.min.js:5
          check require.min.js:5
          enable require.min.js:5
          bind require.min.js:5
          emit require.min.js:5
          each require.min.js:5
          emit require.min.js:5
          check require.min.js:5
          enable require.min.js:5
          bind require.min.js:5
          emit require.min.js:5
          each require.min.js:5
          emit require.min.js:5
          check require.min.js:5
          enable require.min.js:5
          init require.min.js:5
          a require.min.js:5
          completeLoad require.min.js:5
          onScriptLoad require.min.js:5
          load require.min.js:5
      require.min.js:5:1843
      10:48:06.312 downloadable font: download failed (font-family: "VideoJS" style:normal weight:400 stretch:100 src index:2): status=2147746065 source: http://localhost:8080/xwiki/webjars/wiki%3Axwiki/video-js/4.11.4/font/vjs.ttf
       

      Attachments

        Activity

          People

            josue Josué Tille
            mleduc Manuel Leduc
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: