-
Notifications
You must be signed in to change notification settings - Fork 0
/
genlive.js
22 lines (12 loc) · 1.21 KB
/
genlive.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$( "#genlive" ).click(function() {
var bloglink = $('#bloglink').val();
var livelink = $('#livelink').val();
$('#jwp').val('<iframe allowfullscreen="true" frameborder="0" height="500px" scrolling="no" src="'+bloglink+'/search?q='+window.btoa(livelink)+'&m=1&view=jwp" width="100%"></iframe>');
$('#clappr').val('<iframe allowfullscreen="true" frameborder="0" height="500px" scrolling="no" src="'+bloglink+'/search?q='+window.btoa(livelink)+'&m=1&view=clappr" width="100%"></iframe>');
$('#radian').val('<iframe allowfullscreen="true" frameborder="0" height="500px" scrolling="no" src="'+bloglink+'/search?q='+window.btoa(livelink)+'&m=1&view=radia" width="100%"></iframe>');
$('#plyr').val('<iframe allowfullscreen="true" frameborder="0" height="500px" scrolling="no" src="'+bloglink+'/search?q='+window.btoa(livelink)+'&m=1&view=plyr" width="100%"></iframe>');
$('#jwpl').attr('href' ,bloglink+'/search?q='+window.btoa(livelink)+'&m=1&view=jwp');
$('#clapprl').attr('href' ,bloglink+'/search?q='+window.btoa(livelink)+'&m=1&view=clappr');
$('#radianl').attr('href' ,bloglink+'/search?q='+window.btoa(livelink)+'&m=1&view=radia');
$('#plyrl').attr('href' , bloglink+'/search?q='+window.btoa(livelink)+'&m=1&view=plyr');
});