From: Vincent Vanwaelscappel Date: Wed, 31 May 2023 17:16:52 +0000 (+0200) Subject: wait #5962 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=8316ea4cd5298db9ff6024c21c2e09b71cd23be3;p=fluidbook-html5.git wait #5962 @0.5 --- diff --git a/js/libs/fluidbook/fluidbook.menu.js b/js/libs/fluidbook/fluidbook.menu.js index 3a6bff01..9b9c1e60 100644 --- a/js/libs/fluidbook/fluidbook.menu.js +++ b/js/libs/fluidbook/fluidbook.menu.js @@ -404,7 +404,7 @@ FluidbookMenu.prototype = { var a = $('a[href="' + hash + '"]'); var markup = decodeURIComponent($(a).attr('data-audio')); var view = this.getCaption(); - view += '
'; + view += '
'; view += markup; view += '
'; this.viewWrap(view, 'audio', '', '', false, hash); diff --git a/style/fluidbook.less b/style/fluidbook.less index 7aeb3b27..efc29a49 100644 --- a/style/fluidbook.less +++ b/style/fluidbook.less @@ -1684,7 +1684,7 @@ html.ios body.portrait #interface { } } - &[data-menu="multimedia"], &[data-menu="webvideo"], &[data-menu="video"], &[data-menu="externalchapters"], &[data-menu="iframe"], &[data-menu="text"], &[data-menu="zoomhd"] { + &[data-menu="multimedia"], &[data-menu="webvideo"], &[data-menu="video"], &[data-menu="externalchapters"], &[data-menu="iframe"], &[data-menu="text"], &[data-menu="zoomhd"], &[data-menu="audio"] { .caption { height: 0; padding: 0; @@ -1716,6 +1716,15 @@ html.ios body.portrait #interface { } } + &[data-menu="audio"]{ + overflow: visible; + a, div { + &.button.back { + top: -30px; + } + } + } + // Popup with close button outside &[data-menu="iframe"], &[data-menu="pdf"], &[data-menu="text"] { overflow: visible; @@ -1789,6 +1798,12 @@ html.ios body.portrait #interface { } } + audio { + display: block; + width: 100%; + height: 100%; + } + .zoomhdHolder { position: relative;