Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
SH20RAJ authored Feb 3, 2022
1 parent 4543579 commit 6124310
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rainplayer/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ let preview=()=>{
ply = getbase();
let link = location.href+'?play='+ply;
console.log('<iframe src="'+link+'" width="100%" height="100%" frameborder="0"></iframe>');
s('preview').innerHTML='<iframe src="'+link+'" width="100%" height="500px" frameborder="0"></iframe>'
s('preview').innerHTML='<iframe src="'+link+'" width="100%" height="700px" frameborder="0"></iframe>'
}

let embed=()=>{
ply = getbase();
let link = location.href+'?play='+ply;
s('code').innerText='<iframe cite="'+location.href+'" src="'+link+'" width="100%" height="500px" frameborder="0"></iframe>'
}
s('code').innerText='<iframe cite="'+location.href+'" src="'+link+'" width="853" height="480" title="SopPlayer video player - '+s('vidtitle').value+'" frameborder="0" scrolling="no" style="overflow: hidden" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>'
}

0 comments on commit 6124310

Please sign in to comment.