Making an external video (not Youtube or Vimeo) load in a fancy box
Permalink
I'm currently building a site for a multinational with hundreds of divisions and no-one seems to be able to get me a copy of the video that the have here:http://hmheducation.com/pinpoint/pinpoint-video.php...
so I've had to try and embed this in the new site I'm doing for corporate. Basically I've viewed source on the page, and lifted the code and saved a local copy, which still pulls the video from the external source.
I've downloaded fancybox and added it to my header:
and then created a button in the Content block to launch it but it doesn't want to launch.
Can anyone offer a suggestion as to why it's not working?
so I've had to try and embed this in the new site I'm doing for corporate. Basically I've viewed source on the page, and lifted the code and saved a local copy, which still pulls the video from the external source.
I've downloaded fancybox and added it to my header:
<script type="text/javascript" src="<?php echo $this->getThemePath()?>/js/dropdowns.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script> <script> !window.jQuery && document.write('<script src="jquery-1.4.3.min.js"></script>'); </script> <script type="text/javascript" src="<?php echo $this->getThemePath()?>/js/fancybox/jquery.mousewheel-3.0.4.pack.js"></script> <script type="text/javascript" src="<?php echo $this->getThemePath()?>/js/fancybox/jquery.fancybox-1.3.4.pack.js"></script> <link rel="stylesheet" type="text/css" href="<?php echo $this->getThemePath()?>/js/fancybox/jquery.fancybox-1.3.4.css" media="screen" /> <script type="text/javascript"> $(document).ready(function() { /* * Examples - images */ $("a#example1").fancybox(); $("a#example2").fancybox({
Viewing 15 lines of 74 lines. View entire code block.
and then created a button in the Content block to launch it but it doesn't want to launch.
Can anyone offer a suggestion as to why it's not working?
There is an excellent "free" block by Remo here:
http://www.concrete5.org/marketplace/addons/iframe/...