OEmbed: Trying to get YouTube iframe embeds in bounds (doesn't work
really yet)
This commit is contained in:
parent
357168dc62
commit
10fee6af85
|
@ -120,10 +120,7 @@ class serendipity_event_oembed extends serendipity_event
|
|||
return true;
|
||||
}
|
||||
?>
|
||||
.serendipity_oembed_rich, .serendipity_oembed_video, .serendipity_oembed_photo, .serendipity_oembed_link, .serendipity_oembed {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.serendipity_oembed_video iframe { max-width: 100%; }
|
||||
<?php
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue