Automation init...3

This commit is contained in:
최준흠 2024-09-12 19:27:50 +09:00
parent 336360dcee
commit a2186686ba

View File

@ -137,7 +137,8 @@ class YamapLibrary extends MyCrawlerLibrary
switch ($this->getMyStorage()->getOrintginType()) { switch ($this->getMyStorage()->getOrintginType()) {
case "image": case "image":
$content = sprintf( $content = sprintf(
"<img src=\"%s/%s\" alt=\"%s\">", "<img src=\"%s/?mb_ext=file&path=%s/%s\" alt=\"%s\">",
$this->getMySocket()->getHost(),
$this->getMyStorage()->getPath(), $this->getMyStorage()->getPath(),
$this->getMyStorage()->getOriginName(), $this->getMyStorage()->getOriginName(),
$this->getMyStorage()->getOriginName() $this->getMyStorage()->getOriginName()
@ -146,10 +147,11 @@ class YamapLibrary extends MyCrawlerLibrary
case "video": case "video":
$content = sprintf( $content = sprintf(
"<video alt=\"%s\" controls autoplay> "<video alt=\"%s\" controls autoplay>
<source src=\"%s/%s\" type=\"%s\"> <source src=\"%s/?mb_ext=file&path=%s/%s\" type=\"%s\">
Your browser does not support the video tag. Your browser does not support the video tag.
</video>", </video>",
$this->getMyStorage()->getOriginName(), $this->getMyStorage()->getOriginName(),
$this->getMySocket()->getHost(),
$this->getMyStorage()->getPath(), $this->getMyStorage()->getPath(),
$this->getMyStorage()->getOriginName(), $this->getMyStorage()->getOriginName(),
$this->getMyStorage()->getMimeType(), $this->getMyStorage()->getMimeType(),