mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Updated embedded to allow for showing only video
This commit is contained in:
@@ -40,12 +40,18 @@ var Crypt = {
|
||||
|
||||
$(document).ready(function(){
|
||||
|
||||
if(hash.length == 3 && hash[2] == "autoplay"){
|
||||
if(hash.length >= 3 && hash[2] == "autoplay"){
|
||||
autoplay = true;
|
||||
}else{
|
||||
paused = true;
|
||||
}
|
||||
|
||||
if(hash.indexOf("videoonly") > -1) {
|
||||
$("#playlist").addClass("hide");
|
||||
$("#controls").addClass("hide");
|
||||
$("#player").addClass("video_only");
|
||||
}
|
||||
|
||||
$("#locked_channel").modal({
|
||||
dismissible: false
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user