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
<!-- *****IMPORTANT NOTE***** This code is still in testing to ensure compatibility with MAP integrations. --> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>Vidyard Player ‑ Lazy‑load responsive player</title> | |
<style> | |
/* ———————————————————————————— | |
1. Wrapper to keep the player and thumbnail sizes in sync |
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
<apex:page sidebar="false" showHeader="false" standardStylesheets="false" cache="false" applyHtmlTag="false"> | |
<html> | |
<head> | |
<style type="text/css"> | |
.container { | |
max-width: 960px; | |
margin: 0 auto; | |
} | |
.controls{ | |
width:75px; |
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
var player = new Vidyard.player(uuid); | |
var callback = function() { | |
if (!player.metadata.visitorID) { return; } | |
// We have a visitor ID, do things! | |
console.log(player.metadata.visitorID); | |
// If we only want this callback to execute exactly once: | |
callback = function() {}; | |
}; | |
player.on('ready', callback); |
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
<style type="text/css">.related-videos { | |
position: relative; | |
float: left; | |
display: block; | |
overflow: auto; | |
padding: 20px; | |
padding-bottom: 0; | |
text-align: center; | |
color: #fff; | |
} |
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
<style type="text/css">.navbar { | |
margin: 5px; | |
} | |
ul { | |
position: relative; | |
display: block; | |
list-style-type: none; | |
margin: 0; | |
padding: 0; |
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
<!-- <blockquote class="embedly-card" data-card-key="64e7e6b1d2ac4b3fa812d17b66e43c22" data-card-controls="0" data-card-image="http://az347637.vo.msecnd.net/3e9286d37fb94f72ba128eb8fe76d6be/Images/Products30126-445x593--1943498993.jpg" data-card-type="article"><h4><a href="http://www.laura.ca/30126-Jacquard-Printed-Pashmina-Scarf.aspx?gclid=CNusgJTPpc8CFQiqaQodAvwEoQ">Jacquard Printed Pashmina Scarf</a></h4><p>You'll love the purple accents on our classic pashmina scarf. The jacquard finish adds a chic feel for an effortless every-day essential. Imported 7030772-0859</p></blockquote><script async src="//cdn.embedly.com/widgets/platform.js" charset="UTF-8"></script> --><link href="https://fonts.googleapis.com/css?family=Oxygen" rel="stylesheet" /><style type="text/css">* { | |
font-family: Oxygen,Arial,"Helvetica Neue",Helvetica,sans-serif; | |
} | |
.wrapper { | |
margin: 10px; | |
} | |
.wrapper a { | |
color: blue; |
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
<script> | |
$(function() { | |
$("input[type=submit]").click(function() { | |
API.closeCta({ disablePlay: true }); | |
}); | |
}); | |
</script><style type="text/css">.newsletter-signup { | |
position: relative; | |
max-width: 600px; | |
margin: 0 auto; |
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
<script> | |
$(function(){ | |
var isMobile = { | |
Android: function() { | |
return navigator.userAgent.match(/Android/i); | |
}, | |
BlackBerry: function() { | |
return navigator.userAgent.match(/BlackBerry/i); | |
}, | |
iOS: function() { |
NewerOlder