mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Added open in YouTube button on search, and setting start/endtime of YouTube video.
- Opening for further development with userset end/starttime
This commit is contained in:
@@ -93,6 +93,7 @@ var Search = {
|
||||
songs.find("#temp-results").attr("data-video-id", id);
|
||||
songs.find("#temp-results").attr("data-video-title", enc_title);
|
||||
songs.find("#temp-results").attr("data-video-length", secs);
|
||||
songs.find(".open-externally").attr("href", "https://www.youtube.com/watch?v=" + id);
|
||||
//$($(songs).find("div")[0]).attr("id", id)
|
||||
//output += undefined;
|
||||
if(songs.html() != undefined) {
|
||||
|
||||
Reference in New Issue
Block a user