Skip to content

Commit

Permalink
Video-Werbung-Beispiel hat nur noch maximal 100% Breite. #38
Browse files Browse the repository at this point in the history
  • Loading branch information
DracoBlue committed Jan 17, 2016
1 parent 5c4eda5 commit 8b4588c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions static/css/split.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ th.js_journeys_headline {
font-size: 1.25em !important;
}

.js_page .js_body {
width: 570px;
height: 208px;
overflow: hidden;
}

.js_news {
width: 570px; /* 576-6px wegen schwarzem Rand */
height: 207px;
Expand Down
2 changes: 1 addition & 1 deletion two.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<strong class="page-headline"><span class="js_ads_headline">Werbung</span></strong>
<div class="js_body">
<video src="http://streamup.uni-potsdam.de/flash/83040532_hi.mp4" autoplay="autoplay"></video>
<video style="max-width: 100%; max-height: 100%" src="http://streamup.uni-potsdam.de/flash/83040532_hi.mp4" autoplay="autoplay"></video>
</div>

0 comments on commit 8b4588c

Please sign in to comment.