Tech Support Posted July 31, 2017 Share Posted July 31, 2017 KVS allows embedding of your content by default. In order to disable that go to Settings -> Embed player settings and remove all video formats from display slots: Your embed codes will not be showing video player anymore. Now if you also want to redirect traffic from all other sites that used your embed codes, you can add this block of code in Embed code template: <script> if (window.top != window.self) { window.top.location = '{{$data.canonical_url}}'; } else { window.location = '{{$data.canonical_url}}'; } </script> Then all users which open other sites with your embed codes will be redirected to your videos that were embedded. 2 Quote Link to comment Share on other sites More sharing options...
Adulty Webmaster Posted September 9 Share Posted September 9 (edited) On 7/31/2017 at 1:11 PM, Tech Support said: Now if you also want to redirect traffic from all other sites that used your embed codes, you can add this block of code in Embed code template: <script> if (window.top != window.self) { window.top.location = '{{$data.canonical_url}}'; } else { window.location = '{{$data.canonical_url}}'; } </script> Then all users which open other sites with your embed codes will be redirected to your videos that were embedded. does this code work with the most recent release of KVS to redirect traffic from sites that have crawled all our videos? Edited September 9 by Adulty Webmaster 1 Quote Link to comment Share on other sites More sharing options...
Tech Support Posted September 9 Author Share Posted September 9 5 hours ago, Adulty Webmaster said: does this code work with the most recent release of KVS to redirect traffic from sites that have crawled all our videos? Should work, it doesn't depend on KVS version. But if you see it is not working somewhere, please create support ticket and provide a link where it is not working. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.