diff options
| author | Jules Laplace <jules@okfoc.us> | 2016-09-15 13:14:05 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2016-09-15 13:14:05 -0400 |
| commit | 8b0d192d82bf12f3d82be6e9447918521e99d5ca (patch) | |
| tree | 4bd07ab6a9fe54cd0194d792899536043b590ed2 /StoneIsland/www/js/lib/blogs/HubView.js | |
| parent | ced3c488bca6698d6d93887e6e17badbb202361b (diff) | |
xml
Diffstat (limited to 'StoneIsland/www/js/lib/blogs/HubView.js')
| -rwxr-xr-x | StoneIsland/www/js/lib/blogs/HubView.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/StoneIsland/www/js/lib/blogs/HubView.js b/StoneIsland/www/js/lib/blogs/HubView.js index 0d733494..cef2d07a 100755 --- a/StoneIsland/www/js/lib/blogs/HubView.js +++ b/StoneIsland/www/js/lib/blogs/HubView.js @@ -100,7 +100,7 @@ var HubView = ScrollableView.extend({ if (is_video) { var ytid = (url.match(/v=([-_a-zA-Z0-9]{11})/i) || url.match(/youtu.be\/([-_a-zA-Z0-9]{11})/i) || url.match(/embed\/([-_a-zA-Z0-9]{11})/i))[1].split('&')[0]; - var tag = '<iframe src="https://www.youtube.com/embed/' + ytid + '?" frameborder="0"></iframe>' + var tag = '<iframe src="https://www.youtube.com/embed/' + ytid + '?showinfo=0&rel=0&modestbranding=1&iv_load_policy=3&controls=0" frameborder="0"></iframe>' el.innerHTML = tag // webkit-playsinline (html attribute) |
