Lines 50-57
sub gethtml5media {
Link Here
|
50 |
my @HTML5MediaExtensions = split( /\|/, C4::Context->preference("HTML5MediaExtensions") ); |
50 |
my @HTML5MediaExtensions = split( /\|/, C4::Context->preference("HTML5MediaExtensions") ); |
51 |
my $HTML5MediaYouTube = C4::Context->preference("HTML5MediaYouTube"); |
51 |
my $HTML5MediaYouTube = C4::Context->preference("HTML5MediaYouTube"); |
52 |
my $marcflavour = C4::Context->preference("marcflavour"); |
52 |
my $marcflavour = C4::Context->preference("marcflavour"); |
53 |
my $isyoutube = 0; |
|
|
54 |
foreach my $HTML5Media_field (@HTML5Media_fields) { |
53 |
foreach my $HTML5Media_field (@HTML5Media_fields) { |
|
|
54 |
my $isyoutube = 0; |
55 |
my %HTML5Media; |
55 |
my %HTML5Media; |
56 |
# protocol |
56 |
# protocol |
57 |
if ( $HTML5Media_field->indicator(1) eq '1' ) { |
57 |
if ( $HTML5Media_field->indicator(1) eq '1' ) { |
58 |
- |
|
|