mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 02:39:46 +02:00
NetFlix Style
This commit is contained in:
parent
9df9d8e3d2
commit
c1f03c7d1d
2 changed files with 8 additions and 4 deletions
|
@ -91,7 +91,11 @@ $(function () {
|
|||
});
|
||||
video = $(this).attr('video');
|
||||
cat = $(this).attr('cat');
|
||||
$('.playBtn').attr('href', webSiteRootURL+'cat/'+cat+'/video/'+video);
|
||||
var href = 'video/'+video;
|
||||
if(cat && typeof cat != 'undefined'){
|
||||
href = 'cat/'+cat+'/'+href;
|
||||
}
|
||||
$('.playBtn').attr('href', webSiteRootURL+href);
|
||||
loadPlayLists();
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue