summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Kuttler <git@kuttler.eu>2015-02-12 01:53:22 +0100
committerNicolas Kuttler <git@kuttler.eu>2015-02-12 01:53:22 +0100
commitd9cac4fa32010dd66feb8696c75a1b3a3f7b12d8 (patch)
treeeac9a51deca3f2620a81feb09ce0519b7c3cd6d6
parentd315934e74668b76173b87e29592983ead654a80 (diff)
downloadirssi.github.io-d9cac4fa32010dd66feb8696c75a1b3a3f7b12d8.zip
Update youtube video
Use an iframe and limit it's max-width for mobile.
-rw-r--r--_includes/head.html1
-rw-r--r--_posts/2009-11-12-how-irc-should-look.markdown2
-rw-r--r--assets/irssi.css3
3 files changed, 5 insertions, 1 deletions
diff --git a/_includes/head.html b/_includes/head.html
index b1c8ce5..6e57f10 100644
--- a/_includes/head.html
+++ b/_includes/head.html
@@ -8,4 +8,5 @@
<link rel="stylesheet" href="/assets/css/bootstrap.min.css">
<link rel="stylesheet" href="/assets/css/style.css">
+ <link rel="stylesheet" href="/assets/irssi.css">
</head>
diff --git a/_posts/2009-11-12-how-irc-should-look.markdown b/_posts/2009-11-12-how-irc-should-look.markdown
index 68fe3d2..cce0c6f 100644
--- a/_posts/2009-11-12-how-irc-should-look.markdown
+++ b/_posts/2009-11-12-how-irc-should-look.markdown
@@ -8,6 +8,6 @@ email: "ahf@irssi.org"
It has been brought to our attention that we have done something completely
wrong. This is what the upcoming Irssi release is going to look like:
-<object width="560" height="340"><param name="movie" value="http://www.youtube.com/v/O2rGTXHvPCQ&hl=en_US&fs=1&"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/O2rGTXHvPCQ&hl=en_US&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed></object>
+<iframe width="560" height="315" src="https://www.youtube.com/embed/O2rGTXHvPCQ" frameborder="0" allowfullscreen></iframe>
The Irssi Team.
diff --git a/assets/irssi.css b/assets/irssi.css
new file mode 100644
index 0000000..d4718a8
--- /dev/null
+++ b/assets/irssi.css
@@ -0,0 +1,3 @@
+iframe {
+ max-width: 100%;
+}