]> git.mxchange.org Git - friendica.git/blobdiff - include/oembed.php
Merge remote-tracking branch 'upstream/develop' into 1610-performance
[friendica.git] / include / oembed.php
index 9c1b3d431f798071e4c94edb904e142d7fe77cc8..898d900f43bf86759188d917b807918f37718182 100755 (executable)
@@ -210,8 +210,10 @@ function oembed_format_object($j){
 }
 
 /**
- * Generates the iframe HTML for an oembed attachment. Width and height are given
- * by the remote, and are regularly too small for the generated iframe.
+ * @brief Generates the iframe HTML for an oembed attachment.
+ *
+ * Width and height are given by the remote, and are regularly too small for
+ * the generated iframe.
  *
  * The width is entirely discarded for the actual width of the post, while fixed
  * height is used as a starting point before the inevitable resizing.
@@ -222,7 +224,7 @@ function oembed_format_object($j){
  * @param string $src Original remote URL to embed
  * @param string $width
  * @param string $height
- * @return string
+ * @return string formatted HTML
  *
  * @see oembed_format_object()
  */