What is Votemo?
Votemo is bridging TV with Digital by providing TV shows functionality to interact with their audience in real time.Read more
What is Votemo widget?
Votemo widget is quick and easy way to add Votemo application to your website! Just add 2 lines of code to your webpage and Votemo is there.How will this widget look like?
Basically like it is on this page - look on the right bottom corner! Widget is by default open in desktop, but it can be configured closed as well (like it is on this page).Can I test it on my page?
Of course, it's easier than you think.Chrome
Open Developer Tool by clicking ctrl+shift+i. Click on Console tab and paste there the code.Firefox
Open Console by clicking ctrl+shift+k. Now you can paste there the code.Code
var votemoConfig = { url: 'https://myshow.votemo.eu/' };
var script = document.createElement('script'); script.src = 'https://widget.votemo.eu/dist/widget.js'; document.head.appendChild(script);
Code
You can use this code to put Votemo widget to your page. You have to change current APPLICATION_URL to your one. We will provide you this url. <script>var votemoConfig = { url: 'APPLICATION_URL' };</script>
<script src="https://widget.votemo.eu/dist/widget.js"></script>
Example
<script>var votemoConfig = { url: 'https://myshow.votemo.eu/' }</script>
<script src="https://widget.votemo.eu/dist/widget.js"></script>
Default parameters
You can overwrite some widget additional parameters. Here are default:votemoConfig = { url: null, openInDesktop: true, desktopMaxHeight: 800, desktopMaxWidth: 450, language: 'est', }To change them, just pass one or more parameters in votemoConfig object.
<script>
var votemoConfig = {
url: 'https://myshow.votemo.eu/',
language: 'eng',
}
</script>