Commit 6b3ffd3e by yf60144

sfd

parent 762610a1
Pipeline #13856 passed with stages
in 41 seconds
...@@ -381,9 +381,16 @@ ...@@ -381,9 +381,16 @@
}) })
function get_farvor_m3u8(row,media_id) { function get_farvor_m3u8(row,media_id) {
$.ajax({
url:"api/user/get_fervor_m3u8?media_id="+media_id,
dataType:"json",
success:function (res) {
var url = res.data.url;
var clipboard = new Clipboard('.btn', { var clipboard = new Clipboard('.btn', {
text: function() { text: function() {
return media_id; return url;
} }
}); });
clipboard.on('success', function(e) { clipboard.on('success', function(e) {
...@@ -395,6 +402,13 @@ ...@@ -395,6 +402,13 @@
}); });
} }
})
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment