Add Embed player code

This commit is contained in:
Muhammad Iqbal Rifai 2018-06-25 13:37:27 +02:00
parent f074545be4
commit d62ee56296
1 changed files with 10 additions and 0 deletions

View File

@ -1,4 +1,7 @@
<?php
if($_GET[id]) {
$kontol = $share[file][file_id];
}
echo "
<div class=\"page-header\"><h1>".$share[file][title]." - ".formatBytes($share[file][size])."</h1></div>
@ -24,7 +27,14 @@ echo "
<div class=\"col-sm-10\">
<input class=\"form-control\" value=\"&lt;a href=&quot;http://".config('site.domain')."/file/$_GET[id]&quot;&gt;".$share[file][title]." - ".formatBytes($share[file][size])."&lt;/a&gt;\">
</div>
<div class=\"form-group\">
<label class=\"col-sm-2 control-label\" style=\"text-align: left;\">Embed Player</label>
<div class=\"col-sm-10\">
<input class=\"form-control\" value=\"&lt;iframe=&quot;https://drive.0wo.me/player?id=$kontol frameborder=&quot;0&quot; width=&quot;480&quot; height=&quot;240&quot;&lt;/frame&gt;\">
</div>
</div>
</div>
</div>
";