How does querylist phantomjs simulate mobile phone crawling mobile pages

how querylist phantomjs simulates the mobile phone to grab the mobile page. When the destination URL returns, it indicates that the flash plug-in is not installed, and only the simulated mobile phone useragent can capture the playback address.

<?php
 ini_set("display_errors", "On");
require "vendor/autoload.php";
use QL\QueryList;
use QL\Ext\PhantomJs;

$ql = QueryList::getInstance();

$ql->use(PhantomJs::class,"/var/www/html/bin/phantomjs");

$ql->use(PhantomJs::class,"/var/www/html/bin/phantomjs","browser");
$playurl = $ql->browser($_GET["url"])->find("video")->src;
?>
Mar.11,2021
Menu