Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Kyle Gilman

    (@kylegilman)

    If you’re using the Video.js player and the video is an attachment in the WordPress database, video starts and complete plays are counted and saved to the corresponding attachment’s metadata. It also sends event data to Google Analytics, if you already have Google Analytics set up.

    There’s no simple way built in to the plugin to display a video’s view counter, but if you work out a way in your template to show the attachment’s custom field _kgflashmediaplayer-starts then you’ll get a view counter. The code would be something like get_post_meta($post->ID, "_kgflashmediaplayer-starts", true); but you’d have to make sure the post id referred to the video attachment rather than the post that the video is in.

    Watermarking should be simple enough to implement. I plan to add that to the next version of the plugin.

    Thread Starter Dani

    (@danicasati)

    Ok, keep me updated, I can beta-test new feature for you.

    Plugin Author Kyle Gilman

    (@kylegilman)

    Watermarks are now available with version 3.1 of the plugin.

    Thread Starter Dani

    (@danicasati)

    Cool!
    It works good, it would be nice to add ability to select position, but it works for me in right-bottom of my embedded videos.

    Thank you very much.

    Plugin Author Kyle Gilman

    (@kylegilman)

    You can position it anywhere you want using CSS. The class is .kgvid_watermark and if you want it in the top left for example you could add a CSS class to your template’s stylesheet:

    .kgvid_watermark {
    	top: 10px;
    	left: 10px;
    }

    Or anywhere else you want it.

    i want to add watermark too,but what should i type in that watermark field in the option panel? also,if i click choose from library, nothing happens,and if i insert the path to an image, on the video itself it just displays : “watermark” ??
    i also dunno how to find and insert AVCONV in the /urs/local/bin folder..

    please help

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Display counter and watermark’ is closed to new replies.