Skip to content

Commit

Permalink
Add "html5=1" to the get_video_info url. (fixes #374)
Browse files Browse the repository at this point in the history
  • Loading branch information
trizen committed May 20, 2021
1 parent 10513cd commit e7bc948
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/WWW/YoutubeViewer.pm
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ my %valid_options = (
feeds_url => {valid => q[], default => 'https://www.googleapis.com/youtube/v3/'},
video_info_url => {valid => q[], default => 'https://www.youtube.com/get_video_info'},
oauth_url => {valid => q[], default => 'https://accounts.google.com/o/oauth2/'},
video_info_args => {valid => q[], default => '?video_id=%s&el=detailpage&ps=default&eurl=&gl=US&hl=en'},
video_info_args => {valid => q[], default => '?video_id=%s&el=detailpage&ps=default&eurl=&gl=US&hl=en&html5=1'},
www_content_type => {valid => q[], default => 'application/x-www-form-urlencoded'},

#<<<
Expand Down

0 comments on commit e7bc948

Please sign in to comment.