Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('.msg_history').append($('<div class="' + class1 + '"></div>').append($('<div class="' + class2 + '"></div>').append($('<div></div>')
- .append($('<a href="' + msg + '" target="_blank"></a>')
- .append($('<img src="https://i.ytimg.com/vi/' + id + '/mqdefault.jpg" width="160ox" height="90px">')))
- .append($('<div></div>')
- .append($('<p></p>').text(title))
- .append($('<i class="material-icons">play_arrow</i>').on('click', () => {
- sendMessage('setID', {
- 'id': id,
- 'time': time
- });
- doVideoChange(id, time);
- }))
- ))));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement