lib/onebox/engine/youtube_onebox.rb in onebox-1.8.22 vs lib/onebox/engine/youtube_onebox.rb in onebox-1.8.23

- old
+ new

@@ -103,10 +103,10 @@ response = Onebox::Helpers.fetch_response(url) rescue "{}" Onebox::Helpers.symbolize_keys(::MultiJson.load(response)) end def embed_params - p = {'feature' => 'oembed', 'wmode' => 'opaque'} + p = { 'feature' => 'oembed', 'wmode' => 'opaque' } p['list'] = list_id if list_id # Parse timestrings, and assign the result as a start= parameter start = if params['start']