OK, so never having written a line of Ruby in my life, would adding something like this at line 81 get the job done? Then I need to figure out how to make this a plugin? About time I learned how …
Documented Youtube parameter definitions are all in the form key=[0..3]
p['rel'] = params['rel'] if params.include? 'rel'
p['autohide'] = params['autohide'] if params.include? 'autohide'
p['cc_load_policy'] = params['cc_load_policy' if params.include? 'cc_load_policy'
p['fs'] = params['fs'] if params.include? 'fs'
p['hl'] = params['hl'] if params.include? 'hl'
p['iv_load_policy'] = params['iv_load_policy'] if params.include? 'iv_load_policy'
p['modestbranding'] = params['modestbranding'] if params.include? 'modestbranding'
p['color'] = params['color'] if params.include? 'color'
p['theme'] = params['theme'] if params.include? 'theme'