Video in the Fancybox

Discuss PivotX 2.0.x extensions here, and view extensions that are available for download.

Video in the Fancybox

Postby Marsz » Sun Oct 18, 2009 11:17 am

Is there a way to play video in the facybox bij providing a link in my post?
Marsz
 
Posts: 23
Joined: Wed Jan 23, 2008 7:43 am

Re: Video in the Fancybox

Postby Harm10 » Sun Oct 18, 2009 5:54 pm

I don't think so. But you can use the Media extension to play video, audio and Vimeo/Youtube. Activate it in the extension dialog and read the Readme.txt in the Extensions/Media directory.
Quality is in the detail of things............

Want to change or update your PivotX site? Mail or PM me!
I can also convert your site to a Wordpress site!
Harm10
Developer
 
Posts: 2011
Joined: Wed Jun 17, 2009 9:37 am
Location: Somewhere in The Netherlands (aka Holland)

Re: Video in the Fancybox

Postby Marsz » Mon Oct 19, 2009 9:26 am

I am already using that option but i saw this option in Wordpress so assumed it was also possible in PivotX!
Marsz
 
Posts: 23
Joined: Wed Jan 23, 2008 7:43 am

Re: Video in the Fancybox

Postby Harm10 » Mon Oct 19, 2009 12:18 pm

Marsz wrote:I am already using that option but i saw this option in Wordpress so assumed it was also possible in PivotX!

As I said I am not sure whether this option is available in Fancybox. So maybe you should wait until any of developers responds.......
Quality is in the detail of things............

Want to change or update your PivotX site? Mail or PM me!
I can also convert your site to a Wordpress site!
Harm10
Developer
 
Posts: 2011
Joined: Wed Jun 17, 2009 9:37 am
Location: Somewhere in The Netherlands (aka Holland)

Re: Video in the Fancybox

Postby Marsz » Mon Nov 09, 2009 10:31 am

Any developers out there?
Marsz
 
Posts: 23
Joined: Wed Jan 23, 2008 7:43 am

Re: Video in the Fancybox

Postby hansfn » Mon Nov 09, 2009 1:11 pm

Yes, but I don't have time to look at this - sorry. There are probably several PivotX users that are capable to fix this.
hansfn
Developer
 
Posts: 3282
Joined: Sun Nov 25, 2007 7:48 pm
Location: Molde, Norway

Re: Video in the Fancybox

Postby Harm10 » Sun Nov 29, 2009 9:55 pm

I did some investigation for this one.
The version of Fancybox that's currently in the setup of Pivotx is 1.2.1.
The last months this version got upgraded on http://www.fancybox.net to 1.2.6.
Playing a video of youtube through 1.2.1 is already possible but poses some difficulties and errors. As does the iframe feature.
In 1.2.6 the playing and iframe are fine (I tested this). There are also some additional features implemented.
Before you all start cheering, there is a problem.
PivotX incorporates this extension through the smarty snippet structure which is fine in essence but doesn't offer (yet) the possibility of customizing the jQuery part through its setup.
This of course takes time to create.

My advice to the developers is to implement version 1.2.6 in PivotX!
This can be done by replacing the following changed 1.2.1 files with the 1.2.6 versions:
fancy_shadow_*.png (8 in total)
fancybox.css (rename from jquery.fancybox-1.2.6.css)
jquery.fancybox.js (rename from jquery.fancybox-1.2.6.js)
so a far stabler release is implemented!
I tested this and my fancybox displays kept on working.
Some tuning has to be done in snippet_fancybox.php itself for the zoomspeed e.g. 'zoomSpeedIn': 500, 'zoomSpeedOut': 500,

Additional features can then be triggered through either coding the html part yourself or by customizing the snippet.

Can this upgrade be implemented please?
Quality is in the detail of things............

Want to change or update your PivotX site? Mail or PM me!
I can also convert your site to a Wordpress site!
Harm10
Developer
 
Posts: 2011
Joined: Wed Jun 17, 2009 9:37 am
Location: Somewhere in The Netherlands (aka Holland)

Re: Video in the Fancybox

Postby Harm10 » Tue Dec 22, 2009 12:57 pm

Some days after I posted the above post I started changing the fancybox extension myself.
Currently I have a version that uses the latest version and is able to show youtube in the box.
Because I have a lot more ideas of things to implement but also am not sure whether my changes would lead to an official revision I asked Hans to look at it.
As he is very busy right now he agreed with me asking someone else to test what I currently have. At first I PM'ed Marsz but up until now I didn't get a reaction.
So now I am asking whether there is someone else on the board that wants to test what I have right now?
Quality is in the detail of things............

Want to change or update your PivotX site? Mail or PM me!
I can also convert your site to a Wordpress site!
Harm10
Developer
 
Posts: 2011
Joined: Wed Jun 17, 2009 9:37 am
Location: Somewhere in The Netherlands (aka Holland)

Re: Video in the Fancybox

Postby Harm10 » Tue Jan 05, 2010 8:29 pm

No one willing to test and expand my Fancybox extension so it can be maybe officially incorporated into PivotX? :?
Quality is in the detail of things............

Want to change or update your PivotX site? Mail or PM me!
I can also convert your site to a Wordpress site!
Harm10
Developer
 
Posts: 2011
Joined: Wed Jun 17, 2009 9:37 am
Location: Somewhere in The Netherlands (aka Holland)

Re: Video in the Fancybox

Postby Bob » Wed Jan 06, 2010 8:11 pm

Sorry, missed your earlier request..

Mail me, and I'll gladly test it! :-)
Bob
Lead Developer
 
Posts: 1374
Joined: Tue Nov 20, 2007 11:16 pm

Next

Return to 2.x Extensions

Who is online

Users browsing this forum: No registered users and 2 guests

cron