• I was a bit fed off having to type manually the title of the video in my page, so i’ve modified framework/JWEmbedderConfig.php to automatically add it.
    (works with plugin v1.3.3 – note that you’ll have to modify this file every time you’ll update it in WP Admin)

    public function generateDiv() {
        //The outer div is needed for LTAS support.
    	$variable_post=$this->fvars['mediaid'];
    	$image_title_array = get_post($variable_post, ARRAY_A);
    	$image_title = $image_title_array['post_title'];
    	return  "<div id=\"$this->id-div\" name=\"$this->id-div\" style=\"text-align: left;\">".$image_title."\n" .
                "<div id=\"$this->id\"></div>\n" .
                "</div>\n";
      }

    Hope it will help somebody.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘[Plugin: JW Player Plugin for WordPress] Video title above Flash’ is closed to new replies.