mirror of
				https://gitlab.com/octospacc/Snippets.git
				synced 2025-06-27 09:02:56 +02:00 
			
		
		
		
	Auto-Backup $'Mon Jan 27 2025 01:12:38 GMT+0100 (Central European Standard Time)'
This commit is contained in:
		| @@ -285,7 +285,7 @@ if (isset($_GET['proxatore-search']) && ($search = $_GET['proxatore-search']) != | ||||
|         ]; | ||||
|         //if ((in_array($platform, PLATFORMS_VIDEO) && !$immediateResult['video']) || !$immediateResult['image']) { | ||||
|             $html = fetchContent(makeEmbedUrl($platform, $relativeUrl))['body']; | ||||
|             if (!$immediateResult['video'] && ($vidpos = strpos($html, '.mp4'))) { | ||||
|             if (!$immediateResult['video'] && ($vidpos = (strpos($html, '.mp4?') ?? strpos($html, '.mp4')))) { | ||||
|                 //$startpos = 0;//strpos(strrev(substr($html, 0, $vidpos)), '"'); | ||||
|                 $endpos = strpos($html, '"', $vidpos); //strpos(substr($html, $vidpos), '"'); | ||||
|                 $vidstr = substr($html, 0, $endpos); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user