onebox 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/.rspec +1 -0
- data/.rubocop.yml +476 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/.travis.yml +3 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +92 -0
- data/Rakefile +22 -0
- data/lib/onebox.rb +33 -0
- data/lib/onebox/engine.rb +93 -0
- data/lib/onebox/engine/amazon_onebox.rb +25 -0
- data/lib/onebox/engine/bliptv_onebox.rb +26 -0
- data/lib/onebox/engine/clikthrough_onebox.rb +23 -0
- data/lib/onebox/engine/college_humor_onebox.rb +26 -0
- data/lib/onebox/engine/dailymotion_onebox.rb +26 -0
- data/lib/onebox/engine/dotsub_onebox.rb +25 -0
- data/lib/onebox/engine/example_onebox.rb +25 -0
- data/lib/onebox/engine/flickr_onebox.rb +25 -0
- data/lib/onebox/engine/funny_or_die_onebox.rb +26 -0
- data/lib/onebox/engine/html.rb +11 -0
- data/lib/onebox/engine/hulu_onebox.rb +26 -0
- data/lib/onebox/engine/nfb_onebox.rb +25 -0
- data/lib/onebox/engine/open_graph.rb +11 -0
- data/lib/onebox/engine/qik_onebox.rb +23 -0
- data/lib/onebox/engine/revision3_onebox.rb +26 -0
- data/lib/onebox/engine/slideshare_onebox.rb +25 -0
- data/lib/onebox/engine/sound_cloud_onebox.rb +25 -0
- data/lib/onebox/engine/stack_exchange_onebox.rb +23 -0
- data/lib/onebox/engine/ted_onebox.rb +25 -0
- data/lib/onebox/engine/viddler_onebox.rb +26 -0
- data/lib/onebox/engine/vimeo_onebox.rb +26 -0
- data/lib/onebox/engine/wikipedia_onebox.rb +24 -0
- data/lib/onebox/engine/yfrog_onebox.rb +25 -0
- data/lib/onebox/matcher.rb +13 -0
- data/lib/onebox/preview.rb +31 -0
- data/lib/onebox/version.rb +3 -0
- data/onebox.gemspec +36 -0
- data/spec/fixtures/amazon.response +3098 -0
- data/spec/fixtures/android.response +138 -0
- data/spec/fixtures/apple.response +391 -0
- data/spec/fixtures/bliptv.response +724 -0
- data/spec/fixtures/clickthrough.response +1472 -0
- data/spec/fixtures/clikthrough.response +1472 -0
- data/spec/fixtures/collegehumor.response +1272 -0
- data/spec/fixtures/dailymotion.response +575 -0
- data/spec/fixtures/dotsub.response +1257 -0
- data/spec/fixtures/example.response +50 -0
- data/spec/fixtures/flickr.response +1292 -0
- data/spec/fixtures/funnyordie.response +2010 -0
- data/spec/fixtures/gist.response +282 -0
- data/spec/fixtures/github_blob.response +706 -0
- data/spec/fixtures/github_commit.response +881 -0
- data/spec/fixtures/github_pullrequest.response +1619 -0
- data/spec/fixtures/hulu.response +339 -0
- data/spec/fixtures/image.response +0 -0
- data/spec/fixtures/imgur.response +892 -0
- data/spec/fixtures/kinomap.response +299 -0
- data/spec/fixtures/nfb.response +810 -0
- data/spec/fixtures/opengraph.response +27 -0
- data/spec/fixtures/qik.response +371 -0
- data/spec/fixtures/revision3.response +985 -0
- data/spec/fixtures/rottentomatoes_fresh.response +3275 -0
- data/spec/fixtures/rottentomatoes_incomplete.response +2313 -0
- data/spec/fixtures/rottentomatoes_rotten.response +3549 -0
- data/spec/fixtures/slideshare.response +1745 -0
- data/spec/fixtures/soundcloud.response +1409 -0
- data/spec/fixtures/stackexchange.response +1889 -0
- data/spec/fixtures/ted.response +1341 -0
- data/spec/fixtures/twitter.response +1712 -0
- data/spec/fixtures/viddler.response +442 -0
- data/spec/fixtures/video.response +0 -0
- data/spec/fixtures/vimeo.response +571 -0
- data/spec/fixtures/wikipedia.response +1236 -0
- data/spec/fixtures/wikipedia_redirected.response +899 -0
- data/spec/fixtures/yfrog.response +464 -0
- data/spec/lib/onebox/engine/amazon_spec.rb +34 -0
- data/spec/lib/onebox/engine/bliptv_spec.rb +34 -0
- data/spec/lib/onebox/engine/clikthrough_spec.rb +26 -0
- data/spec/lib/onebox/engine/college_humor_spec.rb +34 -0
- data/spec/lib/onebox/engine/dailymotion_spec.rb +36 -0
- data/spec/lib/onebox/engine/dotsub_spec.rb +36 -0
- data/spec/lib/onebox/engine/example_spec.rb +18 -0
- data/spec/lib/onebox/engine/flickr_spec.rb +30 -0
- data/spec/lib/onebox/engine/funny_or_die_spec.rb +34 -0
- data/spec/lib/onebox/engine/hulu_spec.rb +34 -0
- data/spec/lib/onebox/engine/nfb_spec.rb +35 -0
- data/spec/lib/onebox/engine/qik_spec.rb +35 -0
- data/spec/lib/onebox/engine/revision3_spec.rb +36 -0
- data/spec/lib/onebox/engine/slideshare_spec.rb +30 -0
- data/spec/lib/onebox/engine/sound_cloud_spec.rb +36 -0
- data/spec/lib/onebox/engine/stack_exchange_spec.rb +27 -0
- data/spec/lib/onebox/engine/ted_spec.rb +30 -0
- data/spec/lib/onebox/engine/viddler_spec.rb +36 -0
- data/spec/lib/onebox/engine/vimeo_spec.rb +34 -0
- data/spec/lib/onebox/engine/wikipedia_spec.rb +30 -0
- data/spec/lib/onebox/engine/yfrog_spec.rb +30 -0
- data/spec/lib/onebox/engine_spec.rb +78 -0
- data/spec/lib/onebox/matcher_spec.rb +20 -0
- data/spec/lib/onebox/preview_spec.rb +21 -0
- data/spec/lib/onebox_spec.rb +49 -0
- data/spec/spec_helper.rb +26 -0
- data/spec/support/html_spec_helper.rb +17 -0
- data/templates/amazon.handlebars +9 -0
- data/templates/bliptv.handlebars +10 -0
- data/templates/clickthrough.handlebars +8 -0
- data/templates/clikthrough.handlebars +8 -0
- data/templates/collegehumor.handlebars +9 -0
- data/templates/dailymotion.handlebars +9 -0
- data/templates/dotsub.handlebars +9 -0
- data/templates/flickr.handlebars +8 -0
- data/templates/funnyordie.handlebars +9 -0
- data/templates/hulu.handlebars +9 -0
- data/templates/nfb.handlebars +8 -0
- data/templates/qik.handlebars +7 -0
- data/templates/revision3.handlebars +9 -0
- data/templates/slideshare.handlebars +8 -0
- data/templates/soundcloud.handlebars +9 -0
- data/templates/stackexchange.handlebars +7 -0
- data/templates/ted.handlebars +8 -0
- data/templates/viddler.handlebars +9 -0
- data/templates/vimeo.handlebars +9 -0
- data/templates/wikipedia.handlebars +8 -0
- data/templates/yfrog.handlebars +8 -0
- metadata +447 -0
@@ -0,0 +1,1619 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
|
4
|
+
<!DOCTYPE html>
|
5
|
+
<html>
|
6
|
+
<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# githubog: http://ogp.me/ns/fb/githubog#">
|
7
|
+
<meta charset='utf-8'>
|
8
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
9
|
+
<title>Add audio onebox by jamesaanderson · Pull Request #1253 · discourse/discourse · GitHub</title>
|
10
|
+
<link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="GitHub" />
|
11
|
+
<link rel="fluid-icon" href="https://github.com/fluidicon.png" title="GitHub" />
|
12
|
+
<link rel="apple-touch-icon" sizes="57x57" href="/apple-touch-icon-114.png" />
|
13
|
+
<link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-114.png" />
|
14
|
+
<link rel="apple-touch-icon" sizes="72x72" href="/apple-touch-icon-144.png" />
|
15
|
+
<link rel="apple-touch-icon" sizes="144x144" href="/apple-touch-icon-144.png" />
|
16
|
+
<link rel="logo" type="image/svg" href="https://github-media-downloads.s3.amazonaws.com/github-logo.svg" />
|
17
|
+
<meta property="og:image" content="https://github.global.ssl.fastly.net/images/modules/logos_page/Octocat.png">
|
18
|
+
<meta name="hostname" content="fe17.rs.github.com">
|
19
|
+
<link rel="assets" href="https://github.global.ssl.fastly.net/">
|
20
|
+
<link rel="xhr-socket" href="/_sockets" />
|
21
|
+
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
<meta name="msapplication-TileImage" content="/windows-tile.png" />
|
26
|
+
<meta name="msapplication-TileColor" content="#ffffff" />
|
27
|
+
<meta name="selected-link" value="repo_pulls" data-pjax-transient />
|
28
|
+
<meta content="collector.githubapp.com" name="octolytics-host" /><meta content="github" name="octolytics-app-id" />
|
29
|
+
|
30
|
+
|
31
|
+
|
32
|
+
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
|
33
|
+
|
34
|
+
<meta content="authenticity_token" name="csrf-param" />
|
35
|
+
<meta content="GS6/vlAd3/iBrQxIJq/aBnO+050ERRtq5MMGSLsy8/c=" name="csrf-token" />
|
36
|
+
|
37
|
+
<link href="https://github.global.ssl.fastly.net/assets/github-c6ca95663cba6496fe7a5bdd98671b82cd956df3.css" media="all" rel="stylesheet" type="text/css" />
|
38
|
+
<link href="https://github.global.ssl.fastly.net/assets/github2-d35b02ba3940bde9b9f2c3e58f2dfb1ceff5886c.css" media="all" rel="stylesheet" type="text/css" />
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
<script src="https://github.global.ssl.fastly.net/assets/frameworks-eae23340ab2a6ba722166712e699c87aaf60ad8f.js" type="text/javascript"></script>
|
43
|
+
<script src="https://github.global.ssl.fastly.net/assets/github-a72a714a307592a4803dc7bed1e49523e71ff53e.js" type="text/javascript"></script>
|
44
|
+
|
45
|
+
<meta http-equiv="x-pjax-version" content="babad972cb81ce7ba9200a9ccc34ae98">
|
46
|
+
|
47
|
+
<link data-pjax-transient rel='alternate' type='text/x-diff' href='/discourse/discourse/pull/1253.diff' />
|
48
|
+
<link data-pjax-transient rel='alternate' type='text/x-patch' href='/discourse/discourse/pull/1253.patch' />
|
49
|
+
<meta property="og:title" content="discourse"/>
|
50
|
+
<meta property="og:type" content="githubog:gitrepository"/>
|
51
|
+
<meta property="og:url" content="https://github.com/discourse/discourse"/>
|
52
|
+
<meta property="og:image" content="https://github.global.ssl.fastly.net/images/gravatars/gravatar-user-420.png"/>
|
53
|
+
<meta property="og:site_name" content="GitHub"/>
|
54
|
+
<meta property="og:description" content="http://meta.discourse.org/t/audio-html5-tag/8168"/>
|
55
|
+
|
56
|
+
<meta name="description" content="http://meta.discourse.org/t/audio-html5-tag/8168" />
|
57
|
+
|
58
|
+
<meta content="3220138" name="octolytics-dimension-user_id" /><meta content="discourse" name="octolytics-dimension-user_login" /><meta content="7569578" name="octolytics-dimension-repository_id" /><meta content="discourse/discourse" name="octolytics-dimension-repository_nwo" /><meta content="true" name="octolytics-dimension-repository_public" /><meta content="false" name="octolytics-dimension-repository_is_fork" /><meta content="7569578" name="octolytics-dimension-repository_network_root_id" /><meta content="discourse/discourse" name="octolytics-dimension-repository_network_root_nwo" />
|
59
|
+
<link href="https://github.com/discourse/discourse/commits/master.atom" rel="alternate" title="Recent Commits to discourse:master" type="application/atom+xml" />
|
60
|
+
|
61
|
+
</head>
|
62
|
+
|
63
|
+
|
64
|
+
<body class="logged_out page-pullrequest vis-public env-production ">
|
65
|
+
|
66
|
+
<div class="wrapper">
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
<div class="header header-logged-out">
|
74
|
+
<div class="container clearfix">
|
75
|
+
|
76
|
+
<a class="header-logo-wordmark" href="https://github.com/">
|
77
|
+
<span class="mega-octicon octicon-logo-github"></span>
|
78
|
+
</a>
|
79
|
+
|
80
|
+
<div class="header-actions">
|
81
|
+
<a class="button primary" href="/signup">Sign up</a>
|
82
|
+
<a class="button" href="/login?return_to=%2Fdiscourse%2Fdiscourse%2Fpull%2F1253">Sign in</a>
|
83
|
+
</div>
|
84
|
+
|
85
|
+
<div class="command-bar js-command-bar in-repository">
|
86
|
+
|
87
|
+
|
88
|
+
<ul class="top-nav">
|
89
|
+
<li class="explore"><a href="/explore">Explore</a></li>
|
90
|
+
<li class="features"><a href="/features">Features</a></li>
|
91
|
+
<li class="enterprise"><a href="https://enterprise.github.com/">Enterprise</a></li>
|
92
|
+
<li class="blog"><a href="/blog">Blog</a></li>
|
93
|
+
</ul>
|
94
|
+
<form accept-charset="UTF-8" action="/search" class="command-bar-form" id="top_search_form" method="get">
|
95
|
+
|
96
|
+
<input type="text" data-hotkey="/ s" name="q" id="js-command-bar-field" placeholder="Search or type a command" tabindex="1" autocapitalize="off"
|
97
|
+
|
98
|
+
|
99
|
+
data-repo="discourse/discourse"
|
100
|
+
data-branch="master"
|
101
|
+
data-sha="8e0f3e17bb5ee3edc5701229dc1ad82dc5a41de6"
|
102
|
+
>
|
103
|
+
|
104
|
+
<input type="hidden" name="nwo" value="discourse/discourse" />
|
105
|
+
|
106
|
+
<div class="select-menu js-menu-container js-select-menu search-context-select-menu">
|
107
|
+
<span class="minibutton select-menu-button js-menu-target">
|
108
|
+
<span class="js-select-button">This repository</span>
|
109
|
+
</span>
|
110
|
+
|
111
|
+
<div class="select-menu-modal-holder js-menu-content js-navigation-container">
|
112
|
+
<div class="select-menu-modal">
|
113
|
+
|
114
|
+
<div class="select-menu-item js-navigation-item js-this-repository-navigation-item selected">
|
115
|
+
<span class="select-menu-item-icon octicon octicon-check"></span>
|
116
|
+
<input type="radio" class="js-search-this-repository" name="search_target" value="repository" checked="checked" />
|
117
|
+
<div class="select-menu-item-text js-select-button-text">This repository</div>
|
118
|
+
</div> <!-- /.select-menu-item -->
|
119
|
+
|
120
|
+
<div class="select-menu-item js-navigation-item js-all-repositories-navigation-item">
|
121
|
+
<span class="select-menu-item-icon octicon octicon-check"></span>
|
122
|
+
<input type="radio" name="search_target" value="global" />
|
123
|
+
<div class="select-menu-item-text js-select-button-text">All repositories</div>
|
124
|
+
</div> <!-- /.select-menu-item -->
|
125
|
+
|
126
|
+
</div>
|
127
|
+
</div>
|
128
|
+
</div>
|
129
|
+
|
130
|
+
<span class="octicon help tooltipped downwards" title="Show command bar help">
|
131
|
+
<span class="octicon octicon-question"></span>
|
132
|
+
</span>
|
133
|
+
|
134
|
+
|
135
|
+
<input type="hidden" name="ref" value="cmdform">
|
136
|
+
|
137
|
+
</form>
|
138
|
+
</div>
|
139
|
+
|
140
|
+
</div>
|
141
|
+
</div>
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
<div class="site" itemscope itemtype="http://schema.org/WebPage">
|
148
|
+
|
149
|
+
<div class="pagehead repohead instapaper_ignore readability-menu">
|
150
|
+
<div class="container">
|
151
|
+
|
152
|
+
|
153
|
+
<ul class="pagehead-actions">
|
154
|
+
|
155
|
+
|
156
|
+
<li>
|
157
|
+
<a href="/login?return_to=%2Fdiscourse%2Fdiscourse"
|
158
|
+
class="minibutton with-count js-toggler-target star-button entice tooltipped upwards "
|
159
|
+
title="You must be signed in to use this feature" rel="nofollow">
|
160
|
+
<span class="octicon octicon-star"></span>Star
|
161
|
+
</a>
|
162
|
+
<a class="social-count js-social-count" href="/discourse/discourse/stargazers">
|
163
|
+
7,266
|
164
|
+
</a>
|
165
|
+
|
166
|
+
</li>
|
167
|
+
|
168
|
+
<li>
|
169
|
+
<a href="/login?return_to=%2Fdiscourse%2Fdiscourse"
|
170
|
+
class="minibutton with-count js-toggler-target fork-button entice tooltipped upwards"
|
171
|
+
title="You must be signed in to fork a repository" rel="nofollow">
|
172
|
+
<span class="octicon octicon-git-branch"></span>Fork
|
173
|
+
</a>
|
174
|
+
<a href="/discourse/discourse/network" class="social-count">
|
175
|
+
1,663
|
176
|
+
</a>
|
177
|
+
</li>
|
178
|
+
</ul>
|
179
|
+
|
180
|
+
<h1 itemscope itemtype="http://data-vocabulary.org/Breadcrumb" class="entry-title public">
|
181
|
+
<span class="repo-label"><span>public</span></span>
|
182
|
+
<span class="mega-octicon octicon-repo"></span>
|
183
|
+
<span class="author">
|
184
|
+
<a href="/discourse" class="url fn" itemprop="url" rel="author"><span itemprop="title">discourse</span></a></span
|
185
|
+
><span class="repohead-name-divider">/</span><strong
|
186
|
+
><a href="/discourse/discourse" class="js-current-repository js-repo-home-link">discourse</a></strong>
|
187
|
+
|
188
|
+
<span class="page-context-loader">
|
189
|
+
<img alt="Octocat-spinner-32" height="16" src="https://github.global.ssl.fastly.net/images/spinners/octocat-spinner-32.gif" width="16" />
|
190
|
+
</span>
|
191
|
+
|
192
|
+
</h1>
|
193
|
+
</div><!-- /.container -->
|
194
|
+
</div><!-- /.repohead -->
|
195
|
+
|
196
|
+
<div class="container">
|
197
|
+
|
198
|
+
<div class="repository-with-sidebar repo-container ">
|
199
|
+
|
200
|
+
<div class="repository-sidebar">
|
201
|
+
|
202
|
+
|
203
|
+
<div class="repo-nav repo-nav-full js-repository-container-pjax js-octicon-loaders">
|
204
|
+
<div class="repo-nav-contents">
|
205
|
+
<ul class="repo-menu">
|
206
|
+
<li class="tooltipped leftwards" title="Code">
|
207
|
+
<a href="/discourse/discourse" aria-label="Code" class="js-selected-navigation-item " data-gotokey="c" data-pjax="true" data-selected-links="repo_source repo_downloads repo_commits repo_tags repo_branches /discourse/discourse">
|
208
|
+
<span class="octicon octicon-code"></span> <span class="full-word">Code</span>
|
209
|
+
<img alt="Octocat-spinner-32" class="mini-loader" height="16" src="https://github.global.ssl.fastly.net/images/spinners/octocat-spinner-32.gif" width="16" />
|
210
|
+
</a> </li>
|
211
|
+
|
212
|
+
<li class="tooltipped leftwards" title="Issues">
|
213
|
+
<a href="/discourse/discourse/issues" aria-label="Issues" class="js-selected-navigation-item js-disable-pjax" data-gotokey="i" data-selected-links="repo_issues /discourse/discourse/issues">
|
214
|
+
<span class="octicon octicon-issue-opened"></span> <span class="full-word">Issues</span>
|
215
|
+
<span class='counter'>30</span>
|
216
|
+
<img alt="Octocat-spinner-32" class="mini-loader" height="16" src="https://github.global.ssl.fastly.net/images/spinners/octocat-spinner-32.gif" width="16" />
|
217
|
+
</a> </li>
|
218
|
+
|
219
|
+
<li class="tooltipped leftwards" title="Pull Requests"><a href="/discourse/discourse/pulls" aria-label="Pull Requests" class="selected js-selected-navigation-item js-disable-pjax" data-gotokey="p" data-selected-links="repo_pulls /discourse/discourse/pulls">
|
220
|
+
<span class="octicon octicon-git-pull-request"></span> <span class="full-word">Pull Requests</span>
|
221
|
+
<span class='counter'>7</span>
|
222
|
+
<img alt="Octocat-spinner-32" class="mini-loader" height="16" src="https://github.global.ssl.fastly.net/images/spinners/octocat-spinner-32.gif" width="16" />
|
223
|
+
</a> </li>
|
224
|
+
|
225
|
+
|
226
|
+
<li class="tooltipped leftwards" title="Wiki">
|
227
|
+
<a href="/discourse/discourse/wiki" aria-label="Wiki" class="js-selected-navigation-item " data-pjax="true" data-selected-links="repo_wiki /discourse/discourse/wiki">
|
228
|
+
<span class="octicon octicon-book"></span> <span class="full-word">Wiki</span>
|
229
|
+
<img alt="Octocat-spinner-32" class="mini-loader" height="16" src="https://github.global.ssl.fastly.net/images/spinners/octocat-spinner-32.gif" width="16" />
|
230
|
+
</a> </li>
|
231
|
+
</ul>
|
232
|
+
<div class="repo-menu-separator"></div>
|
233
|
+
<ul class="repo-menu">
|
234
|
+
|
235
|
+
<li class="tooltipped leftwards" title="Pulse">
|
236
|
+
<a href="/discourse/discourse/pulse" aria-label="Pulse" class="js-selected-navigation-item " data-pjax="true" data-selected-links="pulse /discourse/discourse/pulse">
|
237
|
+
<span class="octicon octicon-pulse"></span> <span class="full-word">Pulse</span>
|
238
|
+
<img alt="Octocat-spinner-32" class="mini-loader" height="16" src="https://github.global.ssl.fastly.net/images/spinners/octocat-spinner-32.gif" width="16" />
|
239
|
+
</a> </li>
|
240
|
+
|
241
|
+
<li class="tooltipped leftwards" title="Graphs">
|
242
|
+
<a href="/discourse/discourse/graphs" aria-label="Graphs" class="js-selected-navigation-item " data-pjax="true" data-selected-links="repo_graphs repo_contributors /discourse/discourse/graphs">
|
243
|
+
<span class="octicon octicon-graph"></span> <span class="full-word">Graphs</span>
|
244
|
+
<img alt="Octocat-spinner-32" class="mini-loader" height="16" src="https://github.global.ssl.fastly.net/images/spinners/octocat-spinner-32.gif" width="16" />
|
245
|
+
</a> </li>
|
246
|
+
|
247
|
+
<li class="tooltipped leftwards" title="Network">
|
248
|
+
<a href="/discourse/discourse/network" aria-label="Network" class="js-selected-navigation-item js-disable-pjax" data-selected-links="repo_network /discourse/discourse/network">
|
249
|
+
<span class="octicon octicon-git-branch"></span> <span class="full-word">Network</span>
|
250
|
+
<img alt="Octocat-spinner-32" class="mini-loader" height="16" src="https://github.global.ssl.fastly.net/images/spinners/octocat-spinner-32.gif" width="16" />
|
251
|
+
</a> </li>
|
252
|
+
|
253
|
+
</ul>
|
254
|
+
|
255
|
+
</div>
|
256
|
+
</div>
|
257
|
+
|
258
|
+
<div class="only-with-full-nav">
|
259
|
+
|
260
|
+
|
261
|
+
|
262
|
+
|
263
|
+
<div class="clone-url open"
|
264
|
+
data-protocol-type="http"
|
265
|
+
data-url="/users/set_protocol?protocol_selector=http&protocol_type=clone">
|
266
|
+
<h3><strong>HTTPS</strong> clone URL</h3>
|
267
|
+
|
268
|
+
<input type="text" class="clone js-url-field"
|
269
|
+
value="https://github.com/discourse/discourse.git" readonly="readonly">
|
270
|
+
|
271
|
+
<span class="js-zeroclipboard url-box-clippy minibutton zeroclipboard-button" data-clipboard-text="https://github.com/discourse/discourse.git" data-copied-hint="copied!" title="copy to clipboard"><span class="octicon octicon-clippy"></span></span>
|
272
|
+
</div>
|
273
|
+
|
274
|
+
|
275
|
+
|
276
|
+
<div class="clone-url "
|
277
|
+
data-protocol-type="subversion"
|
278
|
+
data-url="/users/set_protocol?protocol_selector=subversion&protocol_type=clone">
|
279
|
+
<h3><strong>Subversion</strong> checkout URL</h3>
|
280
|
+
|
281
|
+
<input type="text" class="clone js-url-field"
|
282
|
+
value="https://github.com/discourse/discourse" readonly="readonly">
|
283
|
+
|
284
|
+
<span class="js-zeroclipboard url-box-clippy minibutton zeroclipboard-button" data-clipboard-text="https://github.com/discourse/discourse" data-copied-hint="copied!" title="copy to clipboard"><span class="octicon octicon-clippy"></span></span>
|
285
|
+
</div>
|
286
|
+
|
287
|
+
|
288
|
+
|
289
|
+
<p class="clone-options">You can clone with
|
290
|
+
<a href="#" class="js-clone-selector" data-protocol="http">HTTPS</a>,
|
291
|
+
<a href="#" class="js-clone-selector" data-protocol="subversion">Subversion</a>,
|
292
|
+
and <a href="https://help.github.com/articles/which-remote-url-should-i-use">other methods.</a>
|
293
|
+
</p>
|
294
|
+
|
295
|
+
|
296
|
+
|
297
|
+
<a href="/discourse/discourse/archive/master.zip"
|
298
|
+
class="minibutton sidebar-button"
|
299
|
+
title="Download this repository as a zip file"
|
300
|
+
rel="nofollow">
|
301
|
+
<span class="octicon octicon-cloud-download"></span>
|
302
|
+
Download ZIP
|
303
|
+
</a>
|
304
|
+
</div>
|
305
|
+
</div><!-- /.repository-sidebar -->
|
306
|
+
|
307
|
+
<div id="js-repo-pjax-container" class="repository-content context-loader-container" data-pjax-container>
|
308
|
+
|
309
|
+
|
310
|
+
|
311
|
+
<!-- base sha1: "cc79d22f82ede170dd86a05274eb3c2c5eb02912" -->
|
312
|
+
<!-- head sha1: "d7d3be1130c665cc7fab9f05dbf32335229137a6" -->
|
313
|
+
|
314
|
+
<div class='view-pull-request clearfix js-issues-results'>
|
315
|
+
|
316
|
+
<div class="pull-head" id="pull-head">
|
317
|
+
|
318
|
+
<div class="pull-description js-socket-channel js-updatable-content"
|
319
|
+
data-channel="discourse/discourse:pull_request:7186071"
|
320
|
+
data-url="/discourse/discourse/pull/1253/show_partial?partial=header">
|
321
|
+
|
322
|
+
<span class="pull-state">
|
323
|
+
<span class="state-indicator merged">Merged</span>
|
324
|
+
</span>
|
325
|
+
|
326
|
+
<p>
|
327
|
+
<a href='/eviltrout' class='pull-header-username css-truncate css-truncate-target expandable'>eviltrout</a>
|
328
|
+
merged 1 commit into
|
329
|
+
|
330
|
+
|
331
|
+
|
332
|
+
<span class="commit-ref current-branch css-truncate js-selectable-text expandable">
|
333
|
+
<span class="css-truncate-target user"><span class="css-truncate-target">discourse</span></span>:<span class="css-truncate-target">master</span>
|
334
|
+
</span>
|
335
|
+
|
336
|
+
|
337
|
+
from
|
338
|
+
|
339
|
+
|
340
|
+
|
341
|
+
<span class="commit-ref current-branch css-truncate js-selectable-text expandable">
|
342
|
+
<span class="css-truncate-target user"><span class="css-truncate-target">jamesaanderson</span></span>:<span class="css-truncate-target">add-audio-onebox</span>
|
343
|
+
</span>
|
344
|
+
|
345
|
+
|
346
|
+
|
347
|
+
7 days
|
348
|
+
ago
|
349
|
+
</p>
|
350
|
+
|
351
|
+
|
352
|
+
|
353
|
+
|
354
|
+
<div class="pull-head-meta">
|
355
|
+
<span class="diffstat tooltipped downwards" title="19 additions & 1 deletion">
|
356
|
+
20
|
357
|
+
<span class="diffstat-bar"><i class='plus'></i></span>
|
358
|
+
</span>
|
359
|
+
|
360
|
+
<span class="pull-number">
|
361
|
+
<a href="/discourse/discourse/issues/1253">#1253</a>
|
362
|
+
</span>
|
363
|
+
</div>
|
364
|
+
|
365
|
+
</div>
|
366
|
+
|
367
|
+
</div>
|
368
|
+
|
369
|
+
<div class="tabnav js-socket-channel js-updatable-content"
|
370
|
+
data-channel="discourse/discourse:branch:add-audio-onebox"
|
371
|
+
data-url=/discourse/discourse/pull/1253/show_partial?partial=tabs>
|
372
|
+
<ul class="tabnav-tabs js-hard-tabs">
|
373
|
+
<li>
|
374
|
+
<a href="/discourse/discourse/pull/1253" data-container-id="discussion_bucket" class="tabnav-tab selected">
|
375
|
+
<span class="octicon octicon-comment-discussion"></span>
|
376
|
+
Discussion
|
377
|
+
</a>
|
378
|
+
</li>
|
379
|
+
<li>
|
380
|
+
<a href="/discourse/discourse/pull/1253/commits" data-container-id="commits_bucket" class="tabnav-tab ">
|
381
|
+
<span class="octicon octicon-git-commit"></span>
|
382
|
+
Commits
|
383
|
+
|
384
|
+
<span id="commits_tab_counter" class="counter js-updatable-content-fragment">
|
385
|
+
1
|
386
|
+
</span>
|
387
|
+
</a>
|
388
|
+
</li>
|
389
|
+
<li>
|
390
|
+
<a href="/discourse/discourse/pull/1253/files" data-container-id="files_bucket" class="tabnav-tab ">
|
391
|
+
<span class="octicon octicon-diff"></span>
|
392
|
+
Files Changed
|
393
|
+
|
394
|
+
<span id="files_tab_counter" class="counter js-updatable-content-fragment">
|
395
|
+
4
|
396
|
+
</span>
|
397
|
+
</a>
|
398
|
+
</li>
|
399
|
+
</ul>
|
400
|
+
</div>
|
401
|
+
|
402
|
+
|
403
|
+
<div id="discussion_bucket" class="tab-content" >
|
404
|
+
<div class="discussion-sidebar">
|
405
|
+
<div class="discussion-stats">
|
406
|
+
|
407
|
+
|
408
|
+
<span class="state-indicator merged">
|
409
|
+
Merged
|
410
|
+
</span>
|
411
|
+
|
412
|
+
<ul class="changes">
|
413
|
+
<li>
|
414
|
+
<p>
|
415
|
+
<span class="addition">+</span>
|
416
|
+
<strong>
|
417
|
+
19 additions
|
418
|
+
</strong>
|
419
|
+
</p>
|
420
|
+
</li>
|
421
|
+
|
422
|
+
<li>
|
423
|
+
<p>
|
424
|
+
<span class="deletion">-</span>
|
425
|
+
<strong>
|
426
|
+
1 deletion
|
427
|
+
</strong>
|
428
|
+
</p>
|
429
|
+
</li>
|
430
|
+
</ul>
|
431
|
+
|
432
|
+
<time id="js-discussion-last-modified" datetime="Fri, 26 Jul 2013 15:31:56 GMT"></time>
|
433
|
+
<span class="js-socket-channel js-comment-channel" data-channel="discourse/discourse:pull_request:7186071" data-url="/discourse/discourse/pull/1253/poll"></span>
|
434
|
+
|
435
|
+
|
436
|
+
</div>
|
437
|
+
</div>
|
438
|
+
|
439
|
+
<div class="discussion-timeline">
|
440
|
+
|
441
|
+
<div class="js-discussion">
|
442
|
+
|
443
|
+
|
444
|
+
<div class="discussion-bubble js-comment-container js-task-list-container">
|
445
|
+
<a href="/jamesaanderson"><img class="discussion-bubble-avatar" height="48" src="https://secure.gravatar.com/avatar/b3e9977094ce189bbb493cf7f9adea21?s=140&d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png" width="48" /></a>
|
446
|
+
|
447
|
+
<div class="discussion-bubble-content bubble">
|
448
|
+
<div class="discussion-bubble-inner">
|
449
|
+
<div class="js-comment comment discussion-topic starting-comment" id="issue-17245212" data-body-version="6083e3f839bef987bd5c880132dfcbd6">
|
450
|
+
|
451
|
+
<div class="discussion-topic-header">
|
452
|
+
<span class="discussion-topic-author"><a href="/jamesaanderson">jamesaanderson</a> opened this pull request <time class="js-relative-date" datetime="2013-07-25T19:05:53-07:00" title="2013-07-25 19:05:53">July 25, 2013</time></span>
|
453
|
+
<h2 class="discussion-topic-title js-comment-body-title">Add audio onebox</h2>
|
454
|
+
</div> <!-- /.topic-comment-header -->
|
455
|
+
|
456
|
+
<div class="discusion-topic-infobar js-infobar js-form-issues">
|
457
|
+
<div class="milestone infobar-widget">
|
458
|
+
<span class="text js-milestone-infobar-item-wrapper">
|
459
|
+
No milestone
|
460
|
+
|
461
|
+
</span>
|
462
|
+
|
463
|
+
</div>
|
464
|
+
|
465
|
+
<div class="assignee infobar-widget">
|
466
|
+
<span class="css-truncate text js-assignee-infobar-item-wrapper">
|
467
|
+
No one is assigned
|
468
|
+
</span>
|
469
|
+
|
470
|
+
</div>
|
471
|
+
</div> <!-- /.discusion-topic-infobar -->
|
472
|
+
|
473
|
+
<div class="comment-content">
|
474
|
+
|
475
|
+
<div class="edit-comment-hide">
|
476
|
+
<div class="js-comment-body comment-body markdown-body markdown-format">
|
477
|
+
<p><a href="http://meta.discourse.org/t/audio-html5-tag/8168">http://meta.discourse.org/t/audio-html5-tag/8168</a></p>
|
478
|
+
</div>
|
479
|
+
</div>
|
480
|
+
|
481
|
+
<div class="js-socket-channel js-updatable-content"
|
482
|
+
data-channel="discourse/discourse:branch:add-audio-onebox discourse/discourse:branch:add-audio-onebox:status discourse/discourse:branch:master"
|
483
|
+
data-url="/discourse/discourse/pull/1253/show_partial?partial=branch_status">
|
484
|
+
|
485
|
+
|
486
|
+
</div>
|
487
|
+
|
488
|
+
|
489
|
+
</div> <!-- /.comment-content -->
|
490
|
+
</div> <!-- /.comment -->
|
491
|
+
</div> <!-- /.discussion-bubble-content -->
|
492
|
+
</div> <!-- /.discussion-bubble-inner -->
|
493
|
+
</div> <!-- /.discussion-bubble -->
|
494
|
+
|
495
|
+
|
496
|
+
<div class="js-socket-channel js-updatable-content"
|
497
|
+
data-channel="discourse/discourse:pull_request:7186071"
|
498
|
+
data-url=/discourse/discourse/pull/1253/show_partial?partial=participants
|
499
|
+
>
|
500
|
+
|
501
|
+
<div class="pull-participation">
|
502
|
+
<p class="quickstat"><a href="#pr_contributors_box" rel="facebox"><strong>3</strong> participants</a></p>
|
503
|
+
|
504
|
+
<a class="avatar tooltipped downwards" title="jamesaanderson" href="/jamesaanderson"><img height="24" src="https://secure.gravatar.com/avatar/b3e9977094ce189bbb493cf7f9adea21?s=140&d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png" width="24" /></a>
|
505
|
+
<a class="avatar tooltipped downwards" title="discoursebot" href="/discoursebot"><img height="24" src="https://secure.gravatar.com/avatar/cfb39761a1105df1c096c5fbc84345b3?s=140&d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png" width="24" /></a>
|
506
|
+
<a class="avatar tooltipped downwards" title="eviltrout" href="/eviltrout"><img height="24" src="https://secure.gravatar.com/avatar/c6e17f2ae2a215e87ff9e878a4e63cd9?s=140&d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png" width="24" /></a>
|
507
|
+
</div>
|
508
|
+
|
509
|
+
<div id="pr_contributors_box" style="display:none">
|
510
|
+
<h2 class="facebox-header">People participating in this pull request</h2>
|
511
|
+
<ul class="facebox-user-list">
|
512
|
+
<li class="facebox-user-list-item">
|
513
|
+
<img height="24" src="https://secure.gravatar.com/avatar/b3e9977094ce189bbb493cf7f9adea21?s=140&d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png" width="24" />
|
514
|
+
<a href="/jamesaanderson">jamesaanderson</a>
|
515
|
+
</li>
|
516
|
+
<li class="facebox-user-list-item">
|
517
|
+
<img height="24" src="https://secure.gravatar.com/avatar/cfb39761a1105df1c096c5fbc84345b3?s=140&d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png" width="24" />
|
518
|
+
<a href="/discoursebot">discoursebot</a>
|
519
|
+
</li>
|
520
|
+
<li class="facebox-user-list-item">
|
521
|
+
<img height="24" src="https://secure.gravatar.com/avatar/c6e17f2ae2a215e87ff9e878a4e63cd9?s=140&d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png" width="24" />
|
522
|
+
<a href="/eviltrout">eviltrout</a>
|
523
|
+
</li>
|
524
|
+
</ul>
|
525
|
+
</div>
|
526
|
+
</div>
|
527
|
+
|
528
|
+
|
529
|
+
|
530
|
+
<div class="discussion-bubble js-comment-container">
|
531
|
+
<a href="/jamesaanderson"><img class="discussion-bubble-avatar" height="48" src="https://secure.gravatar.com/avatar/b3e9977094ce189bbb493cf7f9adea21?s=140&d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png" width="48" /></a>
|
532
|
+
<div class="discussion-bubble-content bubble">
|
533
|
+
<div class="discussion-bubble-inner">
|
534
|
+
|
535
|
+
|
536
|
+
|
537
|
+
<div id="commits-pushed-d7d3be1" class="js-comment comment">
|
538
|
+
<div class="comment-header">
|
539
|
+
<span class="comment-type-icon octicon octicon-git-commit"></span>
|
540
|
+
<strong class="comment-header-author">
|
541
|
+
<a href="/jamesaanderson" rel="author" truncate="true">jamesaanderson</a>
|
542
|
+
</strong>
|
543
|
+
|
544
|
+
<span class='comment-header-action-text'>
|
545
|
+
<a href="#commits-pushed-d7d3be1">
|
546
|
+
added
|
547
|
+
a commit
|
548
|
+
</a>
|
549
|
+
</span>
|
550
|
+
|
551
|
+
<span class="comment-header-right">
|
552
|
+
<a href="#commits-pushed-d7d3be1" class="comment-header-date"><time class="js-relative-date" datetime="2013-07-25T19:03:23-07:00" title="2013-07-25 19:03:23">July 25, 2013</time></a>
|
553
|
+
</span>
|
554
|
+
</div> <!-- /.comment-header -->
|
555
|
+
|
556
|
+
<div class="comment-content">
|
557
|
+
<table class='commits commits-condensed' cellspacing='0' width="100%">
|
558
|
+
|
559
|
+
<tr class="commit js-details-container js-socket-channel js-updatable-content"
|
560
|
+
data-channel="discourse/discourse:commit:d7d3be1130c665cc7fab9f05dbf32335229137a6"
|
561
|
+
data-url="/discourse/discourse/pull/1253/commit/d7d3be1130c665cc7fab9f05dbf32335229137a6"
|
562
|
+
id="commit-d7d3be1130c665cc7fab9f05dbf32335229137a6">
|
563
|
+
<td class="gravatar">
|
564
|
+
<span class="gravatar"><a href="/jamesaanderson"><img height="16" src="https://secure.gravatar.com/avatar/b3e9977094ce189bbb493cf7f9adea21?s=140&d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png" width="16" /></a></span>
|
565
|
+
</td>
|
566
|
+
<td class="author">
|
567
|
+
<span class="commit-author" title="jamesaanderson"><a href="/jamesaanderson">jamesaanderson</a></span>
|
568
|
+
</td>
|
569
|
+
<td class="message">
|
570
|
+
<code>
|
571
|
+
<a href="/jamesaanderson/discourse/commit/d7d3be1130c665cc7fab9f05dbf32335229137a6" class="message" data-pjax="true" title="Add audio onebox
|
572
|
+
|
573
|
+
http://meta.discourse.org/t/audio-html5-tag/8168">Add audio onebox</a>
|
574
|
+
</code>
|
575
|
+
<span class="hidden-text-expander inline"><a href="#" class="js-details-target">…</a></span>
|
576
|
+
<div class="commit-desc"><pre><a href="http://meta.discourse.org/t/audio-html5-tag/8168">http://meta.discourse.org/t/audio-html5-tag/8168</a></pre></div>
|
577
|
+
</td>
|
578
|
+
<td class="commit-meta">
|
579
|
+
|
580
|
+
<a href="/jamesaanderson/discourse/commit/d7d3be1130c665cc7fab9f05dbf32335229137a6#comments"><span class="octicon octicon-comment-discussion"></span></a>
|
581
|
+
<code>
|
582
|
+
<a href="/jamesaanderson/discourse/commit/d7d3be1130c665cc7fab9f05dbf32335229137a6">d7d3be1</a>
|
583
|
+
</code>
|
584
|
+
</td>
|
585
|
+
</tr>
|
586
|
+
|
587
|
+
</table>
|
588
|
+
</div> <!-- /.comment-content -->
|
589
|
+
|
590
|
+
|
591
|
+
|
592
|
+
</div> <!-- /.comment -->
|
593
|
+
|
594
|
+
</div>
|
595
|
+
</div>
|
596
|
+
</div><!-- /.discussion-bubble -->
|
597
|
+
<div class="discussion-bubble js-comment-container">
|
598
|
+
<a href="/discoursebot"><img class="discussion-bubble-avatar" height="48" src="https://secure.gravatar.com/avatar/cfb39761a1105df1c096c5fbc84345b3?s=140&d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png" width="48" /></a>
|
599
|
+
<div class="discussion-bubble-content bubble">
|
600
|
+
<div class="discussion-bubble-inner">
|
601
|
+
|
602
|
+
|
603
|
+
<div id="issuecomment-21597425" class="js-comment comment js-task-list-container" data-body-version="286950f4d95d3bf1192c69907af621a2">
|
604
|
+
<div class="comment-header -comment-header">
|
605
|
+
<a href="#issuecomment-21597425" class="comment-type-icon octicon octicon-comment" title=""></a>
|
606
|
+
<a href="/discoursebot" class="comment-header-author">discoursebot</a>
|
607
|
+
<span class='comment-header-action-text'>
|
608
|
+
<a href="#issuecomment-21597425">
|
609
|
+
commented
|
610
|
+
</a>
|
611
|
+
</span>
|
612
|
+
|
613
|
+
<span class="comment-header-right">
|
614
|
+
<a href="#issuecomment-21597425" class="comment-header-date"><time class="js-relative-date" datetime="2013-07-25T19:05:57-07:00" title="2013-07-25 19:05:57">July 25, 2013</time></a>
|
615
|
+
</span>
|
616
|
+
</div> <!-- /.comment-header -->
|
617
|
+
|
618
|
+
<div class="comment-content">
|
619
|
+
|
620
|
+
<div class="edit-comment-hide">
|
621
|
+
<div class="js-comment-body comment-body markdown-body markdown-format">
|
622
|
+
<p>You've signed the CLA, jamesaanderson. Thank you! This pull request is ready for review.</p>
|
623
|
+
</div>
|
624
|
+
</div>
|
625
|
+
</div> <!-- /.comment-content -->
|
626
|
+
</div> <!-- /.comment -->
|
627
|
+
|
628
|
+
</div>
|
629
|
+
</div>
|
630
|
+
</div><!-- /.discussion-bubble -->
|
631
|
+
<div class="discussion-bubble js-comment-container">
|
632
|
+
<a href="/eviltrout"><img class="discussion-bubble-avatar" height="48" src="https://secure.gravatar.com/avatar/c6e17f2ae2a215e87ff9e878a4e63cd9?s=140&d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png" width="48" /></a>
|
633
|
+
<div class="discussion-bubble-content bubble">
|
634
|
+
<div class="discussion-bubble-inner">
|
635
|
+
|
636
|
+
|
637
|
+
|
638
|
+
<div id="commitcomment-3726136" class="js-comment comment inline-comment thread-start js-task-list-container" data-body-version="869a902be7fa181daff15e5538839443">
|
639
|
+
<div class="comment-header commit-comment-header">
|
640
|
+
<a href="#commitcomment-3726136" class="comment-type-icon octicon octicon-comment" title=""></a>
|
641
|
+
<a href="/eviltrout" class="comment-header-author">eviltrout</a>
|
642
|
+
<span class='comment-header-action-text'>
|
643
|
+
<a href="#commitcomment-3726136">
|
644
|
+
commented on <code><a href="/jamesaanderson/discourse/commit/d7d3be1130c665cc7fab9f05dbf32335229137a6">d7d3be1</a></code> <code><a href="/jamesaanderson/discourse/commit/d7d3be1130c665cc7fab9f05dbf32335229137a6#lib-onebox-audio_onebox-rb-P6">lib/onebox/audio_onebox.rb:L6</a></code>
|
645
|
+
</a>
|
646
|
+
</span>
|
647
|
+
|
648
|
+
<span class="comment-header-right">
|
649
|
+
<a href="#commitcomment-3726136" class="comment-header-date"><time class="js-relative-date" datetime="2013-07-26T08:10:30-07:00" title="2013-07-26 08:10:30">July 26, 2013</time></a>
|
650
|
+
</span>
|
651
|
+
</div> <!-- /.comment-header -->
|
652
|
+
|
653
|
+
<div class="comment-content">
|
654
|
+
|
655
|
+
<div class="edit-comment-hide">
|
656
|
+
<div class="js-comment-body comment-body markdown-body markdown-format">
|
657
|
+
<p>Should this also have the ogg extension you removed from video?</p>
|
658
|
+
</div>
|
659
|
+
</div>
|
660
|
+
</div> <!-- /.comment-content -->
|
661
|
+
</div> <!-- /.comment -->
|
662
|
+
|
663
|
+
|
664
|
+
|
665
|
+
|
666
|
+
<div id="commitcomment-3726159" class="js-comment comment inline-comment repo-owner-comment js-task-list-container" data-body-version="7c4815986d2b74a24dbb1ea94ecd3e60">
|
667
|
+
<div class="comment-header commit-comment-header">
|
668
|
+
<a href="#commitcomment-3726159" class="comment-type-icon octicon octicon-comment" title=""></a>
|
669
|
+
<a href="/jamesaanderson" class="comment-header-author">jamesaanderson</a>
|
670
|
+
<span class='comment-header-action-text'>
|
671
|
+
<a href="#commitcomment-3726159">
|
672
|
+
replied
|
673
|
+
</a>
|
674
|
+
</span>
|
675
|
+
<span class="comment-header-tag">repo owner</span>
|
676
|
+
|
677
|
+
<span class="comment-header-right">
|
678
|
+
<a href="#commitcomment-3726159" class="comment-header-date"><time class="js-relative-date" datetime="2013-07-26T08:12:41-07:00" title="2013-07-26 08:12:41">July 26, 2013</time></a>
|
679
|
+
</span>
|
680
|
+
</div> <!-- /.comment-header -->
|
681
|
+
|
682
|
+
<div class="comment-content">
|
683
|
+
|
684
|
+
<div class="edit-comment-hide">
|
685
|
+
<div class="js-comment-body comment-body markdown-body markdown-format">
|
686
|
+
<p>I think ogg is for both video and audio so I left it out for now.</p>
|
687
|
+
</div>
|
688
|
+
</div>
|
689
|
+
</div> <!-- /.comment-content -->
|
690
|
+
</div> <!-- /.comment -->
|
691
|
+
|
692
|
+
|
693
|
+
</div>
|
694
|
+
</div>
|
695
|
+
</div><!-- /.discussion-bubble -->
|
696
|
+
|
697
|
+
|
698
|
+
|
699
|
+
<div class="action-bubble">
|
700
|
+
<span class="action">
|
701
|
+
<span class="state-indicator closed">Closed</span>
|
702
|
+
</span>
|
703
|
+
<div class="bubble">
|
704
|
+
<p>
|
705
|
+
<strong><span class="avatar"><img height="24" src="https://secure.gravatar.com/avatar/c6e17f2ae2a215e87ff9e878a4e63cd9?s=140&d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png" width="24" /></span>
|
706
|
+
<a href="/eviltrout">eviltrout</a></strong>
|
707
|
+
closed the pull request
|
708
|
+
|
709
|
+
<time class="js-relative-date" datetime="2013-07-26T08:30:57-07:00" title="2013-07-26 08:30:57">July 26, 2013</time>
|
710
|
+
</p>
|
711
|
+
</div><!-- /.bubble -->
|
712
|
+
</div><!-- /.action-bubble -->
|
713
|
+
|
714
|
+
<div class="closed-banner"></div>
|
715
|
+
|
716
|
+
|
717
|
+
<div class="discussion-bubble js-comment-container">
|
718
|
+
<a href="/eviltrout"><img class="discussion-bubble-avatar" height="48" src="https://secure.gravatar.com/avatar/c6e17f2ae2a215e87ff9e878a4e63cd9?s=140&d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png" width="48" /></a>
|
719
|
+
<div class="discussion-bubble-content bubble">
|
720
|
+
<div class="discussion-bubble-inner">
|
721
|
+
|
722
|
+
|
723
|
+
<div id="issuecomment-21628134" class="js-comment comment js-task-list-container" data-body-version="717107517950e9b8b5a78a14a254e3cf">
|
724
|
+
<div class="comment-header -comment-header">
|
725
|
+
<a href="#issuecomment-21628134" class="comment-type-icon octicon octicon-comment" title=""></a>
|
726
|
+
<a href="/eviltrout" class="comment-header-author">eviltrout</a>
|
727
|
+
<span class='comment-header-action-text'>
|
728
|
+
<a href="#issuecomment-21628134">
|
729
|
+
commented
|
730
|
+
</a>
|
731
|
+
</span>
|
732
|
+
|
733
|
+
<span class="comment-header-right">
|
734
|
+
<a href="#issuecomment-21628134" class="comment-header-date"><time class="js-relative-date" datetime="2013-07-26T08:31:07-07:00" title="2013-07-26 08:31:07">July 26, 2013</time></a>
|
735
|
+
</span>
|
736
|
+
</div> <!-- /.comment-header -->
|
737
|
+
|
738
|
+
<div class="comment-content">
|
739
|
+
|
740
|
+
<div class="edit-comment-hide">
|
741
|
+
<div class="js-comment-body comment-body markdown-body markdown-format">
|
742
|
+
<p>Thanks, merged in!</p>
|
743
|
+
</div>
|
744
|
+
</div>
|
745
|
+
</div> <!-- /.comment-content -->
|
746
|
+
</div> <!-- /.comment -->
|
747
|
+
|
748
|
+
</div>
|
749
|
+
</div>
|
750
|
+
</div><!-- /.discussion-bubble -->
|
751
|
+
|
752
|
+
|
753
|
+
|
754
|
+
|
755
|
+
|
756
|
+
|
757
|
+
|
758
|
+
</div>
|
759
|
+
|
760
|
+
<div class="signed-out-comment">
|
761
|
+
<a href="/signup/free" class="minibutton btn-default green" rel="nofollow">Sign up for free</a>
|
762
|
+
<strong>to join this discussion on GitHub</strong>.
|
763
|
+
Already have an account?
|
764
|
+
<a href="/login?return_to=%2Fdiscourse%2Fdiscourse%2Fpull%2F1253" rel="nofollow">Sign in to comment</a>
|
765
|
+
</div>
|
766
|
+
|
767
|
+
|
768
|
+
|
769
|
+
|
770
|
+
</div><!-- /.discussion-timeline -->
|
771
|
+
|
772
|
+
</div>
|
773
|
+
|
774
|
+
|
775
|
+
|
776
|
+
<div id="commits_bucket" class="tab-content" style="display:none">
|
777
|
+
|
778
|
+
<div
|
779
|
+
class="js-socket-channel js-updatable-content"
|
780
|
+
data-channel="discourse/discourse:branch:add-audio-onebox"
|
781
|
+
data-url="/discourse/discourse/pull/1253/show_partial?partial=commits"
|
782
|
+
>
|
783
|
+
|
784
|
+
|
785
|
+
|
786
|
+
<p class="explain"><span class="octicon octicon-git-commit"></span>Showing <strong>1 unique commit</strong> by <strong>1 author</strong>.</p>
|
787
|
+
|
788
|
+
|
789
|
+
<div class="boxed-group condensed">
|
790
|
+
<h3><span class="octicon octicon-calendar"></span>Jul 25, 2013</h3>
|
791
|
+
<div class="body boxed-group-inner">
|
792
|
+
<table class='commits commits-condensed' cellspacing='0' width="100%">
|
793
|
+
|
794
|
+
<tr class="commit js-details-container js-socket-channel js-updatable-content"
|
795
|
+
data-channel="discourse/discourse:commit:d7d3be1130c665cc7fab9f05dbf32335229137a6"
|
796
|
+
data-url="/discourse/discourse/pull/1253/commit/d7d3be1130c665cc7fab9f05dbf32335229137a6"
|
797
|
+
id="commit-d7d3be1130c665cc7fab9f05dbf32335229137a6">
|
798
|
+
<td class="gravatar">
|
799
|
+
<span class="gravatar"><a href="/jamesaanderson"><img height="16" src="https://secure.gravatar.com/avatar/b3e9977094ce189bbb493cf7f9adea21?s=140&d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png" width="16" /></a></span>
|
800
|
+
</td>
|
801
|
+
<td class="author">
|
802
|
+
<span class="commit-author" title="jamesaanderson"><a href="/jamesaanderson">jamesaanderson</a></span>
|
803
|
+
</td>
|
804
|
+
<td class="message">
|
805
|
+
<code>
|
806
|
+
<a href="/jamesaanderson/discourse/commit/d7d3be1130c665cc7fab9f05dbf32335229137a6" class="message" data-pjax="true" title="Add audio onebox
|
807
|
+
|
808
|
+
http://meta.discourse.org/t/audio-html5-tag/8168">Add audio onebox</a>
|
809
|
+
</code>
|
810
|
+
<span class="hidden-text-expander inline"><a href="#" class="js-details-target">…</a></span>
|
811
|
+
<div class="commit-desc"><pre><a href="http://meta.discourse.org/t/audio-html5-tag/8168">http://meta.discourse.org/t/audio-html5-tag/8168</a></pre></div>
|
812
|
+
</td>
|
813
|
+
<td class="commit-meta">
|
814
|
+
|
815
|
+
<a href="/jamesaanderson/discourse/commit/d7d3be1130c665cc7fab9f05dbf32335229137a6#comments"><span class="octicon octicon-comment-discussion"></span></a>
|
816
|
+
<code>
|
817
|
+
<a href="/jamesaanderson/discourse/commit/d7d3be1130c665cc7fab9f05dbf32335229137a6">d7d3be1</a>
|
818
|
+
</code>
|
819
|
+
</td>
|
820
|
+
</tr>
|
821
|
+
|
822
|
+
</table>
|
823
|
+
</div>
|
824
|
+
</div>
|
825
|
+
|
826
|
+
</div>
|
827
|
+
|
828
|
+
</div>
|
829
|
+
|
830
|
+
|
831
|
+
|
832
|
+
|
833
|
+
<div id="files_bucket" class="tab-content" style='display:none'>
|
834
|
+
|
835
|
+
<div class="flash flash-warn stale-files-tab sticky js-pull-request-stale-files js-socket-channel"
|
836
|
+
data-channel="discourse/discourse:pull_request:7186071:diff"
|
837
|
+
data-url="https://github.com/discourse/discourse/pull/1253/live_update">
|
838
|
+
<div class="container">
|
839
|
+
This page is out of date. <a href="https://github.com/discourse/discourse/pull/1253/files">Refresh</a> to see the latest.
|
840
|
+
</div>
|
841
|
+
</div>
|
842
|
+
|
843
|
+
|
844
|
+
|
845
|
+
|
846
|
+
|
847
|
+
|
848
|
+
<div id='diff' class="uncommentable">
|
849
|
+
|
850
|
+
<div id='toc' class="details-collapse js-details-container ">
|
851
|
+
<p class="explain">
|
852
|
+
<span class="octicon octicon-diff"></span>Showing <strong>4 changed files</strong>
|
853
|
+
with <strong>19 additions</strong>
|
854
|
+
and <strong>1 deletion</strong>.
|
855
|
+
<a href="#" class="minibutton show-diff-stats js-details-target">Show Diff Stats</a>
|
856
|
+
<a href="#" class="minibutton hide-diff-stats js-details-target">Hide Diff Stats</a></p>
|
857
|
+
|
858
|
+
<ol class="content collapse js-transitionable">
|
859
|
+
<li>
|
860
|
+
<span class="diffstat">
|
861
|
+
<a href="#diff-0" class="tooltipped leftwards" title="3 additions & 0 deletions">
|
862
|
+
3
|
863
|
+
<span class="diffstat-bar"> <i class='plus'></i> </span>
|
864
|
+
</a>
|
865
|
+
</span>
|
866
|
+
<span class='octicon octicon-diff-modified' title='modified'></span> <a href="#diff-0">app/assets/stylesheets/application/compose.css.scss</a>
|
867
|
+
</li>
|
868
|
+
<li>
|
869
|
+
<span class="diffstat">
|
870
|
+
<a href="#diff-1" class="tooltipped leftwards" title="3 additions & 0 deletions">
|
871
|
+
3
|
872
|
+
<span class="diffstat-bar"> <i class='plus'></i> </span>
|
873
|
+
</a>
|
874
|
+
</span>
|
875
|
+
<span class='octicon octicon-diff-modified' title='modified'></span> <a href="#diff-1">app/assets/stylesheets/application/topic-post.css.scss</a>
|
876
|
+
</li>
|
877
|
+
<li>
|
878
|
+
<span class="diffstat">
|
879
|
+
<a href="#diff-2" class="tooltipped leftwards" title="12 additions & 0 deletions">
|
880
|
+
12
|
881
|
+
<span class="diffstat-bar"> <i class='plus'></i> </span>
|
882
|
+
</a>
|
883
|
+
</span>
|
884
|
+
<span class='octicon octicon-diff-added' title='added'></span> <a href="#diff-2">lib/onebox/audio_onebox.rb</a>
|
885
|
+
</li>
|
886
|
+
<li>
|
887
|
+
<span class="diffstat">
|
888
|
+
<a href="#diff-3" class="tooltipped leftwards" title="1 addition & 1 deletion">
|
889
|
+
2
|
890
|
+
<span class="diffstat-bar"> <i class='plus'></i><i class='minus'></i> </span>
|
891
|
+
</a>
|
892
|
+
</span>
|
893
|
+
<span class='octicon octicon-diff-modified' title='modified'></span> <a href="#diff-3">lib/onebox/video_onebox.rb</a>
|
894
|
+
</li>
|
895
|
+
</ol>
|
896
|
+
</div>
|
897
|
+
|
898
|
+
<div class="breakout">
|
899
|
+
|
900
|
+
<div id="files" class="diff-view commentable">
|
901
|
+
<a name="diff-cffcce7b0fe6bb2221254854694321a0"></a>
|
902
|
+
<div id="diff-0" class="file js-details-container" data-diff-num="0">
|
903
|
+
<div class="meta" data-path="app/assets/stylesheets/application/compose.css.scss">
|
904
|
+
<div class="info">
|
905
|
+
<span class="diffstat tooltipped rightwards" title="3 additions & 0 deletions">3 <span class="diffstat-bar"><i class='plus'></i></span></span>
|
906
|
+
|
907
|
+
<span class="js-selectable-text css-truncate css-truncate-target" title="app/assets/stylesheets/application/compose.css.scss">
|
908
|
+
app/assets/stylesheets/application/compose.css.scss
|
909
|
+
</span>
|
910
|
+
|
911
|
+
</div>
|
912
|
+
<div class="actions">
|
913
|
+
<span class="show-inline-notes">
|
914
|
+
<label>
|
915
|
+
<input type="checkbox" checked="checked" class="js-show-inline-comments-toggle">
|
916
|
+
show inline notes
|
917
|
+
</label>
|
918
|
+
</span>
|
919
|
+
<div class="button-group">
|
920
|
+
<a href="/jamesaanderson/discourse/blob/d7d3be1130c665cc7fab9f05dbf32335229137a6/app/assets/stylesheets/application/compose.css.scss" class="minibutton" rel="nofollow">View file @ <code>d7d3be1</code></a>
|
921
|
+
</div>
|
922
|
+
</div>
|
923
|
+
</div>
|
924
|
+
|
925
|
+
<div class="data highlight ">
|
926
|
+
<table class="file-code file-diff ">
|
927
|
+
<tr class="file-diff-line gc" data-position='0'>
|
928
|
+
<td id="L0L298" class="diff-line-num linkable-line-number">
|
929
|
+
<span class="line-num-content">...</span>
|
930
|
+
</td>
|
931
|
+
<td id="L0R298" class="diff-line-num linkable-line-number">
|
932
|
+
<span class="line-num-content">...</span>
|
933
|
+
</td>
|
934
|
+
<td class="diff-line-code">
|
935
|
+
@@ -299,6 +299,9 @@
|
936
|
+
</td>
|
937
|
+
</tr>
|
938
|
+
<tr class="file-diff-line " id="app-assets-stylesheets-application-compose-css-scss-P1" data-position="1">
|
939
|
+
<td id="L0L299" class="diff-line-num linkable-line-number" data-line-number="299">
|
940
|
+
<span class="line-num-content">299</span>
|
941
|
+
</td>
|
942
|
+
<td id="L0R299" class="diff-line-num linkable-line-number" data-line-number="299">
|
943
|
+
<span class="line-num-content">299</span>
|
944
|
+
</td>
|
945
|
+
<td class="diff-line-code">
|
946
|
+
<b class="add-line-comment octicon octicon-comment-add" data-remote="/discourse/discourse/pull/1253/review_comment/form?commit_id=d7d3be1130c665cc7fab9f05dbf32335229137a6&path=app/assets/stylesheets/application/compose.css.scss&position=1&line=299"></b>
|
947
|
+
webkit-border-radius: 4px;
|
948
|
+
</td>
|
949
|
+
</tr>
|
950
|
+
<tr class="file-diff-line " id="app-assets-stylesheets-application-compose-css-scss-P2" data-position="2">
|
951
|
+
<td id="L0L300" class="diff-line-num linkable-line-number" data-line-number="300">
|
952
|
+
<span class="line-num-content">300</span>
|
953
|
+
</td>
|
954
|
+
<td id="L0R300" class="diff-line-num linkable-line-number" data-line-number="300">
|
955
|
+
<span class="line-num-content">300</span>
|
956
|
+
</td>
|
957
|
+
<td class="diff-line-code">
|
958
|
+
<b class="add-line-comment octicon octicon-comment-add" data-remote="/discourse/discourse/pull/1253/review_comment/form?commit_id=d7d3be1130c665cc7fab9f05dbf32335229137a6&path=app/assets/stylesheets/application/compose.css.scss&position=2&line=300"></b>
|
959
|
+
ms-border-radius: 4px;
|
960
|
+
</td>
|
961
|
+
</tr>
|
962
|
+
<tr class="file-diff-line " id="app-assets-stylesheets-application-compose-css-scss-P3" data-position="3">
|
963
|
+
<td id="L0L301" class="diff-line-num linkable-line-number" data-line-number="301">
|
964
|
+
<span class="line-num-content">301</span>
|
965
|
+
</td>
|
966
|
+
<td id="L0R301" class="diff-line-num linkable-line-number" data-line-number="301">
|
967
|
+
<span class="line-num-content">301</span>
|
968
|
+
</td>
|
969
|
+
<td class="diff-line-code">
|
970
|
+
<b class="add-line-comment octicon octicon-comment-add" data-remote="/discourse/discourse/pull/1253/review_comment/form?commit_id=d7d3be1130c665cc7fab9f05dbf32335229137a6&path=app/assets/stylesheets/application/compose.css.scss&position=3&line=301"></b>
|
971
|
+
}
|
972
|
+
</td>
|
973
|
+
</tr>
|
974
|
+
<tr class="file-diff-line gi" id="app-assets-stylesheets-application-compose-css-scss-P4" data-position="4">
|
975
|
+
<td id="L0L301" class="diff-line-num linkable-line-number empty-cell" data-line-number="301">
|
976
|
+
<span class="line-num-content"> </span>
|
977
|
+
</td>
|
978
|
+
<td id="L0R302" class="diff-line-num linkable-line-number" data-line-number="302">
|
979
|
+
<span class="line-num-content">302</span>
|
980
|
+
</td>
|
981
|
+
<td class="diff-line-code">
|
982
|
+
<b class="add-line-comment octicon octicon-comment-add" data-remote="/discourse/discourse/pull/1253/review_comment/form?commit_id=d7d3be1130c665cc7fab9f05dbf32335229137a6&path=app/assets/stylesheets/application/compose.css.scss&position=4&line=302"></b>
|
983
|
+
+ audio {
|
984
|
+
</td>
|
985
|
+
</tr>
|
986
|
+
<tr class="file-diff-line gi" id="app-assets-stylesheets-application-compose-css-scss-P5" data-position="5">
|
987
|
+
<td id="L0L301" class="diff-line-num linkable-line-number empty-cell" data-line-number="301">
|
988
|
+
<span class="line-num-content"> </span>
|
989
|
+
</td>
|
990
|
+
<td id="L0R303" class="diff-line-num linkable-line-number" data-line-number="303">
|
991
|
+
<span class="line-num-content">303</span>
|
992
|
+
</td>
|
993
|
+
<td class="diff-line-code">
|
994
|
+
<b class="add-line-comment octicon octicon-comment-add" data-remote="/discourse/discourse/pull/1253/review_comment/form?commit_id=d7d3be1130c665cc7fab9f05dbf32335229137a6&path=app/assets/stylesheets/application/compose.css.scss&position=5&line=303"></b>
|
995
|
+
+ max-width: 100%;
|
996
|
+
</td>
|
997
|
+
</tr>
|
998
|
+
<tr class="file-diff-line gi" id="app-assets-stylesheets-application-compose-css-scss-P6" data-position="6">
|
999
|
+
<td id="L0L301" class="diff-line-num linkable-line-number empty-cell" data-line-number="301">
|
1000
|
+
<span class="line-num-content"> </span>
|
1001
|
+
</td>
|
1002
|
+
<td id="L0R304" class="diff-line-num linkable-line-number" data-line-number="304">
|
1003
|
+
<span class="line-num-content">304</span>
|
1004
|
+
</td>
|
1005
|
+
<td class="diff-line-code">
|
1006
|
+
<b class="add-line-comment octicon octicon-comment-add" data-remote="/discourse/discourse/pull/1253/review_comment/form?commit_id=d7d3be1130c665cc7fab9f05dbf32335229137a6&path=app/assets/stylesheets/application/compose.css.scss&position=6&line=304"></b>
|
1007
|
+
+ }
|
1008
|
+
</td>
|
1009
|
+
</tr>
|
1010
|
+
<tr class="file-diff-line " id="app-assets-stylesheets-application-compose-css-scss-P7" data-position="7">
|
1011
|
+
<td id="L0L302" class="diff-line-num linkable-line-number" data-line-number="302">
|
1012
|
+
<span class="line-num-content">302</span>
|
1013
|
+
</td>
|
1014
|
+
<td id="L0R305" class="diff-line-num linkable-line-number" data-line-number="305">
|
1015
|
+
<span class="line-num-content">305</span>
|
1016
|
+
</td>
|
1017
|
+
<td class="diff-line-code">
|
1018
|
+
<b class="add-line-comment octicon octicon-comment-add" data-remote="/discourse/discourse/pull/1253/review_comment/form?commit_id=d7d3be1130c665cc7fab9f05dbf32335229137a6&path=app/assets/stylesheets/application/compose.css.scss&position=7&line=305"></b>
|
1019
|
+
}
|
1020
|
+
</td>
|
1021
|
+
</tr>
|
1022
|
+
<tr class="file-diff-line " id="app-assets-stylesheets-application-compose-css-scss-P8" data-position="8">
|
1023
|
+
<td id="L0L303" class="diff-line-num linkable-line-number" data-line-number="303">
|
1024
|
+
<span class="line-num-content">303</span>
|
1025
|
+
</td>
|
1026
|
+
<td id="L0R306" class="diff-line-num linkable-line-number" data-line-number="306">
|
1027
|
+
<span class="line-num-content">306</span>
|
1028
|
+
</td>
|
1029
|
+
<td class="diff-line-code">
|
1030
|
+
<b class="add-line-comment octicon octicon-comment-add" data-remote="/discourse/discourse/pull/1253/review_comment/form?commit_id=d7d3be1130c665cc7fab9f05dbf32335229137a6&path=app/assets/stylesheets/application/compose.css.scss&position=8&line=306"></b>
|
1031
|
+
#wmd-preview {
|
1032
|
+
</td>
|
1033
|
+
</tr>
|
1034
|
+
<tr class="file-diff-line " id="app-assets-stylesheets-application-compose-css-scss-P9" data-position="9">
|
1035
|
+
<td id="L0L304" class="diff-line-num linkable-line-number" data-line-number="304">
|
1036
|
+
<span class="line-num-content">304</span>
|
1037
|
+
</td>
|
1038
|
+
<td id="L0R307" class="diff-line-num linkable-line-number" data-line-number="307">
|
1039
|
+
<span class="line-num-content">307</span>
|
1040
|
+
</td>
|
1041
|
+
<td class="diff-line-code">
|
1042
|
+
<b class="add-line-comment octicon octicon-comment-add" data-remote="/discourse/discourse/pull/1253/review_comment/form?commit_id=d7d3be1130c665cc7fab9f05dbf32335229137a6&path=app/assets/stylesheets/application/compose.css.scss&position=9&line=307"></b>
|
1043
|
+
border: 1px dashed $gray;
|
1044
|
+
</td>
|
1045
|
+
</tr>
|
1046
|
+
</table>
|
1047
|
+
</div>
|
1048
|
+
|
1049
|
+
<div class="file-comments-place-holder" data-path="app/assets/stylesheets/application/compose.css.scss"></div>
|
1050
|
+
</div>
|
1051
|
+
<a name="diff-cde82f9a5dd8c4fabfda36afcdfc3522"></a>
|
1052
|
+
<div id="diff-1" class="file js-details-container" data-diff-num="1">
|
1053
|
+
<div class="meta" data-path="app/assets/stylesheets/application/topic-post.css.scss">
|
1054
|
+
<div class="info">
|
1055
|
+
<span class="diffstat tooltipped rightwards" title="3 additions & 0 deletions">3 <span class="diffstat-bar"><i class='plus'></i></span></span>
|
1056
|
+
|
1057
|
+
<span class="js-selectable-text css-truncate css-truncate-target" title="app/assets/stylesheets/application/topic-post.css.scss">
|
1058
|
+
app/assets/stylesheets/application/topic-post.css.scss
|
1059
|
+
</span>
|
1060
|
+
|
1061
|
+
</div>
|
1062
|
+
<div class="actions">
|
1063
|
+
<span class="show-inline-notes">
|
1064
|
+
<label>
|
1065
|
+
<input type="checkbox" checked="checked" class="js-show-inline-comments-toggle">
|
1066
|
+
show inline notes
|
1067
|
+
</label>
|
1068
|
+
</span>
|
1069
|
+
<div class="button-group">
|
1070
|
+
<a href="/jamesaanderson/discourse/blob/d7d3be1130c665cc7fab9f05dbf32335229137a6/app/assets/stylesheets/application/topic-post.css.scss" class="minibutton" rel="nofollow">View file @ <code>d7d3be1</code></a>
|
1071
|
+
</div>
|
1072
|
+
</div>
|
1073
|
+
</div>
|
1074
|
+
|
1075
|
+
<div class="data highlight ">
|
1076
|
+
<table class="file-code file-diff ">
|
1077
|
+
<tr class="file-diff-line gc" data-position='0'>
|
1078
|
+
<td id="L1L514" class="diff-line-num linkable-line-number">
|
1079
|
+
<span class="line-num-content">...</span>
|
1080
|
+
</td>
|
1081
|
+
<td id="L1R514" class="diff-line-num linkable-line-number">
|
1082
|
+
<span class="line-num-content">...</span>
|
1083
|
+
</td>
|
1084
|
+
<td class="diff-line-code">
|
1085
|
+
@@ -515,6 +515,9 @@
|
1086
|
+
</td>
|
1087
|
+
</tr>
|
1088
|
+
<tr class="file-diff-line " id="app-assets-stylesheets-application-topic-post-css-scss-P1" data-position="1">
|
1089
|
+
<td id="L1L515" class="diff-line-num linkable-line-number" data-line-number="515">
|
1090
|
+
<span class="line-num-content">515</span>
|
1091
|
+
</td>
|
1092
|
+
<td id="L1R515" class="diff-line-num linkable-line-number" data-line-number="515">
|
1093
|
+
<span class="line-num-content">515</span>
|
1094
|
+
</td>
|
1095
|
+
<td class="diff-line-code">
|
1096
|
+
<b class="add-line-comment octicon octicon-comment-add" data-remote="/discourse/discourse/pull/1253/review_comment/form?commit_id=d7d3be1130c665cc7fab9f05dbf32335229137a6&path=app/assets/stylesheets/application/topic-post.css.scss&position=1&line=515"></b>
|
1097
|
+
img {
|
1098
|
+
</td>
|
1099
|
+
</tr>
|
1100
|
+
<tr class="file-diff-line " id="app-assets-stylesheets-application-topic-post-css-scss-P2" data-position="2">
|
1101
|
+
<td id="L1L516" class="diff-line-num linkable-line-number" data-line-number="516">
|
1102
|
+
<span class="line-num-content">516</span>
|
1103
|
+
</td>
|
1104
|
+
<td id="L1R516" class="diff-line-num linkable-line-number" data-line-number="516">
|
1105
|
+
<span class="line-num-content">516</span>
|
1106
|
+
</td>
|
1107
|
+
<td class="diff-line-code">
|
1108
|
+
<b class="add-line-comment octicon octicon-comment-add" data-remote="/discourse/discourse/pull/1253/review_comment/form?commit_id=d7d3be1130c665cc7fab9f05dbf32335229137a6&path=app/assets/stylesheets/application/topic-post.css.scss&position=2&line=516"></b>
|
1109
|
+
max-width: 100%;
|
1110
|
+
</td>
|
1111
|
+
</tr>
|
1112
|
+
<tr class="file-diff-line " id="app-assets-stylesheets-application-topic-post-css-scss-P3" data-position="3">
|
1113
|
+
<td id="L1L517" class="diff-line-num linkable-line-number" data-line-number="517">
|
1114
|
+
<span class="line-num-content">517</span>
|
1115
|
+
</td>
|
1116
|
+
<td id="L1R517" class="diff-line-num linkable-line-number" data-line-number="517">
|
1117
|
+
<span class="line-num-content">517</span>
|
1118
|
+
</td>
|
1119
|
+
<td class="diff-line-code">
|
1120
|
+
<b class="add-line-comment octicon octicon-comment-add" data-remote="/discourse/discourse/pull/1253/review_comment/form?commit_id=d7d3be1130c665cc7fab9f05dbf32335229137a6&path=app/assets/stylesheets/application/topic-post.css.scss&position=3&line=517"></b>
|
1121
|
+
}
|
1122
|
+
</td>
|
1123
|
+
</tr>
|
1124
|
+
<tr class="file-diff-line gi" id="app-assets-stylesheets-application-topic-post-css-scss-P4" data-position="4">
|
1125
|
+
<td id="L1L517" class="diff-line-num linkable-line-number empty-cell" data-line-number="517">
|
1126
|
+
<span class="line-num-content"> </span>
|
1127
|
+
</td>
|
1128
|
+
<td id="L1R518" class="diff-line-num linkable-line-number" data-line-number="518">
|
1129
|
+
<span class="line-num-content">518</span>
|
1130
|
+
</td>
|
1131
|
+
<td class="diff-line-code">
|
1132
|
+
<b class="add-line-comment octicon octicon-comment-add" data-remote="/discourse/discourse/pull/1253/review_comment/form?commit_id=d7d3be1130c665cc7fab9f05dbf32335229137a6&path=app/assets/stylesheets/application/topic-post.css.scss&position=4&line=518"></b>
|
1133
|
+
+ audio {
|
1134
|
+
</td>
|
1135
|
+
</tr>
|
1136
|
+
<tr class="file-diff-line gi" id="app-assets-stylesheets-application-topic-post-css-scss-P5" data-position="5">
|
1137
|
+
<td id="L1L517" class="diff-line-num linkable-line-number empty-cell" data-line-number="517">
|
1138
|
+
<span class="line-num-content"> </span>
|
1139
|
+
</td>
|
1140
|
+
<td id="L1R519" class="diff-line-num linkable-line-number" data-line-number="519">
|
1141
|
+
<span class="line-num-content">519</span>
|
1142
|
+
</td>
|
1143
|
+
<td class="diff-line-code">
|
1144
|
+
<b class="add-line-comment octicon octicon-comment-add" data-remote="/discourse/discourse/pull/1253/review_comment/form?commit_id=d7d3be1130c665cc7fab9f05dbf32335229137a6&path=app/assets/stylesheets/application/topic-post.css.scss&position=5&line=519"></b>
|
1145
|
+
+ max-width: 100%;
|
1146
|
+
</td>
|
1147
|
+
</tr>
|
1148
|
+
<tr class="file-diff-line gi" id="app-assets-stylesheets-application-topic-post-css-scss-P6" data-position="6">
|
1149
|
+
<td id="L1L517" class="diff-line-num linkable-line-number empty-cell" data-line-number="517">
|
1150
|
+
<span class="line-num-content"> </span>
|
1151
|
+
</td>
|
1152
|
+
<td id="L1R520" class="diff-line-num linkable-line-number" data-line-number="520">
|
1153
|
+
<span class="line-num-content">520</span>
|
1154
|
+
</td>
|
1155
|
+
<td class="diff-line-code">
|
1156
|
+
<b class="add-line-comment octicon octicon-comment-add" data-remote="/discourse/discourse/pull/1253/review_comment/form?commit_id=d7d3be1130c665cc7fab9f05dbf32335229137a6&path=app/assets/stylesheets/application/topic-post.css.scss&position=6&line=520"></b>
|
1157
|
+
+ }
|
1158
|
+
</td>
|
1159
|
+
</tr>
|
1160
|
+
<tr class="file-diff-line " id="app-assets-stylesheets-application-topic-post-css-scss-P7" data-position="7">
|
1161
|
+
<td id="L1L518" class="diff-line-num linkable-line-number" data-line-number="518">
|
1162
|
+
<span class="line-num-content">518</span>
|
1163
|
+
</td>
|
1164
|
+
<td id="L1R521" class="diff-line-num linkable-line-number" data-line-number="521">
|
1165
|
+
<span class="line-num-content">521</span>
|
1166
|
+
</td>
|
1167
|
+
<td class="diff-line-code">
|
1168
|
+
<b class="add-line-comment octicon octicon-comment-add" data-remote="/discourse/discourse/pull/1253/review_comment/form?commit_id=d7d3be1130c665cc7fab9f05dbf32335229137a6&path=app/assets/stylesheets/application/topic-post.css.scss&position=7&line=521"></b>
|
1169
|
+
.topic-body {
|
1170
|
+
</td>
|
1171
|
+
</tr>
|
1172
|
+
<tr class="file-diff-line " id="app-assets-stylesheets-application-topic-post-css-scss-P8" data-position="8">
|
1173
|
+
<td id="L1L519" class="diff-line-num linkable-line-number" data-line-number="519">
|
1174
|
+
<span class="line-num-content">519</span>
|
1175
|
+
</td>
|
1176
|
+
<td id="L1R522" class="diff-line-num linkable-line-number" data-line-number="522">
|
1177
|
+
<span class="line-num-content">522</span>
|
1178
|
+
</td>
|
1179
|
+
<td class="diff-line-code">
|
1180
|
+
<b class="add-line-comment octicon octicon-comment-add" data-remote="/discourse/discourse/pull/1253/review_comment/form?commit_id=d7d3be1130c665cc7fab9f05dbf32335229137a6&path=app/assets/stylesheets/application/topic-post.css.scss&position=8&line=522"></b>
|
1181
|
+
position: relative;
|
1182
|
+
</td>
|
1183
|
+
</tr>
|
1184
|
+
<tr class="file-diff-line " id="app-assets-stylesheets-application-topic-post-css-scss-P9" data-position="9">
|
1185
|
+
<td id="L1L520" class="diff-line-num linkable-line-number" data-line-number="520">
|
1186
|
+
<span class="line-num-content">520</span>
|
1187
|
+
</td>
|
1188
|
+
<td id="L1R523" class="diff-line-num linkable-line-number" data-line-number="523">
|
1189
|
+
<span class="line-num-content">523</span>
|
1190
|
+
</td>
|
1191
|
+
<td class="diff-line-code">
|
1192
|
+
<b class="add-line-comment octicon octicon-comment-add" data-remote="/discourse/discourse/pull/1253/review_comment/form?commit_id=d7d3be1130c665cc7fab9f05dbf32335229137a6&path=app/assets/stylesheets/application/topic-post.css.scss&position=9&line=523"></b>
|
1193
|
+
.contents {
|
1194
|
+
</td>
|
1195
|
+
</tr>
|
1196
|
+
</table>
|
1197
|
+
</div>
|
1198
|
+
|
1199
|
+
<div class="file-comments-place-holder" data-path="app/assets/stylesheets/application/topic-post.css.scss"></div>
|
1200
|
+
</div>
|
1201
|
+
<a name="diff-a40f80f53ad614759d8204b06b3f098a"></a>
|
1202
|
+
<div id="diff-2" class="file js-details-container" data-diff-num="2">
|
1203
|
+
<div class="meta" data-path="lib/onebox/audio_onebox.rb">
|
1204
|
+
<div class="info">
|
1205
|
+
<span class="diffstat tooltipped rightwards" title="12 additions & 0 deletions">12 <span class="diffstat-bar"><i class='plus'></i></span></span>
|
1206
|
+
|
1207
|
+
<span class="js-selectable-text css-truncate css-truncate-target" title="lib/onebox/audio_onebox.rb">
|
1208
|
+
lib/onebox/audio_onebox.rb
|
1209
|
+
</span>
|
1210
|
+
|
1211
|
+
</div>
|
1212
|
+
<div class="actions">
|
1213
|
+
<span class="show-inline-notes">
|
1214
|
+
<label>
|
1215
|
+
<input type="checkbox" checked="checked" class="js-show-inline-comments-toggle">
|
1216
|
+
show inline notes
|
1217
|
+
</label>
|
1218
|
+
</span>
|
1219
|
+
<div class="button-group">
|
1220
|
+
<a href="/jamesaanderson/discourse/blob/d7d3be1130c665cc7fab9f05dbf32335229137a6/lib/onebox/audio_onebox.rb" class="minibutton" rel="nofollow">View file @ <code>d7d3be1</code></a>
|
1221
|
+
</div>
|
1222
|
+
</div>
|
1223
|
+
</div>
|
1224
|
+
|
1225
|
+
<div class="data highlight ">
|
1226
|
+
<table class="file-code file-diff ">
|
1227
|
+
<tr class="file-diff-line gc" data-position='0'>
|
1228
|
+
<td id="L2L-1" class="diff-line-num linkable-line-number">
|
1229
|
+
<span class="line-num-content">...</span>
|
1230
|
+
</td>
|
1231
|
+
<td id="L2R0" class="diff-line-num linkable-line-number">
|
1232
|
+
<span class="line-num-content">...</span>
|
1233
|
+
</td>
|
1234
|
+
<td class="diff-line-code">
|
1235
|
+
@@ -0,0 +1,12 @@
|
1236
|
+
</td>
|
1237
|
+
</tr>
|
1238
|
+
<tr class="file-diff-line gi" id="lib-onebox-audio_onebox-rb-P1" data-position="1">
|
1239
|
+
<td id="L2L-1" class="diff-line-num linkable-line-number empty-cell" data-line-number="-1">
|
1240
|
+
<span class="line-num-content"> </span>
|
1241
|
+
</td>
|
1242
|
+
<td id="L2R1" class="diff-line-num linkable-line-number" data-line-number="1">
|
1243
|
+
<span class="line-num-content">1</span>
|
1244
|
+
</td>
|
1245
|
+
<td class="diff-line-code">
|
1246
|
+
<b class="add-line-comment octicon octicon-comment-add" data-remote="/discourse/discourse/pull/1253/review_comment/form?commit_id=d7d3be1130c665cc7fab9f05dbf32335229137a6&path=lib/onebox/audio_onebox.rb&position=1&line=1"></b>
|
1247
|
+
+require_dependency 'onebox/base_onebox'
|
1248
|
+
</td>
|
1249
|
+
</tr>
|
1250
|
+
<tr class="file-diff-line gi" id="lib-onebox-audio_onebox-rb-P2" data-position="2">
|
1251
|
+
<td id="L2L-1" class="diff-line-num linkable-line-number empty-cell" data-line-number="-1">
|
1252
|
+
<span class="line-num-content"> </span>
|
1253
|
+
</td>
|
1254
|
+
<td id="L2R2" class="diff-line-num linkable-line-number" data-line-number="2">
|
1255
|
+
<span class="line-num-content">2</span>
|
1256
|
+
</td>
|
1257
|
+
<td class="diff-line-code">
|
1258
|
+
<b class="add-line-comment octicon octicon-comment-add" data-remote="/discourse/discourse/pull/1253/review_comment/form?commit_id=d7d3be1130c665cc7fab9f05dbf32335229137a6&path=lib/onebox/audio_onebox.rb&position=2&line=2"></b>
|
1259
|
+
+
|
1260
|
+
</td>
|
1261
|
+
</tr>
|
1262
|
+
<tr class="file-diff-line gi" id="lib-onebox-audio_onebox-rb-P3" data-position="3">
|
1263
|
+
<td id="L2L-1" class="diff-line-num linkable-line-number empty-cell" data-line-number="-1">
|
1264
|
+
<span class="line-num-content"> </span>
|
1265
|
+
</td>
|
1266
|
+
<td id="L2R3" class="diff-line-num linkable-line-number" data-line-number="3">
|
1267
|
+
<span class="line-num-content">3</span>
|
1268
|
+
</td>
|
1269
|
+
<td class="diff-line-code">
|
1270
|
+
<b class="add-line-comment octicon octicon-comment-add" data-remote="/discourse/discourse/pull/1253/review_comment/form?commit_id=d7d3be1130c665cc7fab9f05dbf32335229137a6&path=lib/onebox/audio_onebox.rb&position=3&line=3"></b>
|
1271
|
+
+module Onebox
|
1272
|
+
</td>
|
1273
|
+
</tr>
|
1274
|
+
<tr class="file-diff-line gi" id="lib-onebox-audio_onebox-rb-P4" data-position="4">
|
1275
|
+
<td id="L2L-1" class="diff-line-num linkable-line-number empty-cell" data-line-number="-1">
|
1276
|
+
<span class="line-num-content"> </span>
|
1277
|
+
</td>
|
1278
|
+
<td id="L2R4" class="diff-line-num linkable-line-number" data-line-number="4">
|
1279
|
+
<span class="line-num-content">4</span>
|
1280
|
+
</td>
|
1281
|
+
<td class="diff-line-code">
|
1282
|
+
<b class="add-line-comment octicon octicon-comment-add" data-remote="/discourse/discourse/pull/1253/review_comment/form?commit_id=d7d3be1130c665cc7fab9f05dbf32335229137a6&path=lib/onebox/audio_onebox.rb&position=4&line=4"></b>
|
1283
|
+
+ class AudioOnebox < BaseOnebox
|
1284
|
+
</td>
|
1285
|
+
</tr>
|
1286
|
+
<tr class="file-diff-line gi" id="lib-onebox-audio_onebox-rb-P5" data-position="5">
|
1287
|
+
<td id="L2L-1" class="diff-line-num linkable-line-number empty-cell" data-line-number="-1">
|
1288
|
+
<span class="line-num-content"> </span>
|
1289
|
+
</td>
|
1290
|
+
<td id="L2R5" class="diff-line-num linkable-line-number" data-line-number="5">
|
1291
|
+
<span class="line-num-content">5</span>
|
1292
|
+
</td>
|
1293
|
+
<td class="diff-line-code">
|
1294
|
+
<b class="add-line-comment octicon octicon-comment-add" data-remote="/discourse/discourse/pull/1253/review_comment/form?commit_id=d7d3be1130c665cc7fab9f05dbf32335229137a6&path=lib/onebox/audio_onebox.rb&position=5&line=5"></b>
|
1295
|
+
+
|
1296
|
+
</td>
|
1297
|
+
</tr>
|
1298
|
+
<tr class="file-diff-line gi" id="lib-onebox-audio_onebox-rb-P6" data-position="6">
|
1299
|
+
<td id="L2L-1" class="diff-line-num linkable-line-number empty-cell" data-line-number="-1">
|
1300
|
+
<span class="line-num-content"> </span>
|
1301
|
+
</td>
|
1302
|
+
<td id="L2R6" class="diff-line-num linkable-line-number" data-line-number="6">
|
1303
|
+
<span class="line-num-content">6</span>
|
1304
|
+
</td>
|
1305
|
+
<td class="diff-line-code">
|
1306
|
+
<b class="add-line-comment octicon octicon-comment-add" data-remote="/discourse/discourse/pull/1253/review_comment/form?commit_id=d7d3be1130c665cc7fab9f05dbf32335229137a6&path=lib/onebox/audio_onebox.rb&position=6&line=6"></b>
|
1307
|
+
+ matcher /^https?:\/\/.*\.mp3$/
|
1308
|
+
</td>
|
1309
|
+
</tr>
|
1310
|
+
<tr class="file-diff-line gi" id="lib-onebox-audio_onebox-rb-P7" data-position="7">
|
1311
|
+
<td id="L2L-1" class="diff-line-num linkable-line-number empty-cell" data-line-number="-1">
|
1312
|
+
<span class="line-num-content"> </span>
|
1313
|
+
</td>
|
1314
|
+
<td id="L2R7" class="diff-line-num linkable-line-number" data-line-number="7">
|
1315
|
+
<span class="line-num-content">7</span>
|
1316
|
+
</td>
|
1317
|
+
<td class="diff-line-code">
|
1318
|
+
<b class="add-line-comment octicon octicon-comment-add" data-remote="/discourse/discourse/pull/1253/review_comment/form?commit_id=d7d3be1130c665cc7fab9f05dbf32335229137a6&path=lib/onebox/audio_onebox.rb&position=7&line=7"></b>
|
1319
|
+
+
|
1320
|
+
</td>
|
1321
|
+
</tr>
|
1322
|
+
<tr class="file-diff-line gi" id="lib-onebox-audio_onebox-rb-P8" data-position="8">
|
1323
|
+
<td id="L2L-1" class="diff-line-num linkable-line-number empty-cell" data-line-number="-1">
|
1324
|
+
<span class="line-num-content"> </span>
|
1325
|
+
</td>
|
1326
|
+
<td id="L2R8" class="diff-line-num linkable-line-number" data-line-number="8">
|
1327
|
+
<span class="line-num-content">8</span>
|
1328
|
+
</td>
|
1329
|
+
<td class="diff-line-code">
|
1330
|
+
<b class="add-line-comment octicon octicon-comment-add" data-remote="/discourse/discourse/pull/1253/review_comment/form?commit_id=d7d3be1130c665cc7fab9f05dbf32335229137a6&path=lib/onebox/audio_onebox.rb&position=8&line=8"></b>
|
1331
|
+
+ def onebox
|
1332
|
+
</td>
|
1333
|
+
</tr>
|
1334
|
+
<tr class="file-diff-line gi" id="lib-onebox-audio_onebox-rb-P9" data-position="9">
|
1335
|
+
<td id="L2L-1" class="diff-line-num linkable-line-number empty-cell" data-line-number="-1">
|
1336
|
+
<span class="line-num-content"> </span>
|
1337
|
+
</td>
|
1338
|
+
<td id="L2R9" class="diff-line-num linkable-line-number" data-line-number="9">
|
1339
|
+
<span class="line-num-content">9</span>
|
1340
|
+
</td>
|
1341
|
+
<td class="diff-line-code">
|
1342
|
+
<b class="add-line-comment octicon octicon-comment-add" data-remote="/discourse/discourse/pull/1253/review_comment/form?commit_id=d7d3be1130c665cc7fab9f05dbf32335229137a6&path=lib/onebox/audio_onebox.rb&position=9&line=9"></b>
|
1343
|
+
+ "<audio controls><source src='#{@url}'><a href='#{@url}'>#{@url}</a></audio>"
|
1344
|
+
</td>
|
1345
|
+
</tr>
|
1346
|
+
<tr class="file-diff-line gi" id="lib-onebox-audio_onebox-rb-P10" data-position="10">
|
1347
|
+
<td id="L2L-1" class="diff-line-num linkable-line-number empty-cell" data-line-number="-1">
|
1348
|
+
<span class="line-num-content"> </span>
|
1349
|
+
</td>
|
1350
|
+
<td id="L2R10" class="diff-line-num linkable-line-number" data-line-number="10">
|
1351
|
+
<span class="line-num-content">10</span>
|
1352
|
+
</td>
|
1353
|
+
<td class="diff-line-code">
|
1354
|
+
<b class="add-line-comment octicon octicon-comment-add" data-remote="/discourse/discourse/pull/1253/review_comment/form?commit_id=d7d3be1130c665cc7fab9f05dbf32335229137a6&path=lib/onebox/audio_onebox.rb&position=10&line=10"></b>
|
1355
|
+
+ end
|
1356
|
+
</td>
|
1357
|
+
</tr>
|
1358
|
+
<tr class="file-diff-line gi" id="lib-onebox-audio_onebox-rb-P11" data-position="11">
|
1359
|
+
<td id="L2L-1" class="diff-line-num linkable-line-number empty-cell" data-line-number="-1">
|
1360
|
+
<span class="line-num-content"> </span>
|
1361
|
+
</td>
|
1362
|
+
<td id="L2R11" class="diff-line-num linkable-line-number" data-line-number="11">
|
1363
|
+
<span class="line-num-content">11</span>
|
1364
|
+
</td>
|
1365
|
+
<td class="diff-line-code">
|
1366
|
+
<b class="add-line-comment octicon octicon-comment-add" data-remote="/discourse/discourse/pull/1253/review_comment/form?commit_id=d7d3be1130c665cc7fab9f05dbf32335229137a6&path=lib/onebox/audio_onebox.rb&position=11&line=11"></b>
|
1367
|
+
+ end
|
1368
|
+
</td>
|
1369
|
+
</tr>
|
1370
|
+
<tr class="file-diff-line gi" id="lib-onebox-audio_onebox-rb-P12" data-position="12">
|
1371
|
+
<td id="L2L-1" class="diff-line-num linkable-line-number empty-cell" data-line-number="-1">
|
1372
|
+
<span class="line-num-content"> </span>
|
1373
|
+
</td>
|
1374
|
+
<td id="L2R12" class="diff-line-num linkable-line-number" data-line-number="12">
|
1375
|
+
<span class="line-num-content">12</span>
|
1376
|
+
</td>
|
1377
|
+
<td class="diff-line-code">
|
1378
|
+
<b class="add-line-comment octicon octicon-comment-add" data-remote="/discourse/discourse/pull/1253/review_comment/form?commit_id=d7d3be1130c665cc7fab9f05dbf32335229137a6&path=lib/onebox/audio_onebox.rb&position=12&line=12"></b>
|
1379
|
+
+end
|
1380
|
+
</td>
|
1381
|
+
</tr>
|
1382
|
+
</table>
|
1383
|
+
</div>
|
1384
|
+
|
1385
|
+
<div class="file-comments-place-holder" data-path="lib/onebox/audio_onebox.rb"></div>
|
1386
|
+
</div>
|
1387
|
+
<a name="diff-7c20d93d992616b18882952ef737093b"></a>
|
1388
|
+
<div id="diff-3" class="file js-details-container" data-diff-num="3">
|
1389
|
+
<div class="meta" data-path="lib/onebox/video_onebox.rb">
|
1390
|
+
<div class="info">
|
1391
|
+
<span class="diffstat tooltipped rightwards" title="1 addition & 1 deletion">2 <span class="diffstat-bar"><i class='plus'></i><i class='minus'></i></span></span>
|
1392
|
+
|
1393
|
+
<span class="js-selectable-text css-truncate css-truncate-target" title="lib/onebox/video_onebox.rb">
|
1394
|
+
lib/onebox/video_onebox.rb
|
1395
|
+
</span>
|
1396
|
+
|
1397
|
+
</div>
|
1398
|
+
<div class="actions">
|
1399
|
+
<span class="show-inline-notes">
|
1400
|
+
<label>
|
1401
|
+
<input type="checkbox" checked="checked" class="js-show-inline-comments-toggle">
|
1402
|
+
show inline notes
|
1403
|
+
</label>
|
1404
|
+
</span>
|
1405
|
+
<div class="button-group">
|
1406
|
+
<a href="/jamesaanderson/discourse/blob/d7d3be1130c665cc7fab9f05dbf32335229137a6/lib/onebox/video_onebox.rb" class="minibutton" rel="nofollow">View file @ <code>d7d3be1</code></a>
|
1407
|
+
</div>
|
1408
|
+
</div>
|
1409
|
+
</div>
|
1410
|
+
|
1411
|
+
<div class="data highlight ">
|
1412
|
+
<table class="file-code file-diff ">
|
1413
|
+
<tr class="file-diff-line gc" data-position='0'>
|
1414
|
+
<td id="L3L2" class="diff-line-num linkable-line-number">
|
1415
|
+
<span class="line-num-content">...</span>
|
1416
|
+
</td>
|
1417
|
+
<td id="L3R2" class="diff-line-num linkable-line-number">
|
1418
|
+
<span class="line-num-content">...</span>
|
1419
|
+
</td>
|
1420
|
+
<td class="diff-line-code">
|
1421
|
+
@@ -3,7 +3,7 @@
|
1422
|
+
</td>
|
1423
|
+
</tr>
|
1424
|
+
<tr class="file-diff-line " id="lib-onebox-video_onebox-rb-P1" data-position="1">
|
1425
|
+
<td id="L3L3" class="diff-line-num linkable-line-number" data-line-number="3">
|
1426
|
+
<span class="line-num-content">3</span>
|
1427
|
+
</td>
|
1428
|
+
<td id="L3R3" class="diff-line-num linkable-line-number" data-line-number="3">
|
1429
|
+
<span class="line-num-content">3</span>
|
1430
|
+
</td>
|
1431
|
+
<td class="diff-line-code">
|
1432
|
+
<b class="add-line-comment octicon octicon-comment-add" data-remote="/discourse/discourse/pull/1253/review_comment/form?commit_id=d7d3be1130c665cc7fab9f05dbf32335229137a6&path=lib/onebox/video_onebox.rb&position=1&line=3"></b>
|
1433
|
+
module Onebox
|
1434
|
+
</td>
|
1435
|
+
</tr>
|
1436
|
+
<tr class="file-diff-line " id="lib-onebox-video_onebox-rb-P2" data-position="2">
|
1437
|
+
<td id="L3L4" class="diff-line-num linkable-line-number" data-line-number="4">
|
1438
|
+
<span class="line-num-content">4</span>
|
1439
|
+
</td>
|
1440
|
+
<td id="L3R4" class="diff-line-num linkable-line-number" data-line-number="4">
|
1441
|
+
<span class="line-num-content">4</span>
|
1442
|
+
</td>
|
1443
|
+
<td class="diff-line-code">
|
1444
|
+
<b class="add-line-comment octicon octicon-comment-add" data-remote="/discourse/discourse/pull/1253/review_comment/form?commit_id=d7d3be1130c665cc7fab9f05dbf32335229137a6&path=lib/onebox/video_onebox.rb&position=2&line=4"></b>
|
1445
|
+
class VideoOnebox < BaseOnebox
|
1446
|
+
</td>
|
1447
|
+
</tr>
|
1448
|
+
<tr class="file-diff-line " id="lib-onebox-video_onebox-rb-P3" data-position="3">
|
1449
|
+
<td id="L3L5" class="diff-line-num linkable-line-number" data-line-number="5">
|
1450
|
+
<span class="line-num-content">5</span>
|
1451
|
+
</td>
|
1452
|
+
<td id="L3R5" class="diff-line-num linkable-line-number" data-line-number="5">
|
1453
|
+
<span class="line-num-content">5</span>
|
1454
|
+
</td>
|
1455
|
+
<td class="diff-line-code">
|
1456
|
+
<b class="add-line-comment octicon octicon-comment-add" data-remote="/discourse/discourse/pull/1253/review_comment/form?commit_id=d7d3be1130c665cc7fab9f05dbf32335229137a6&path=lib/onebox/video_onebox.rb&position=3&line=5"></b>
|
1457
|
+
|
1458
|
+
</td>
|
1459
|
+
</tr>
|
1460
|
+
<tr class="file-diff-line gd" id="lib-onebox-video_onebox-rb-P4" data-position="4">
|
1461
|
+
<td id="L3L6" class="diff-line-num linkable-line-number" data-line-number="6">
|
1462
|
+
<span class="line-num-content">6</span>
|
1463
|
+
</td>
|
1464
|
+
<td id="L3R5" class="diff-line-num linkable-line-number empty-cell" data-line-number="5">
|
1465
|
+
<span class="line-num-content"> </span>
|
1466
|
+
</td>
|
1467
|
+
<td class="diff-line-code">
|
1468
|
+
<b class="add-line-comment octicon octicon-comment-add" data-remote="/discourse/discourse/pull/1253/review_comment/form?commit_id=d7d3be1130c665cc7fab9f05dbf32335229137a6&path=lib/onebox/video_onebox.rb&position=4&line=6"></b>
|
1469
|
+
- matcher /^https?:\/\/.*\.(mov|mp4<span class="x">|ogg</span>)$/
|
1470
|
+
</td>
|
1471
|
+
</tr>
|
1472
|
+
<tr class="file-diff-line gi" id="lib-onebox-video_onebox-rb-P5" data-position="5">
|
1473
|
+
<td id="L3L6" class="diff-line-num linkable-line-number empty-cell" data-line-number="6">
|
1474
|
+
<span class="line-num-content"> </span>
|
1475
|
+
</td>
|
1476
|
+
<td id="L3R6" class="diff-line-num linkable-line-number" data-line-number="6">
|
1477
|
+
<span class="line-num-content">6</span>
|
1478
|
+
</td>
|
1479
|
+
<td class="diff-line-code">
|
1480
|
+
<b class="add-line-comment octicon octicon-comment-add" data-remote="/discourse/discourse/pull/1253/review_comment/form?commit_id=d7d3be1130c665cc7fab9f05dbf32335229137a6&path=lib/onebox/video_onebox.rb&position=5&line=6"></b>
|
1481
|
+
+ matcher /^https?:\/\/.*\.(mov|mp4<span class="x"></span>)$/
|
1482
|
+
</td>
|
1483
|
+
</tr>
|
1484
|
+
<tr class="file-diff-line " id="lib-onebox-video_onebox-rb-P6" data-position="6">
|
1485
|
+
<td id="L3L7" class="diff-line-num linkable-line-number" data-line-number="7">
|
1486
|
+
<span class="line-num-content">7</span>
|
1487
|
+
</td>
|
1488
|
+
<td id="L3R7" class="diff-line-num linkable-line-number" data-line-number="7">
|
1489
|
+
<span class="line-num-content">7</span>
|
1490
|
+
</td>
|
1491
|
+
<td class="diff-line-code">
|
1492
|
+
<b class="add-line-comment octicon octicon-comment-add" data-remote="/discourse/discourse/pull/1253/review_comment/form?commit_id=d7d3be1130c665cc7fab9f05dbf32335229137a6&path=lib/onebox/video_onebox.rb&position=6&line=7"></b>
|
1493
|
+
|
1494
|
+
</td>
|
1495
|
+
</tr>
|
1496
|
+
<tr class="file-diff-line " id="lib-onebox-video_onebox-rb-P7" data-position="7">
|
1497
|
+
<td id="L3L8" class="diff-line-num linkable-line-number" data-line-number="8">
|
1498
|
+
<span class="line-num-content">8</span>
|
1499
|
+
</td>
|
1500
|
+
<td id="L3R8" class="diff-line-num linkable-line-number" data-line-number="8">
|
1501
|
+
<span class="line-num-content">8</span>
|
1502
|
+
</td>
|
1503
|
+
<td class="diff-line-code">
|
1504
|
+
<b class="add-line-comment octicon octicon-comment-add" data-remote="/discourse/discourse/pull/1253/review_comment/form?commit_id=d7d3be1130c665cc7fab9f05dbf32335229137a6&path=lib/onebox/video_onebox.rb&position=7&line=8"></b>
|
1505
|
+
def onebox
|
1506
|
+
</td>
|
1507
|
+
</tr>
|
1508
|
+
<tr class="file-diff-line " id="lib-onebox-video_onebox-rb-P8" data-position="8">
|
1509
|
+
<td id="L3L9" class="diff-line-num linkable-line-number" data-line-number="9">
|
1510
|
+
<span class="line-num-content">9</span>
|
1511
|
+
</td>
|
1512
|
+
<td id="L3R9" class="diff-line-num linkable-line-number" data-line-number="9">
|
1513
|
+
<span class="line-num-content">9</span>
|
1514
|
+
</td>
|
1515
|
+
<td class="diff-line-code">
|
1516
|
+
<b class="add-line-comment octicon octicon-comment-add" data-remote="/discourse/discourse/pull/1253/review_comment/form?commit_id=d7d3be1130c665cc7fab9f05dbf32335229137a6&path=lib/onebox/video_onebox.rb&position=8&line=9"></b>
|
1517
|
+
"<video width='100%' height='100%' controls><source src='#{@url}'><a href='#{@url}'>#{@url}</a></video>"
|
1518
|
+
</td>
|
1519
|
+
</tr>
|
1520
|
+
</table>
|
1521
|
+
</div>
|
1522
|
+
|
1523
|
+
<div class="file-comments-place-holder" data-path="lib/onebox/video_onebox.rb"></div>
|
1524
|
+
</div>
|
1525
|
+
</div>
|
1526
|
+
|
1527
|
+
</div><!-- /.breakout -->
|
1528
|
+
</div>
|
1529
|
+
|
1530
|
+
<div class='form-actions'>
|
1531
|
+
<div class="tip">
|
1532
|
+
<img alt="Commit_comment_tip" height="35" src="https://github.global.ssl.fastly.net/images/modules/commit/commit_comment_tip.gif" width="95" />
|
1533
|
+
<p><strong>Tip:</strong> You can add notes to lines in a file. Hover to the left of a line to make a note</p>
|
1534
|
+
</div>
|
1535
|
+
</div>
|
1536
|
+
<div class="clearfix"></div>
|
1537
|
+
|
1538
|
+
|
1539
|
+
</div>
|
1540
|
+
|
1541
|
+
<!-- COMMENTS -->
|
1542
|
+
<div id='diff-comment-data' style='display:none'>
|
1543
|
+
</div>
|
1544
|
+
|
1545
|
+
|
1546
|
+
|
1547
|
+
</div>
|
1548
|
+
|
1549
|
+
</div>
|
1550
|
+
|
1551
|
+
</div><!-- /.repo-container -->
|
1552
|
+
<div class="modal-backdrop"></div>
|
1553
|
+
</div><!-- /.container -->
|
1554
|
+
</div><!-- /.site -->
|
1555
|
+
|
1556
|
+
|
1557
|
+
</div><!-- /.wrapper -->
|
1558
|
+
|
1559
|
+
<div class="container">
|
1560
|
+
<div class="site-footer">
|
1561
|
+
<ul class="site-footer-links right">
|
1562
|
+
<li><a href="https://status.github.com/">Status</a></li>
|
1563
|
+
<li><a href="http://developer.github.com">API</a></li>
|
1564
|
+
<li><a href="http://training.github.com">Training</a></li>
|
1565
|
+
<li><a href="http://shop.github.com">Shop</a></li>
|
1566
|
+
<li><a href="/blog">Blog</a></li>
|
1567
|
+
<li><a href="/about">About</a></li>
|
1568
|
+
|
1569
|
+
</ul>
|
1570
|
+
|
1571
|
+
<a href="/">
|
1572
|
+
<span class="mega-octicon octicon-mark-github"></span>
|
1573
|
+
</a>
|
1574
|
+
|
1575
|
+
<ul class="site-footer-links">
|
1576
|
+
<li>© 2013 <span title="0.13631s from fe17.rs.github.com">GitHub</span>, Inc.</li>
|
1577
|
+
<li><a href="/site/terms">Terms</a></li>
|
1578
|
+
<li><a href="/site/privacy">Privacy</a></li>
|
1579
|
+
<li><a href="/security">Security</a></li>
|
1580
|
+
<li><a href="/contact">Contact</a></li>
|
1581
|
+
</ul>
|
1582
|
+
</div><!-- /.site-footer -->
|
1583
|
+
</div><!-- /.container -->
|
1584
|
+
|
1585
|
+
|
1586
|
+
<div class="fullscreen-overlay js-fullscreen-overlay" id="fullscreen_overlay">
|
1587
|
+
<div class="fullscreen-container js-fullscreen-container">
|
1588
|
+
<div class="textarea-wrap">
|
1589
|
+
<textarea name="fullscreen-contents" id="fullscreen-contents" class="js-fullscreen-contents" placeholder="" data-suggester="fullscreen_suggester"></textarea>
|
1590
|
+
<div class="suggester-container">
|
1591
|
+
<div class="suggester fullscreen-suggester js-navigation-container" id="fullscreen_suggester"
|
1592
|
+
data-url="/discourse/discourse/suggestions/commit">
|
1593
|
+
</div>
|
1594
|
+
</div>
|
1595
|
+
</div>
|
1596
|
+
</div>
|
1597
|
+
<div class="fullscreen-sidebar">
|
1598
|
+
<a href="#" class="exit-fullscreen js-exit-fullscreen tooltipped leftwards" title="Exit Zen Mode">
|
1599
|
+
<span class="mega-octicon octicon-screen-normal"></span>
|
1600
|
+
</a>
|
1601
|
+
<a href="#" class="theme-switcher js-theme-switcher tooltipped leftwards"
|
1602
|
+
title="Switch themes">
|
1603
|
+
<span class="octicon octicon-color-mode"></span>
|
1604
|
+
</a>
|
1605
|
+
</div>
|
1606
|
+
</div>
|
1607
|
+
|
1608
|
+
|
1609
|
+
|
1610
|
+
<div id="ajax-error-message" class="flash flash-error">
|
1611
|
+
<span class="octicon octicon-alert"></span>
|
1612
|
+
<a href="#" class="octicon octicon-remove-close close ajax-error-dismiss"></a>
|
1613
|
+
Something went wrong with that request. Please try again.
|
1614
|
+
</div>
|
1615
|
+
|
1616
|
+
|
1617
|
+
</body>
|
1618
|
+
</html>
|
1619
|
+
|