Uploaded image for project: 'Inline Media'
  1. Inline Media
  2. INLINEMEDIA-92

Wrong display of audio track when inserted in strong paragraph

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • 2.14.0
    • 2.9.0
    • None

        [INLINEMEDIA-92] Wrong display of audio track when inserted in strong paragraph

        Laurence Aumeunier added a comment - - edited

        The issue seems due to bold style. The player is not well positioned when it was inserted in richtext, in a <strong> paragraph

        Here the HTML source

        <p><strong><img data-ametys-type="local" height="40" marker="marker" media="audio" class="audio" src="http://ametys-dev.mairie-aubervilliers.fr/plugins/inlinemedia/resources/img/trans.gif" data-ametys-src="TEST_One minute of silence (ID 0917)_BSB-2.mp3" width="300" /></strong></p> 

        The docbook is

        <para>
                <emphasis role="strong">
                    <mediaobject type="audio">
                        <audioobject>
                            <audiodata type="local" fileref="got_s2e9_bells.wav" width="300px" depth="40px"/>
                        </audioobject>
                    </mediaobject>
                </emphasis>
            </para> 

        The HTML mockup do not used mediaelement but <audio> HTML5 tag, that why the rendering is not the same. The mockup should also be updated.

        Laurence Aumeunier added a comment - - edited The issue seems due to bold style. The player is not well positioned when it was inserted in richtext, in a <strong> paragraph Here the HTML source <p><strong><img data-ametys-type= "local" height= "40" marker= "marker" media= "audio" class= "audio" src= "http: //ametys-dev.mairie-aubervilliers.fr/plugins/inlinemedia/resources/img/trans.gif" data-ametys-src= "TEST_One minute of silence (ID 0917)_BSB-2.mp3" width= "300" /></strong></p> The docbook is <para>         <emphasis role= "strong" >             <mediaobject type= "audio" >                 <audioobject>                     <audiodata type= "local" fileref= "got_s2e9_bells.wav" width= "300px" depth= "40px" />                 </audioobject>             </mediaobject>         </emphasis>     </para> The HTML mockup do not used mediaelement but <audio> HTML5 tag, that why the rendering is not the same. The mockup should also be updated.

          Unassigned Unassigned
          lbouziat Léa Bouziat
          Votes:
          0 Vote for this issue
          Watchers:
          3 Start watching this issue

            Created:
            Updated: