Automation init...3
This commit is contained in:
parent
336360dcee
commit
a2186686ba
@ -137,7 +137,8 @@ class YamapLibrary extends MyCrawlerLibrary
|
||||
switch ($this->getMyStorage()->getOrintginType()) {
|
||||
case "image":
|
||||
$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()->getOriginName(),
|
||||
$this->getMyStorage()->getOriginName()
|
||||
@ -146,10 +147,11 @@ class YamapLibrary extends MyCrawlerLibrary
|
||||
case "video":
|
||||
$content = sprintf(
|
||||
"<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.
|
||||
</video>",
|
||||
$this->getMyStorage()->getOriginName(),
|
||||
$this->getMySocket()->getHost(),
|
||||
$this->getMyStorage()->getPath(),
|
||||
$this->getMyStorage()->getOriginName(),
|
||||
$this->getMyStorage()->getMimeType(),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user