mirror of
https://github.com/iv-org/invidious.git
synced 2024-12-25 15:29:27 -05:00
Share video regression. Single quotes are required
This commit is contained in:
parent
2dead1a19b
commit
2ea423032e
@ -114,8 +114,9 @@ var shareOptions = {
|
|||||||
description: player_data.description,
|
description: player_data.description,
|
||||||
image: player_data.thumbnail,
|
image: player_data.thumbnail,
|
||||||
get embedCode() {
|
get embedCode() {
|
||||||
return '<iframe id="ivplayer" width="640" height="360" src="' +
|
// Single quotes inside here required. HTML inserted as is into value attribute of input
|
||||||
addCurrentTimeToURL(embed_url) + '" style="border:none;"></iframe>';
|
return "<iframe id='ivplayer' width='640' height='360' src='" +
|
||||||
|
addCurrentTimeToURL(embed_url) + "' style='border:none;'></iframe>";
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user