{"id":361,"date":"2023-01-06T01:48:27","date_gmt":"2023-01-06T01:48:27","guid":{"rendered":"https:\/\/www.vdocipher.com\/blog\/?p=361"},"modified":"2024-04-04T10:04:34","modified_gmt":"2024-04-04T10:04:34","slug":"custom-variables-watermark-on-wordpress-videos","status":"publish","type":"post","link":"https:\/\/www-uat.vdocipher.com\/blog\/custom-variables-watermark-on-wordpress-videos\/","title":{"rendered":"Custom variables as watermark on WordPress videos"},"content":{"rendered":"<p><em>Please visit <a href=\"https:\/\/www.vdocipher.com\/blog\/2014\/12\/add-text-to-videos-with-watermark\/\">Add Text to Videos with Watermark<\/a> for a detailed introduction to adding a watermark to your videos. This particular blog explains what is going on under the hood of the WP plugin, and is useful only if you are adding your own custom-built variables as part of the watermark. Currently, <strong>name<\/strong>, <strong>IP,<\/strong> and <strong>email<\/strong> can be shown as part of the watermark.<\/em><\/p>\n<div class=\"border-box\" style=\"border: 1px solid;\">\n<p><strong>Table Of Contents<\/strong>:<\/p>\n<ul>\n<li><a style=\"color: #069; text-decoration: none;\" href=\"#1\">Default WordPress fields that can be added<\/a><\/li>\n<li><a style=\"color: #069; text-decoration: none;\" href=\"#2\">Custom filter addition to the WordPress hook<\/a><\/li>\n<li><a style=\"color: #069; text-decoration: none;\" href=\"#3\">JSON Code addition to the VdoCipher WordPress Plugin<\/a><\/li>\n<li><a style=\"color: #069; text-decoration: none;\" href=\"#4\">Example Steps to configure custom field \u201cPhone number\u201d as a watermark<\/a><\/li>\n<\/ul>\n<\/div>\n<p>Watermark on videos adds extra security for the video from screen capture by adding variables such as email, IP or date information to the videos. Custom variables are now supported in plugin 1.6<\/p>\n<h2 id=\"1\">Default WordPress fields that can be added<\/h2>\n<p>Our plugin has been configured to replace the following strings in the annotation code by default:<\/p>\n<ul>\n<li>{name} &#8211; Current User display name<\/li>\n<li>{email} &#8211; Current User email<\/li>\n<li>{username} &#8211; Current User Login<\/li>\n<li>{id} &#8211; Current User ID<\/li>\n<\/ul>\n<p>Till version 1.5 of our <a href=\"https:\/\/www.vdocipher.com\/blog\/wordpress-video-hosting-plugin\/\">WordPress video hosting<\/a> plugin, watermark on videos could only have a limited number of dynamic variables. With version 1.6, we have now added filter hooks on the annotation code to enable other plugins or themes to change the annotation code.<\/p>\n<h2 id=\"2\">Custom filter addition to the WordPress hook<\/h2>\n<p>You can now add a custom filter to the hook `<span style=\"color: #993300;\">vdocipher_annotate_preprocess<\/span>` .\u00a0Example code for adding custom filter is:<\/p>\n<pre>function customfunc($vdo_annotate_code){\r\n $customVariable = \"Hello world\";\r\n $vdo_annotate_code = str_replace('{var1}', $customVariable, $vdo_annotate_code);\r\n return $vdo_annotate_code;\r\n}\r\n\r\nadd_filter('vdocipher_annotate_preprocess', 'customfunc');<\/pre>\n<h3>Display WordPress Default field like User Fullname<\/h3>\n<p>An example code to display the full name is as follows:<\/p>\n<pre>function customvdofunc($vdo_annotate_code){\r\n    $fullname = \"\";\r\n    if (is_user_logged_in()) {\r\n        $current_user = wp_get_current_user();\r\n        $firstname = $current_user-&gt;user_firstname;\r\n        $lastname = $current_user-&gt;user_lastname;\r\n        $fullname = $firstname . \" \" . $lastname;\r\n     }\r\n     $vdo_annotate_code = str_replace('{fullname}', $fullname, $vdo_annotate_code);\r\n     return $vdo_annotate_code;\r\n}\r\nadd_filter('vdocipher_annotate_preprocess', 'customvdofunc');\r\n<\/pre>\n<p>This would replace the string &#8216;{fullname}&#8217; in the watermark code to the fullname of the logged in user.<\/p>\n<h2 id=\"3\">JSON Code addition to the VdoCipher WordPress Plugin<\/h2>\n<p>The above code enables you to replace the token {var1} with the value of $customVariable. You can then use an annotation\u00a0code like:<\/p>\n<pre>[\r\n{'type':'rtext', 'text':'Your IP : {ip}', 'alpha':'0.8', 'color':'0xFF0000','size':'12','interval':'5000'},\r\n{'type':'text', 'text':'{var1}', 'alpha':'0.5' , 'x':'150', 'y':'100', 'color':'0xFF0000', 'size':'12'}\r\n]<\/pre>\n<p>This code on going through the above filter will become<\/p>\n<pre>[\r\n{'type':'rtext', 'text':'Your IP : {ip}', 'alpha':'0.8', 'color':'0xFF0000','size':'12','interval':'5000'},\r\n{'type':'text', 'text':'Hello world', 'alpha':'0.5' , 'x':'150', 'y':'100', 'color':'0xFF0000', 'size':'12'}\r\n]<\/pre>\n<p>This function can be placed in the functions.php file in your theme. It is recommended to create a child theme before making such edits.<\/p>\n<h2 id=\"4\">Example Steps to configure custom field &#8220;Phone number&#8221; as a watermark<\/h2>\n<p>You can configure user-specific details like \u201cphone numbers\u201d as a watermark using the VdoCipher <a href=\"http:\/\/wordpress video plugin\">WordPress video plugin<\/a> annotation field and add_filter function in the functions file. shortcode embedded in WordPress.<\/p>\n<p><b>Note<\/b>: This phone number is a Custom Field created for illustration using a\u00a0 plugin named &#8220;Advanced Custom Fields&#8221; and the name for this custom field is phone_number. You might not need to configure such custom fields, your membership plugin that you might be using would already have such custom field addition functionality. The phone number addition of a user on their profile needs to be managed and taken care of from your WordPress setup side. Your <a href=\"https:\/\/www.aalpha.net\/services\/content-management-services\/wordpress-development-india\/\" data-wpel-link=\"exclude\">WordPress developers<\/a> can check and implement it. For this example, the sample WordPress viewer playing the video has the phone number\u00a0 887788778877 on his profile.<\/p>\n<p><a href=\"https:\/\/www.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12904\" src=\"https:\/\/www.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/1.png\" alt=\"custom variables like phone number addition in wordpress user profile\" width=\"1485\" height=\"1350\" srcset=\"https:\/\/www-uat.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/1.png 1485w, https:\/\/www-uat.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/1-300x273.png 300w, https:\/\/www-uat.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/1-1024x931.png 1024w, https:\/\/www-uat.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/1-768x698.png 768w, https:\/\/www-uat.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/1-150x136.png 150w\" sizes=\"auto, (max-width: 1485px) 100vw, 1485px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12905\" src=\"https:\/\/www.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/2.png\" alt=\"custom field phone number addition via plugin\" width=\"2556\" height=\"524\" srcset=\"https:\/\/www-uat.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/2.png 2556w, https:\/\/www-uat.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/2-300x62.png 300w, https:\/\/www-uat.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/2-1024x210.png 1024w, https:\/\/www-uat.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/2-768x157.png 768w, https:\/\/www-uat.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/2-1536x315.png 1536w, https:\/\/www-uat.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/2-2048x420.png 2048w, https:\/\/www-uat.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/2-150x31.png 150w\" sizes=\"auto, (max-width: 2556px) 100vw, 2556px\" \/><\/a><\/p>\n<p>Below is a code demonstrating the usage of a sample function for displaying the saved phone number as a watermark and plugin setup.<\/p>\n<h3>Additions in functions.php WordPress file<\/h3>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Login to your WordPress account having theme editor access.<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Open functions.php through Appearance&gt;Theme File Editor or Tools&gt;Theme File Editor<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Add given below custom PHP function in the functions.php file and save the file.<\/li>\n<\/ol>\n<pre><code>function customvdofunc($vdo_annotate_code){\r\n   $Phonenumber = \"\";\r\n   if (is_user_logged_in()) {\r\n       $current_user = wp_get_current_user();\r\n       $PNO = $current_user-&gt;phone_number;\r\n          }\r\n    $vdo_annotate_code = str_replace('{Phonenumber}', $PNO, $vdo_annotate_code);\r\n    return $vdo_annotate_code;\r\n}\r\nadd_filter('vdocipher_annotate_preprocess', 'customvdofunc');\r\n<\/code><\/pre>\n<p><a href=\"https:\/\/www.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12906\" src=\"https:\/\/www.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/3.png\" alt=\"Additions in functions php WordPress file\" width=\"2812\" height=\"1246\" srcset=\"https:\/\/www-uat.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/3.png 2812w, https:\/\/www-uat.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/3-300x133.png 300w, https:\/\/www-uat.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/3-1024x454.png 1024w, https:\/\/www-uat.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/3-768x340.png 768w, https:\/\/www-uat.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/3-1536x681.png 1536w, https:\/\/www-uat.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/3-2048x907.png 2048w, https:\/\/www-uat.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/3-150x66.png 150w\" sizes=\"auto, (max-width: 2812px) 100vw, 2812px\" \/><\/a><\/p>\n<h3>Adding JSON to the VdoCipher WordPress Plugin field<\/h3>\n<p>You need to add the following JSON code in the plugin settings to call the custom function and display the viewer&#8217;s phone number as a watermark.<\/p>\n<pre><code>\r\n[{\"type\":\"rtext\", \"text\":\"{Phonenumber}\", \"alpha\":\"0.90\",\"color\":\"#FFFF00\",\"size\":\"12\",\"interval\":\"5000\",\"skip\":5000}]<\/code><\/pre>\n<p><a href=\"https:\/\/www.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12907\" src=\"https:\/\/www.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/4.png\" alt=\"Adding JSON to the VdoCipher WordPress Plugin field\" width=\"2658\" height=\"1323\" srcset=\"https:\/\/www-uat.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/4.png 2658w, https:\/\/www-uat.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/4-300x149.png 300w, https:\/\/www-uat.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/4-1024x510.png 1024w, https:\/\/www-uat.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/4-768x382.png 768w, https:\/\/www-uat.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/4-1536x765.png 1536w, https:\/\/www-uat.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/4-2048x1019.png 2048w, https:\/\/www-uat.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/4-150x75.png 150w\" sizes=\"auto, (max-width: 2658px) 100vw, 2658px\" \/><\/a><\/p>\n<p>On playback of the videos, the watermark will show the phone number of the viewer playing the video. Similarly, you can call other custom or WordPress data fields via functions.php and display the same by adding more lines of JSON code in the VdoCipher plugin field.<\/p>\n<p><a href=\"https:\/\/www.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12908\" src=\"https:\/\/www.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/5.png\" alt=\"watermark showing the phone number of the viewer playing the video\" width=\"2875\" height=\"1284\" srcset=\"https:\/\/www-uat.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/5.png 2875w, https:\/\/www-uat.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/5-300x134.png 300w, https:\/\/www-uat.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/5-1024x457.png 1024w, https:\/\/www-uat.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/5-768x343.png 768w, https:\/\/www-uat.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/5-1536x686.png 1536w, https:\/\/www-uat.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/5-2048x915.png 2048w, https:\/\/www-uat.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/5-150x67.png 150w\" sizes=\"auto, (max-width: 2875px) 100vw, 2875px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Please visit Add Text to Videos with Watermark for a detailed introduction to adding a watermark to your videos. This particular blog explains what is going on under the hood of the WP plugin, and is useful only if you are adding your own custom-built variables as part of the watermark. Currently, name, IP, and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25,14,100,42],"tags":[76,44,59],"class_list":{"0":"post-361","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-technology","7":"category-using-vdocipher","8":"category-watermark","9":"category-wordpress","10":"tag-custom-watermark-video","11":"tag-wordpress-secure-streaming","12":"tag-wordpress-watermark","13":"entry"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.0 (Yoast SEO v26.9) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Custom variables as watermark on WordPress videos - VdoCipher Blog<\/title>\n<meta name=\"description\" content=\"Watermark adds security for the video from screen capture with variables such as email, ip or date to videos. Custom variables is now supported in plugin 1.6\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.vdocipher.com\/blog\/custom-variables-watermark-on-wordpress-videos\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Custom variables as watermark on WordPress videos\" \/>\n<meta property=\"og:description\" content=\"Watermark adds security for the video from screen capture with variables such as email, ip or date to videos. Custom variables is now supported in plugin 1.6\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.vdocipher.com\/blog\/custom-variables-watermark-on-wordpress-videos\/\" \/>\n<meta property=\"og:site_name\" content=\"VdoCipher Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/vdociphertech\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-01-06T01:48:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-04T10:04:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/1.png\" \/>\n<meta name=\"author\" content=\"Vibhav Sinha\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@vdocipher\" \/>\n<meta name=\"twitter:site\" content=\"@vdocipher\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Vibhav Sinha\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.vdocipher.com\/blog\/custom-variables-watermark-on-wordpress-videos\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.vdocipher.com\/blog\/custom-variables-watermark-on-wordpress-videos\/\"},\"author\":{\"name\":\"Vibhav Sinha\",\"@id\":\"https:\/\/www.vdocipher.com\/blog\/#\/schema\/person\/44b7d612191edc5560c5cb64184d379c\"},\"headline\":\"Custom variables as watermark on WordPress videos\",\"datePublished\":\"2023-01-06T01:48:27+00:00\",\"dateModified\":\"2024-04-04T10:04:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.vdocipher.com\/blog\/custom-variables-watermark-on-wordpress-videos\/\"},\"wordCount\":648,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.vdocipher.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.vdocipher.com\/blog\/custom-variables-watermark-on-wordpress-videos\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/1.png\",\"keywords\":[\"custom watermark video\",\"wordpress secure streaming\",\"wordpress watermark\"],\"articleSection\":[\"Technology\",\"Using VdoCipher\",\"Watermark\",\"WordPress\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.vdocipher.com\/blog\/custom-variables-watermark-on-wordpress-videos\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.vdocipher.com\/blog\/custom-variables-watermark-on-wordpress-videos\/\",\"url\":\"https:\/\/www.vdocipher.com\/blog\/custom-variables-watermark-on-wordpress-videos\/\",\"name\":\"Custom variables as watermark on WordPress videos - VdoCipher Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.vdocipher.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.vdocipher.com\/blog\/custom-variables-watermark-on-wordpress-videos\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.vdocipher.com\/blog\/custom-variables-watermark-on-wordpress-videos\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/1.png\",\"datePublished\":\"2023-01-06T01:48:27+00:00\",\"dateModified\":\"2024-04-04T10:04:34+00:00\",\"description\":\"Watermark adds security for the video from screen capture with variables such as email, ip or date to videos. Custom variables is now supported in plugin 1.6\",\"breadcrumb\":{\"@id\":\"https:\/\/www.vdocipher.com\/blog\/custom-variables-watermark-on-wordpress-videos\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.vdocipher.com\/blog\/custom-variables-watermark-on-wordpress-videos\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.vdocipher.com\/blog\/custom-variables-watermark-on-wordpress-videos\/#primaryimage\",\"url\":\"https:\/\/www.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/1.png\",\"contentUrl\":\"https:\/\/www.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/1.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.vdocipher.com\/blog\/custom-variables-watermark-on-wordpress-videos\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.vdocipher.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Custom variables as watermark on WordPress videos\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.vdocipher.com\/blog\/#website\",\"url\":\"https:\/\/www.vdocipher.com\/blog\/\",\"name\":\"VdoCipher Blog\",\"description\":\"Secure Video Streaming\",\"publisher\":{\"@id\":\"https:\/\/www.vdocipher.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.vdocipher.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.vdocipher.com\/blog\/#organization\",\"name\":\"VdoCipher\",\"url\":\"https:\/\/www.vdocipher.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.vdocipher.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.vdocipher.com\/blog\/wp-content\/uploads\/2016\/11\/VdoCipher-logo2.png\",\"contentUrl\":\"https:\/\/www.vdocipher.com\/blog\/wp-content\/uploads\/2016\/11\/VdoCipher-logo2.png\",\"width\":1625,\"height\":1925,\"caption\":\"VdoCipher\"},\"image\":{\"@id\":\"https:\/\/www.vdocipher.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/vdociphertech\/\",\"https:\/\/x.com\/vdocipher\",\"https:\/\/www.linkedin.com\/company\/vdocipher\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.vdocipher.com\/blog\/#\/schema\/person\/44b7d612191edc5560c5cb64184d379c\",\"name\":\"Vibhav Sinha\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.vdocipher.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/21359ad936924de4c06b12ee192755a4337f15761710afc5877a6f943f1c8a47?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/21359ad936924de4c06b12ee192755a4337f15761710afc5877a6f943f1c8a47?s=96&r=g\",\"caption\":\"Vibhav Sinha\"},\"description\":\"(Co-Founder &amp; CTO) Brain behind all VdoCipher innovations, Vibhav eats and sleeps code. A physics and astronomy enthusiast; Vibhav actively works on video delivery technology, security and high volume data transfer using cloud.\",\"url\":\"https:\/\/www-uat.vdocipher.com\/blog\/author\/vibhavsinha\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Custom variables as watermark on WordPress videos - VdoCipher Blog","description":"Watermark adds security for the video from screen capture with variables such as email, ip or date to videos. Custom variables is now supported in plugin 1.6","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.vdocipher.com\/blog\/custom-variables-watermark-on-wordpress-videos\/","og_locale":"en_US","og_type":"article","og_title":"Custom variables as watermark on WordPress videos","og_description":"Watermark adds security for the video from screen capture with variables such as email, ip or date to videos. Custom variables is now supported in plugin 1.6","og_url":"https:\/\/www.vdocipher.com\/blog\/custom-variables-watermark-on-wordpress-videos\/","og_site_name":"VdoCipher Blog","article_publisher":"https:\/\/www.facebook.com\/vdociphertech\/","article_published_time":"2023-01-06T01:48:27+00:00","article_modified_time":"2024-04-04T10:04:34+00:00","og_image":[{"url":"https:\/\/www.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/1.png","type":"","width":"","height":""}],"author":"Vibhav Sinha","twitter_card":"summary_large_image","twitter_creator":"@vdocipher","twitter_site":"@vdocipher","twitter_misc":{"Written by":"Vibhav Sinha","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.vdocipher.com\/blog\/custom-variables-watermark-on-wordpress-videos\/#article","isPartOf":{"@id":"https:\/\/www.vdocipher.com\/blog\/custom-variables-watermark-on-wordpress-videos\/"},"author":{"name":"Vibhav Sinha","@id":"https:\/\/www.vdocipher.com\/blog\/#\/schema\/person\/44b7d612191edc5560c5cb64184d379c"},"headline":"Custom variables as watermark on WordPress videos","datePublished":"2023-01-06T01:48:27+00:00","dateModified":"2024-04-04T10:04:34+00:00","mainEntityOfPage":{"@id":"https:\/\/www.vdocipher.com\/blog\/custom-variables-watermark-on-wordpress-videos\/"},"wordCount":648,"commentCount":0,"publisher":{"@id":"https:\/\/www.vdocipher.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.vdocipher.com\/blog\/custom-variables-watermark-on-wordpress-videos\/#primaryimage"},"thumbnailUrl":"https:\/\/www.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/1.png","keywords":["custom watermark video","wordpress secure streaming","wordpress watermark"],"articleSection":["Technology","Using VdoCipher","Watermark","WordPress"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.vdocipher.com\/blog\/custom-variables-watermark-on-wordpress-videos\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.vdocipher.com\/blog\/custom-variables-watermark-on-wordpress-videos\/","url":"https:\/\/www.vdocipher.com\/blog\/custom-variables-watermark-on-wordpress-videos\/","name":"Custom variables as watermark on WordPress videos - VdoCipher Blog","isPartOf":{"@id":"https:\/\/www.vdocipher.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.vdocipher.com\/blog\/custom-variables-watermark-on-wordpress-videos\/#primaryimage"},"image":{"@id":"https:\/\/www.vdocipher.com\/blog\/custom-variables-watermark-on-wordpress-videos\/#primaryimage"},"thumbnailUrl":"https:\/\/www.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/1.png","datePublished":"2023-01-06T01:48:27+00:00","dateModified":"2024-04-04T10:04:34+00:00","description":"Watermark adds security for the video from screen capture with variables such as email, ip or date to videos. Custom variables is now supported in plugin 1.6","breadcrumb":{"@id":"https:\/\/www.vdocipher.com\/blog\/custom-variables-watermark-on-wordpress-videos\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.vdocipher.com\/blog\/custom-variables-watermark-on-wordpress-videos\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.vdocipher.com\/blog\/custom-variables-watermark-on-wordpress-videos\/#primaryimage","url":"https:\/\/www.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/1.png","contentUrl":"https:\/\/www.vdocipher.com\/blog\/wp-content\/uploads\/2015\/10\/1.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.vdocipher.com\/blog\/custom-variables-watermark-on-wordpress-videos\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.vdocipher.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Custom variables as watermark on WordPress videos"}]},{"@type":"WebSite","@id":"https:\/\/www.vdocipher.com\/blog\/#website","url":"https:\/\/www.vdocipher.com\/blog\/","name":"VdoCipher Blog","description":"Secure Video Streaming","publisher":{"@id":"https:\/\/www.vdocipher.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.vdocipher.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.vdocipher.com\/blog\/#organization","name":"VdoCipher","url":"https:\/\/www.vdocipher.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.vdocipher.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.vdocipher.com\/blog\/wp-content\/uploads\/2016\/11\/VdoCipher-logo2.png","contentUrl":"https:\/\/www.vdocipher.com\/blog\/wp-content\/uploads\/2016\/11\/VdoCipher-logo2.png","width":1625,"height":1925,"caption":"VdoCipher"},"image":{"@id":"https:\/\/www.vdocipher.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/vdociphertech\/","https:\/\/x.com\/vdocipher","https:\/\/www.linkedin.com\/company\/vdocipher"]},{"@type":"Person","@id":"https:\/\/www.vdocipher.com\/blog\/#\/schema\/person\/44b7d612191edc5560c5cb64184d379c","name":"Vibhav Sinha","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.vdocipher.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/21359ad936924de4c06b12ee192755a4337f15761710afc5877a6f943f1c8a47?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/21359ad936924de4c06b12ee192755a4337f15761710afc5877a6f943f1c8a47?s=96&r=g","caption":"Vibhav Sinha"},"description":"(Co-Founder &amp; CTO) Brain behind all VdoCipher innovations, Vibhav eats and sleeps code. A physics and astronomy enthusiast; Vibhav actively works on video delivery technology, security and high volume data transfer using cloud.","url":"https:\/\/www-uat.vdocipher.com\/blog\/author\/vibhavsinha\/"}]}},"yoast":{"focuskw":"custom variables","title":"","metadesc":"Watermark adds security for the video from screen capture with variables such as email, ip or date to videos. Custom variables is now supported in plugin 1.6","linkdex":"76","metakeywords":"","meta-robots-noindex":"","meta-robots-nofollow":"","meta-robots-adv":"","canonical":"","redirect":"","opengraph-title":"","opengraph-description":"","opengraph-image":"","twitter-title":"","twitter-description":"","twitter-image":""},"_links":{"self":[{"href":"https:\/\/www-uat.vdocipher.com\/blog\/wp-json\/wp\/v2\/posts\/361","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www-uat.vdocipher.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www-uat.vdocipher.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www-uat.vdocipher.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www-uat.vdocipher.com\/blog\/wp-json\/wp\/v2\/comments?post=361"}],"version-history":[{"count":5,"href":"https:\/\/www-uat.vdocipher.com\/blog\/wp-json\/wp\/v2\/posts\/361\/revisions"}],"predecessor-version":[{"id":16585,"href":"https:\/\/www-uat.vdocipher.com\/blog\/wp-json\/wp\/v2\/posts\/361\/revisions\/16585"}],"wp:attachment":[{"href":"https:\/\/www-uat.vdocipher.com\/blog\/wp-json\/wp\/v2\/media?parent=361"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www-uat.vdocipher.com\/blog\/wp-json\/wp\/v2\/categories?post=361"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www-uat.vdocipher.com\/blog\/wp-json\/wp\/v2\/tags?post=361"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}