Bug 15225: [QA Follow-up] Improve changes to gethtml5media
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Wed, 16 Dec 2015 14:54:49 +0000 (15:54 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Thu, 31 Dec 2015 15:56:51 +0000 (15:56 +0000)
commit1d64ce817e58f26af8a7052230c53b713125c9a2
tree9ac83be93efdc2994baa4f407ea1e21d51e5cc69
parent4a2e2f320cc36275900b7f6f5abd61aafd79a8d3
Bug 15225: [QA Follow-up] Improve changes to gethtml5media

[1] Improve readability, add some checks.
[2] Add the public flag for OPAC use. (If a file has not been marked as
    public, we should not return it in OPAC.)

Test plan:
See original commit. No changes in behavior.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/HTML5Media.pm