FIX: Skip rendering twitter video if matching format not found

FIX: Skip rendering twitter video if matching format not found

Followup to d5a4318a

diff --git a/lib/twitter_api.rb b/lib/twitter_api.rb
index 8fbfced..a0e5282 100644
--- a/lib/twitter_api.rb
+++ b/lib/twitter_api.rb
@@ -29,7 +29,7 @@ class TwitterApi
               .select { |v| v['content_type'] == 'video/mp4' }
               .sort { |v| v['bitrate'] }.last # choose highest bitrate
 
-            if url = video_to_display['url']
+            if video_to_display && url = video_to_display['url']
               width = m['sizes']['large']['w']
               height = m['sizes']['large']['h']
 

GitHub sha: a895e4a1