Changeset 115602 in spip-zone


Ignore:
Timestamp:
Jun 11, 2019, 7:28:03 AM (6 days ago)
Author:
arno@…
Message:

Position:absolute pour corriger affichage Chrome.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/plugins_seenthis/autoembed/autoembed.php

    r115430 r115602  
    144144                }
    145145                else if (preg_match(",^https?://[^\"\'\`\<\>\@\*\$]*?\.mp4(\?.*)?$,i", $url)) {
    146                         $html = "<div class='video' style='height:0;position: relative; padding-bottom: 56.25%;'><video controls style='max-width: 100%;max-height: 100%'><source src='$url' rel='enclosure'></video></div>";
     146                        $html = "<div class='video' style='height:0;position: relative; padding-bottom: 56.25%;'><video controls style='max-width: 100%;max-height: 100%;position:absolute'><source src='$url' rel='enclosure'></video></div>";
    147147                        if ($html) $code_ae = "<div class='oembed-container'>$html</div>";
    148148
Note: See TracChangeset for help on using the changeset viewer.