View | Details | Raw Unified | Return to bug 20783
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-7 / +11 lines)
Lines 627-633 Link Here
627
                            <li id="tab_images"><a href="#images">Images</a></li>
627
                            <li id="tab_images"><a href="#images">Images</a></li>
628
                        [% END %]
628
                        [% END %]
629
629
630
                        [% IF ( HTML5MediaEnabled && HTML5MediaSets ) %]
630
                        [% IF HTML5MediaEnabled && HTML5MediaSets.size %]
631
                            [% IF ( defaulttab == 'media' ) %]<li id="tab_html5media" class="ui-tabs-active">[% ELSE %]<li id="tab_html5media">[% END %]<a href="#html5media">Play media</a></li>
631
                            [% IF ( defaulttab == 'media' ) %]<li id="tab_html5media" class="ui-tabs-active">[% ELSE %]<li id="tab_html5media">[% END %]<a href="#html5media">Play media</a></li>
632
                        [% END %]
632
                        [% END %]
633
633
Lines 1034-1044 Link Here
1034
                            <div id="html5media">
1034
                            <div id="html5media">
1035
                              [% FOREACH HTML5MediaSet IN HTML5MediaSets %]
1035
                              [% FOREACH HTML5MediaSet IN HTML5MediaSets %]
1036
                                <p>
1036
                                <p>
1037
                                  [% SET ctrl_preload = ' controls preload=none' #translatability %]
1037
                                    [% IF HTML5MediaSet.is_youtube %]
1038
                                  <[% HTML5MediaParent _ ctrl_preload | html %] >
1038
                                        <iframe id="player" type="text/html" width="640" height="360"
1039
                                    <[% HTML5MediaSet.child | html %] src="[% HTML5MediaSet.srcblock | html %]" [% HTML5MediaSet.typeblock | html %] />
1039
                                            src="[% HTML5MediaSet.srcblock %]" frameborder="0"></iframe>
1040
                                    <span>[[% HTML5MediaParent | html %] tag not supported by your browser.]</span>
1040
                                    [% ELSE %]
1041
                                  </[% HTML5MediaParent | html %]>
1041
                                        [% SET ctrl_preload = ' controls preload=none' #translatability %]
1042
                                        <[% HTML5MediaParent _ ctrl_preload | html %] >
1043
                                          <[% HTML5MediaSet.child | html %] src="[% HTML5MediaSet.srcblock | html %]" [% HTML5MediaSet.typeblock | html %] />
1044
                                          <span>[[% HTML5MediaParent | html %] tag not supported by your browser.]</span>
1045
                                        </[% HTML5MediaParent | html %]>
1046
                                    [% END %]
1042
                                </p>
1047
                                </p>
1043
                              [% END %]
1048
                              [% END %]
1044
                            </div>
1049
                            </div>
1045
- 

Return to bug 20783