Not Found

The requested URL /_doorways/map/map.html was not found on this server.


Apache/2.2.27 (CentOS) Server at 82.118.16.81 Port 80
Dialog Example | Treepodia Help Center

Dialog Example

New Window

Header / Footer Code:


<script type="text/javascript">
// Call the product-SKU / Video-ID (Variable)
var trpdSKU = 'MACFRC';

var video; var product;
function initTreepodia() { product = Treepodia.getProduct('UA-TRPDVOLUSION', trpdSKU); product.requestVideo(handleVideo); }
function handleVideo(vid) {
video = vid;
if (vid.hasVideos()) {
video.setPlayer("BlackGreen"); video.setChromeless(true);
video.addShareItem("facebook"); video.addShareItem("twitter");
video.addShareItem("linkedin");
video.setAllowFullScreen(false); video.setLoop(false);
video.setAutoplay(false); video.setMute(false);
} else {
// Hide the button if a video is not available
document.getElementById('video-btn').style.display = 'none';
}
}
</script>

<script type="text/javascript">
// Add the dialog Treepodia script.
document.write(unescape("%3Cscript src='" + document.location.protocol + "//dxa05szpct2ws.cloudfront.net/utils/trpdDialog/video-dialog.min.js' type='text/javascript'%3E%3C/script%3E"));
</script>

<script type="text/javascript">
// Add the main Treepodia script, invokes "initTreepodia()" on page load.
document.write(unescape("%3Cscript src='" + document.location.protocol + "//dxa05szpct2ws.cloudfront.net/TreepodiaAsyncLoader.js' type='text/javascript'%3E%3C/script%3E"));
</script>

Button / Video Code:


<!-- Video Button -->
<div id="video-btn" style="display:inline;">
<a href="javascript:showVideoDialog('Video Title', video, '#777777', false)"><img src="http://www.treepodia.com/images/buttons/play.gif" border="0"/></a>
</div>

<noscript>
<object type="application/x-shockwave-flash" data="http://api.treepodia.com/video/treepodia_player.swf" type="application/x-shockwave-flash" width="640px" height="400px" title="product video player" rel="media:video">
<param name="src" value="http://api.treepodia.com/video/treepodia_player.swf"/>
<param name="flashvars" value="video=http://api.treepodia.com/video/get/UA-TRPDVOLUSION/MACFRC&amp;backcolor=0x000000&amp;frontcolor=0xCCCCCC&amp;lightcolor=0x557722&amp;allowfullscreen=false&amp;auto-play=false&amp;ShowLogo=1&amp;play_on_click=true" />
</object>
</noscript>