Fix title URL for embedded videos
This commit is contained in:
		| @@ -106,12 +106,12 @@ if (location.pathname.startsWith('/embed/')) { | |||||||
|     player.overlay({ |     player.overlay({ | ||||||
|         overlays: [{ |         overlays: [{ | ||||||
|             start: 'loadstart', |             start: 'loadstart', | ||||||
|             content: '<h1><a href="' + location.href + '">' + player_data.title + '</a></h1>', |             content: '<h1><a href="' + location.origin + '/watch?v=' + video_data.id + '">' + player_data.title + '</a></h1>', | ||||||
|             end: 'playing', |             end: 'playing', | ||||||
|             align: 'top' |             align: 'top' | ||||||
|         }, { |         }, { | ||||||
|             start: 'pause', |             start: 'pause', | ||||||
|             content: '<h1><a href="' + location.href + '">' + player_data.title + '</a></h1>', |             content: '<h1><a href="' + location.origin + '/watch?v=' + video_data.id + '">' + player_data.title + '</a></h1>', | ||||||
|             end: 'playing', |             end: 'playing', | ||||||
|             align: 'top' |             align: 'top' | ||||||
|         }] |         }] | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Omar Roth
					Omar Roth