Videos not working

45 views
Skip to first unread message

Teresa Kalber

unread,
May 15, 2019, 7:21:30 AM5/15/19
to islandora

Hi all,

 

This is my first time posting, so hopefully I'll get you all the information you need.

 

I'm having a strange problem with videos in my Islandora site.

 

I am currently running Islandora 7.x-1.8 on a two server set-up with RHEL 6 as the OS. Our site is http://hermes.cde.state.co.us/.

 

The problem I am having is that videos are not playing on our website outside of our internal network. I have spoken with our Network Admin and he monitored the firewall while I had various people try to access videos on the site. He said the firewall is allowing all traffic.

 

When I am using my work computer connected to our internal network, I can access videos on any browser. But if I use my home computer or don't have my work computer attached to VPN while at home, I can't get videos on our site to play in any browser. I've tried on my iPhone and I get "The media could not be loaded, either because the server or network failed or because the format is not supported". Other browsers throw the error “No video with supported format and MIME type found.”  All of our videos are uploaded as .mp4 files.

 

I have tried setting a MIME type in the appropriate configuration file. I've also tried reinstalling the islandora_video.js module, the videojs library and the videojs-contrib-hls file. I am not sure what else to try.

 

Here are a few links to specific videos on our site:

http://hdl.handle.net/11629/co:29354_s12c992018internet.mp4

http://hdl.handle.net/11629/co:29355_s12h622018internet.mp4

http://hdl.handle.net/11629/co:29356_s12m722018internet.mp4

 

Because we only tested on computers in our network, we are not sure if videos have ever worked for anyone else or not. We added videos to our site a little over a year ago and we made aware of the problem about 2 weeks ago.


Thanks for any help you can provide.


Regards,

Teresa Kalber

Colorado State Publications Library

Paul Trilsbeek

unread,
May 16, 2019, 7:25:53 AM5/16/19
to islandora
Hello Teresa,

I think it has to be something with the firewall between your internal network and the outside world, rather than a mime type issue. If I try to access these video datastreams directly, nothing at all comes back (e.g. http://hermes.cde.state.co.us/drupal/islandora/object/co%3A29356/datastream/MP4/view ). The video.js player apparently has a timeout, after which it throws an error.

Best,

Paul

Diego Pino

unread,
May 16, 2019, 9:41:36 AM5/16/19
to islandora
Hi Teresa,
It seems to be a mix of your server and our (islandora) thing here.

First. Your MP4 and OBJ datastreams are blocked from the outside world. A 

curl -v -i http://hermes.cde.state.co.us/drupal/islandora/object/co%3A29356/datastream/MP4/view


*   Trying 165.127.85.68...

* TCP_NODELAY set

* Connected to hermes.cde.state.co.us (165.127.85.68) port 80 (#0)

> GET /drupal/islandora/object/co%3A29356/datastream/MP4/view HTTP/1.1

> Host: hermes.cde.state.co.us

> User-Agent: curl/7.54.0

> Accept: */*

* Recv failure: Operation timed out

* stopped the pause stream!

* Closing connection 0

curl: (56) Recv failure: Operation timed out


Stalls for ever.So you probably have some type of IP based embargo/filtering happening for that media. Without more info i can only guess what is happening there but it seems most likely something on the HTTP layer (not the site itself but apache, firewall, IPtables, who knows!)

Second (out part). Since you are using a redirect (for the handle) video.js gets all crazy and tries to resolve the actual video (which sadly is passed as a relative path) see
<video id="islandora_videojs_html5_api" class="vjs-tech" preload="auto" poster="http://hermes.cde.state.co.us/drupal/islandora/object/co%3A29356/datastream/TN/view" data-setup="{}" src="/drupal/islandora/object/co%3A29356/datastream/MP4/view">
      <source src="/drupal/islandora/object/co%3A29356/datastream/MP4/view" type="video/mp4">
  </video>
which makes the JS based loader (weird but web/software developers have been warned for long time to avoid relative paths in HTML!) think it needs to resolve against the handle base URL and you end loading a pure Drupal page instead of the video (try pasting the handle purl in front of /drupal/islandora/object/co%3A29356/datastream/MP4/view and see what happens

So, first you need to solve the first issue and then, to be sure, open an issue in islandora JIRA and/or propose a fix to make sure you get an absolute path there. Since we have little control on how video.js decides which base URL to use (i think you could force that if you had control over handle server which i guess nobody has) having a base URL in the src should make the trick (after solving first issue)

Lets us know how that goes

Diego Pino
Metro.org

Teresa Kalber

unread,
May 30, 2019, 1:38:07 PM5/30/19
to islandora
Paul and Diego,

Sorry for the delayed response other things have come up since my original post and this got put on a back burner.

Anyway, I wanted to thank you for your help. I spent some on the phone with our Network Admin that monitors our firewalls. He finally found the problem and rewrote the policy so videos can now load.

Thanks again,
Teresa

Diego Pino

unread,
May 30, 2019, 1:52:12 PM5/30/19
to islandora
Happy to hear that Teresa,

Good luck!

Diego
Reply all
Reply to author
Forward
0 new messages