AntiMath » Uncategorized http://www.antimath.info Simple thoughts blog Sat, 10 Aug 2013 19:41:08 +0000 en-US hourly 1 http://wordpress.org/?v=3.5.1 Open flowplayer in fancybox http://www.antimath.info/uncategorized/open-flowplayer-in-fancybox/ http://www.antimath.info/uncategorized/open-flowplayer-in-fancybox/#comments Thu, 07 Jul 2011 15:08:34 +0000 mihai http://www.antimath.info/?p=139 Flowplayer is a good choice when it comes to embedding videos into websites, …but what about flowplayer in fancybox ?

If you google a bit certainly you’ll find some ideas of how to play a video in flowplayer in fancybox, but by far the most simple one and the one that gives you the control on every option of every movie embedded, is to embed each of your videos in one different page (ex. lets say we have movie1.mp4 and movie2.mp4 then we should have /movie1.html and /movie2.html or if you have just one video then just one page ), and then set the ‘href’ of the link that is supposed to open that video to the URL of the video page, and now when you click on the link it will open the video page in an iframe in the modalbox. To easily understand this see the demo.

Take note of the snippet of code bellow when you set fancybox.

$("#video-link").fancybox({
	'width' : 336,
	'height' : 256,
	'overlayShow' : false,
        'autoScale' : false,
        'transitionIn' : 'none',
        'transitionOut' : 'none',
	'type'	: 'iframe' //tweek the other, do not change this;
});
]]>
http://www.antimath.info/uncategorized/open-flowplayer-in-fancybox/feed/ 0
Why antimath ? http://www.antimath.info/uncategorized/why-antimath/ http://www.antimath.info/uncategorized/why-antimath/#comments Fri, 24 Sep 2010 15:17:39 +0000 mihai http://www.antimath.info/?p=21 Don’t believe I am some math terrorist, and fight against equations and square roots, … because I’m not.

“Antimath” is just a way to see that math not always has answers, and that are other logical ways to see things.

This blog is not about math, is intended to be about anything, web, world, etc.

]]>
http://www.antimath.info/uncategorized/why-antimath/feed/ 0