• hi! for the special needs (* see below) of my video blog, https://sexy-music-clips.de, i made a small modification to file lib/swfobject.php, line 114ff:

    $out .= "\n<div style=\"width: " . ($this->width - 4) . "px; height: 77px; border: 1px dotted #696969; padding: 2px 3px;\">";
    		$out .= "\n<img width=\"102\" height=\"77\" style=\"float: left; margin-right: 1em;\" src=\"" . urldecode( $this->flashvars["image"] ) . "\" alt=\"" . urldecode( $this->flashvars["title"] ) . "\" />";
    		$out .= "\n<br />Media Titel: <strong>" . urldecode( $this->flashvars["title"] ) . "</strong>";
    		$out .= "\n<br />Media URL: <strong><a rel=\"nofollow\" target=\"_blank\" href=\"" . urldecode( $this->flashvars["file"] ) . "\">" . urldecode( $this->flashvars["file"] ) . "</a></strong>";
    		$out .= "\n</div>";

    this way the properties {file, image, title} of the actual mediafile show up just below the embedded media.

    *) special needs: major labels promote their new music-vids on youtube and allow them to embed. video/music blogs embed and promote the clip. major label decides to disallow embedding when they think their vid collected enough views. all video/music blogs that embedded the clip show an ugly “no longer available” message. i think this is pretty unfair and unpolitely as a big part of their promowork is done by all the music/video blogs around the world.

    ? to make it easier for readers to search for the videoclip (if embedding is disallowed once), i thought it would be nice to have the neccessary information printed beneath the media.

  • The topic ‘[Plugin: wordtube] use swfobject properties in wp blog (small modification)’ is closed to new replies.