Skip to content

Commit

Permalink
Embed periscope from tweets. There is sadly no support to embed peris…
Browse files Browse the repository at this point in the history
…cope videos outside of tweets.
  • Loading branch information
stefansundin committed Sep 15, 2018
1 parent 888e39d commit aafbbcd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions views/twitter_feed.erb
Expand Up @@ -47,6 +47,9 @@
if body["snappytv.com"]
body += "\n<iframe width='560' height='314' src='https://twitter.com/i/videos/tweet/#{tweet["id_str"]}' frameborder='0' scrolling='no' allowfullscreen referrerpolicy='no-referrer'></iframe>"
end
if body["https://www.pscp.tv/w/"]
body += "\n<iframe width='420' height='480' src='https://twitter.com/i/cards/tfw/v1/#{tweet["id_str"]}' frameborder='0' scrolling='no' allowfullscreen referrerpolicy='no-referrer'></iframe>"
end
-%>

<entry>
Expand Down

0 comments on commit aafbbcd

Please sign in to comment.