Video Embed & Thumbnail Generator
[resolved] Display counter and watermark (7 posts)

  1. danicasati
    Posted 3 years ago #

    Is there a way to count video displays with this plugin?

    And it would be nice ability to overlay a little watermark on player.


  2. Kyle Gilman
    Plugin Author

    Posted 3 years ago #

    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.

  3. danicasati
    Posted 3 years ago #

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

  4. Kyle Gilman
    Plugin Author

    Posted 3 years ago #

    Watermarks are now available with version 3.1 of the plugin.

  5. danicasati
    Posted 3 years ago #

    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.

  6. Kyle Gilman
    Plugin Author

    Posted 3 years ago #

    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.

  7. scanteie
    Posted 2 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Video Embed & Thumbnail Generator
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic