This repository was archived by the owner on Aug 23, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ <h4></h4>
149
149
</ main >
150
150
< script id ="replays-list-row " type ="text/x-handlebars-template ">
151
151
< tr data-id = "{{vid}}" class = "link {{searched}} {{seen}} user-{{userid}}" >
152
- < td width = "400 " oncontextmenu = "openReplayContextMenu('{{vid}}')" style = "cursor: pointer;" onClick = "playVideo('{{vid}}')" class = "{{highlight}}" > { { { watched} } } { { unlisted} } { { { isLive} } } { { title} } </ td >
152
+ < td width = "350 " oncontextmenu = "openReplayContextMenu('{{vid}}')" style = "cursor: pointer; overflow: hidden ;" onClick = "playVideo('{{vid}}')" class = "{{highlight}}" > { { { watched} } } { { unlisted} } { { { isLive} } } { { title} } </ td >
153
153
< td width = "130" oncontextmenu = "openReplayContextMenu('{{vid}}')" style = "cursor: pointer;" onClick = "playVideo('{{vid}}')" class = "{{highlight}}" align = "center" data-name = "date" > { { ds} } </ td >
154
154
< td width = "55" oncontextmenu = "openReplayContextMenu('{{vid}}')" style = "cursor: pointer;" onClick = "playVideo('{{vid}}')" class = "{{highlight}}" align = "right" > { { length} } </ td >
155
155
< td width = "75" oncontextmenu = "openReplayContextMenu('{{vid}}')" style = "cursor: pointer;" onClick = "playVideo('{{vid}}')" class = "{{highlight}}" align = "right" data-name = "views" > { { playnumber} } </ td >
@@ -158,8 +158,9 @@ <h4></h4>
158
158
< td width = "33" oncontextmenu = "openReplayContextMenu('{{vid}}')" style = "cursor: pointer;" onClick = "playVideo('{{vid}}')" class = "{{highlight}}" style = "color:gray" align = "right" data-name = "lpm" > { { lpm} } </ td >
159
159
< td width = "75" oncontextmenu = "openReplayContextMenu('{{vid}}')" style = "cursor: pointer;" onClick = "playVideo('{{vid}}')" class = "{{highlight}}" align = "right" data-name = "shares" > { { sharenum} } </ td >
160
160
< td width = "33" oncontextmenu = "openReplayContextMenu('{{vid}}')" style = "cursor: pointer;" onClick = "playVideo('{{vid}}')" class = "{{highlight}}" style = "color:gray" align = "right" data-name = "spm" > { { spm} } </ td >
161
- < td width = "35" class = "{{highlight}}" style = "padding: 0 0.5em; text-align: right;" >
162
- { { { inQueue} } }
161
+ < td width = "85" class = "{{highlight}}" style = "padding: 0 0.5em; text-align: right;" >
162
+ { { { inQueue} } }
163
+ { { { getURL} } }
163
164
</ td >
164
165
< td width = "40" class = "{{highlight}}" style = "padding: 0 0.5em; text-align: right;" >
165
166
< a class = "button " onClick = "openReplayContextMenu('{{vid}}')" title = "menu" > ...</ a >
Original file line number Diff line number Diff line change @@ -1152,6 +1152,7 @@ function _addReplayEntry(replay, wasSearched) {
1152
1152
1153
1153
let isLive = replay . hlsvideosource . endsWith ( 'flv' ) || replay . hlsvideosource . indexOf ( 'liveplay' ) > 0 ? '<b style="color:limegreen;">[LIVE]</b>' : ''
1154
1154
let inQueue = $ ( '#download-' + replay . vid ) . length > 0 ? '<a id="download-replay-' + replay . vid + '" class="button icon-only"><i class="icon icon-download dim"></i></a>' : '<a id="download-replay-' + replay . vid + '" class="button icon-only" onClick="downloadVideo(\'' + replay . vid + '\')"">' + downloaded + '</a>'
1155
+ let getURL = '<a title="Copy Replay URL to clipboard." class="button icon-only" onClick="copyToClipboard(\'https://www.liveme.com/us/v/' + replay . vid + '/index.html\')"><i class="icon icon-copy bright"></i></a>'
1155
1156
1156
1157
const template = Handlebars . compile ( $ ( '#replays-list-row' ) . html ( ) )
1157
1158
@@ -1169,6 +1170,7 @@ function _addReplayEntry(replay, wasSearched) {
1169
1170
vpm : vpm . toFixed ( 1 ) ,
1170
1171
spm : spm . toFixed ( 1 ) ,
1171
1172
inQueue,
1173
+ getURL,
1172
1174
source : replay . videosource || replay . hlsvideosource
1173
1175
} )
1174
1176
You can’t perform that action at this time.
0 commit comments