Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2012-10-16 10:51:50
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,308
fancybox library not working correctly after update to 4.5.2
after updateing 4.4.1>5.2 the google videos don’t show up in fancybox popup window here anymore.
it should play like this video (4.4.1)
Offline
#2 2012-10-16 15:10:10
- skualito
- Member
- Registered: 2010-10-14
- Posts: 24
Re: fancybox library not working correctly after update to 4.5.2
Should maybe the link to youtube video have a class .fancybox
? Are you using a plugin?
Offline
#3 2012-10-17 07:45:17
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,308
Re: fancybox library not working correctly after update to 4.5.2
i use this code and it worked well in 4.4.1. could anybody test it on his site?
put this into head
<link rel="stylesheet" href="http://astuudio.ee/fancybox/jquery.fancybox.css?v=2.0.3" type="text/css" media="screen" />
<script type="text/javascript" src="http://code.jquery.com/jquery-1.8.2.min.js" charset="utf-8"></script>
<script type="text/javascript" src="http://astuudio.ee/fancybox/jquery.fancybox.pack.js?v=2.0.3"></script>
<script type="text/javascript">
$(document).ready(function() {
$(".various").fancybox({
maxWidth : 560,
maxHeight : 390,
fitToView : false,
width : '70%',
height : '70%',
autoSize : false,
closeClick : false,
openEffect : 'none',
closeEffect : 'none'
});
});
</script>
and this into article:
"(various fancybox.iframe)Grizzly Bear":http://www.youtube.com/embed/AuG9i5cwGW0?rel=0;autoplay=1
Offline
#4 2012-10-17 11:06:54
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: fancybox library not working correctly after update to 4.5.2
Gallex, everything is on its place, it’s just like skualito said: your link lacks fancybox.iframe
.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#5 2012-10-17 11:25:04
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,308
Re: fancybox library not working correctly after update to 4.5.2
yes, you are right…
hmm, but why this link "(various fancybox.iframe)Grizzly Bear":http://www.youtube.com/embed/AuG9i5cwGW0?rel=0;autoplay=1
has class in 4.4.1 version, but not in 5.2?
how to get it work?
Offline
#6 2012-10-17 11:29:04
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: fancybox library not working correctly after update to 4.5.2
Downgrade Textile (and only Textile) to the version that works, EDIT re-save your article, and open a topic about this issue in the Textile section of this forum so Steve/netcarver is informed about it.
Last edited by uli (2012-10-17 11:37:17)
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#7 2012-10-17 11:32:17
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: fancybox library not working correctly after update to 4.5.2
Or, if you depend on Textile 2.4.1, write fancyboxiframe
(no dot!) and let it be replaced by rah_replace.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline