Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: 7.x-1.5
    • Component/s: Video Solution Pack
    • Labels:
      None

      Description

      NOTE: It is unclear if this is just a configuration issue that I haven't been able to sort out, my only solution was to edit the PHP code. If it is more a configuration issue, please feel free to close the ticket.

      Issue:
      When attempting to play the derivative MP4 of a Video in JW Player, the Video Solution Pack sets the derivative URL (within the "theme.inc" file) as:
      $video_url = url("islandora/object/{$object->id}/datastream/$viewer_dsid/view");

      See: https://github.com/Islandora/islandora_solution_pack_video/blob/7.x/theme/theme.inc#L48

      Attempting to load this URL in your browser throws a 404 error. In comparing with the Audio Solution Pack, the derivative audio URL ends with the datastream ID (rather than the fedora method of "view"). See: https://github.com/Islandora/islandora_solution_pack_audio/blob/7.x/islandora_audio.module#L170

      Solution:
      I ended up fixing the issue on my install by replacing the "$video_url" line with:
      $video_url = url("islandora/object/{$object->id}/datastream/$viewer_dsid", array('absolute' => TRUE));

      (which more closely matches how the Audio Solution Pack handles the derivative URL).

        Attachments

          Activity

            People

            • Assignee:
              jiang.lingling Lingling Jiang
              Reporter:
              egillis Ernest Gillis
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: