mirror of
				https://github.com/KevinMidboe/zoff.git
				synced 2025-10-29 18:00:23 +00:00 
			
		
		
		
	Fixed issue with allow autoplay not being included
This commit is contained in:
		| @@ -796,7 +796,7 @@ function disable_debug(){ | ||||
|  | ||||
| function embed_code(autoplay, width, height, color, embed_videoonly, embed_localmode){ | ||||
|     var autoplay_add = ""; | ||||
|     if(autoplay == "&autoplay") autoplay_add = 'allow="autoplay"'; | ||||
|     if(autoplay == "&autoplay=true") autoplay_add = 'allow="autoplay"'; | ||||
|     return '<iframe src="https://zoff.me/api/embed/?channel=' + chan.toLowerCase() + color + autoplay + embed_videoonly + embed_localmode + '" width="' + width + 'px" height="' + height + 'px" ' + autoplay_add + '></iframe>'; | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user