Skip to content

Instantly share code, notes, and snippets.

View vladchi's full-sized avatar

Vlad Chi vladchi

View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<VAST version="2.0"><Ad
id="Auy9c4AwpqlO3A3WVxKs">
<InLine>
<AdSystem
version="1.0">PlayTime</AdSystem>
<AdTitle>Jamaica Higher Def - Live</AdTitle>
<Impression id="TM_RTB_BID"><![CDATA[http://rtb-lb-event-us-east.tubemogul.com/rtb/e.png?e=win&aid=Bnxvs46VSUym5018rzlKBQ.0&ad=14550632&cp=96980&slot=0&x_price=4.00&ets=1398349547556&tz=GMT-05%3A00&source=vast2&suid=-2274402671593367856&country=RU&region=66&mc=48&ap=0&ut=0&vis=UNKNOWN&site=yASkYONirZAZUs1LpLGQ&bp=4000000&curr=USD&exr=1.0&fid=i8Cx6UDnKJaBC8npjLWV&c=3260280&ccurr=USD&cuxr=1.0&a=442352&ca=461568&st=INSTREAM%7CPREROLL_SURVEY%7CINSTREAM_VPAID&sh=0&sw=0&rid=-1&mp=533&dur=30&cityid=-1&metroid=-1&countryid=180&postalid=-1&v=1&auth=DVZiCb64GYmEk1pnAbgbCPcRCbg&x_r=Vt7khg]]></Impression>
<Impression
id="TM_BLANK_IMPRESSION"><![CDATA[about:blank]]></Impression>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
<scritp type='text/javascript'>
window.viroolWidgetParams = {
cid: 18526
};
</script>
<script src='//api.virool.com/widgets/1869e2b94553ce24b6da81aac6db471e?width=640&height=400&format=js' type='text/javascript'></script>
<script src='//api.virool.com/widgets/1869e2b94553ce24b6da81aac6db471e?width=640&height=400&format=js' type='text/javascript'></script>
<iframe src='//api.virool.com/widgets/1869e2b94553ce24b6da81aac6db471e?width=640&height=400'
width='640' height='400' allowfullscreen marginwidth='0' marginheight='0' frameborder='0' scrolling='no'></iframe>
@vladchi
vladchi / example-callbacks.html
Created September 25, 2013 10:51
Example of widget overlay with callback functions
<script src="//virool.at/js/widget.overlay.js" type="text/javascript"></script>
<script type="text/javascript">
ViroolWidgetModal.open('//api.virool.com/widgets/44fe67fc88e40f70070214a0f256f551/18526', {
onOpen: function () { alert("Overlay opened"); },
onClose: function () { alert("Overlay closed"); }
});
</script>
@vladchi
vladchi / example-custom-size.html
Created September 25, 2013 10:50
Example of widget overlay with custom widget size
<script src="//virool.at/js/widget.overlay.js" type="text/javascript"></script>
<script type="text/javascript">
ViroolWidgetModal.open('//api.virool.com/widgets/44fe67fc88e40f70070214a0f256f551/18526', {
width: 540,
height: 360
});
</script>
@vladchi
vladchi / example-no-countdown.html
Created September 25, 2013 10:49
Example of widget overlay without countdown timer
<script src="//virool.at/js/widget.overlay.js" type="text/javascript"></script>
<script type="text/javascript">
ViroolWidgetModal.open('//api.virool.com/widgets/44fe67fc88e40f70070214a0f256f551/18526', {
closeAfter: 0
});
</script>
@vladchi
vladchi / example-custom-texts.html
Created September 25, 2013 10:48
widget overlay example with customised texts
<script src="//virool.at/js/widget.overlay.js" type="text/javascript"></script>
<script type="text/javascript">
ViroolWidgetModal.open('//api.virool.com/widgets/44fe67fc88e40f70070214a0f256f551/18526', {
headerText: "Watch this video to proceed",
timerText: "Close after [COUNT] secunds",
closeText: "Close"
});
</script>
@vladchi
vladchi / example-basic.html
Last active December 23, 2015 21:19
widget overlay embed code basic example without options
<script src="//virool.at/js/widget.overlay.js" type="text/javascript"></script>
<script type="text/javascript">
ViroolWidgetModal.open('//api.virool.com/widgets/44fe67fc88e40f70070214a0f256f551/18526');
</script>