Share video regression. Single quotes are required

このコミットが含まれているのは:
meow 2022-05-17 09:43:05 +03:00
コミット 2ea423032e
1個のファイルの変更3行の追加2行の削除

ファイルの表示

@ -114,8 +114,9 @@ var shareOptions = {
description: player_data.description,
image: player_data.thumbnail,
get embedCode() {
return '<iframe id="ivplayer" width="640" height="360" src="' +
addCurrentTimeToURL(embed_url) + '" style="border:none;"></iframe>';
// Single quotes inside here required. HTML inserted as is into value attribute of input
return "<iframe id='ivplayer' width='640' height='360' src='" +
addCurrentTimeToURL(embed_url) + "' style='border:none;'></iframe>";
}
};