This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
</head> | |
<body> | |
<!-- By default, the pop-out CTA is 300px wide. You might want to set the div width and height to allow for a border --> | |
<div style="width:260px; height:250px;"> | |
<!-- Sample HTML form. Can be replaced with a form from your favourite MAP (e.g. Hubspot, Silver Pop, etc.) --> | |
<form> | |
<table> | |
<tr> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<style type="text/css"> | |
.video_container { | |
position: relative; | |
/* Set max values to player size */ | |
max-width: 640px; | |
max-height: 360px; | |
display:block; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
www.mycompany.com - Normal website appears | |
www.mycompany.com?vidyard=true - Website appears, Vidyard player launched in lightbox | |
--> | |
<html> | |
<head> | |
<!-- Parsing the query string. Sample taken from http://javascript.about.com/library/blqs.htm --> | |
<script type="text/javascript"> | |
var qsParm = new Array(); | |
function qs() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app.filter('daterange', function () { | |
return function(items, date_field,start_date, end_date) { | |
var result = []; | |
// date filters | |
var start_date = (start_date && !isNaN(Date.parse(start_date))) ? Date.parse(start_date) : 0; | |
var end_date = (end_date && !isNaN(Date.parse(end_date))) ? Date.parse(end_date) : new Date().getTime(); | |
// if the items are loaded | |
if (items && items.length > 0) { |
NewerOlder