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 551-557 Link Here
551
                            <li id="tab_images"><a href="#images">Images</a></li>
551
                            <li id="tab_images"><a href="#images">Images</a></li>
552
                        [% END %]
552
                        [% END %]
553
553
554
                        [% IF ( HTML5MediaEnabled && HTML5MediaSets ) %]
554
                        [% IF HTML5MediaEnabled && HTML5MediaSets.size %]
555
                            [% IF ( defaulttab == 'media' ) %]<li id="tab_html5media" class="ui-tabs-active">[% ELSE %]<li id="tab_html5media">[% END %]<a href="#html5media">Play media</a></li>
555
                            [% IF ( defaulttab == 'media' ) %]<li id="tab_html5media" class="ui-tabs-active">[% ELSE %]<li id="tab_html5media">[% END %]<a href="#html5media">Play media</a></li>
556
                        [% END %]
556
                        [% END %]
557
557
Lines 955-965 Link Here
955
                            <div id="html5media">
955
                            <div id="html5media">
956
                              [% FOREACH HTML5MediaSet IN HTML5MediaSets %]
956
                              [% FOREACH HTML5MediaSet IN HTML5MediaSets %]
957
                                <p>
957
                                <p>
958
                                  [% SET ctrl_preload = ' controls preload=none' #translatability %]
958
                                    [% IF HTML5MediaSet.is_youtube %]
959
                                  <[% HTML5MediaParent _ ctrl_preload | html %] >
959
                                        <iframe id="player" type="text/html" width="640" height="360"
960
                                    <[% HTML5MediaSet.child | html %] src="[% HTML5MediaSet.srcblock | html %]" [% HTML5MediaSet.typeblock | html %] />
960
                                            src="[% HTML5MediaSet.srcblock %]" frameborder="0"></iframe>
961
                                    <span>[[% HTML5MediaParent | html %] tag not supported by your browser.]</span>
961
                                    [% ELSE %]
962
                                  </[% HTML5MediaParent | html %]>
962
                                        [% SET ctrl_preload = ' controls preload=none' #translatability %]
963
                                        <[% HTML5MediaParent _ ctrl_preload | html %] >
964
                                          <[% HTML5MediaSet.child | html %] src="[% HTML5MediaSet.srcblock | html %]" [% HTML5MediaSet.typeblock | html %] />
965
                                          <span>[[% HTML5MediaParent | html %] tag not supported by your browser.]</span>
966
                                        </[% HTML5MediaParent | html %]>
967
                                    [% END %]
963
                                </p>
968
                                </p>
964
                              [% END %]
969
                              [% END %]
965
                            </div>
970
                            </div>
966
- 

Return to bug 20783