-
AuthorPosts
-
November 25, 2014 at 10:23 pm #357984
We use 2 plugins for our clients that will automatically pull new YouTube videos into their website from their channel.
Neither will work correctly with Enfold.
The first is https://wordpress.org/plugins/youtube-channel-gallery/
This almost works very well but when you click on one of the thumbnails it activates a lightbox as well as playing on the page.The second is a paid plugin that uses the new Google YouTube API V3.
http://codecanyon.net/item/wordpress-responsive-youtube-playlist-video-player/8645995
The conflict here maybe that you are also using this API?So my question is are there any things I can “turn off” within Enfold (possibly a PHP mod) that would make either or both of these plugins function?
I will provide links in the “Private Content” box below.
BTW: I have confirmed it is the Theme. I de-activated all plugins but the one being tested.. same problem. Switched to a different theme and both plugins work fine.
Thanks.
November 26, 2014 at 6:26 pm #358419Hi raveon!
For the first one try opening up /enfold/js/avia.js and change line 824 from this.
autolinkElements: 'a[rel^="prettyPhoto"], a[rel^="lightbox"], a[href$=jpg], a[href$=png], a[href$=gif], a[href$=jpeg], a[href*=".jpg?"], a[href*=".png?"], a[href*=".gif?"], a[href*=".jpeg?"], a[href$=".mov"] , a[href$=".swf"] , a:regex(href, .vimeo\.com/[0-9]) , a[href*="youtube.com/watch"] , a[href*="screenr.com"], a[href*="iframe=true"]',
To this.
autolinkElements: 'a[rel^="prettyPhoto"], a[rel^="lightbox"], a[href$=jpg], a[href$=png], a[href$=gif], a[href$=jpeg], a[href*=".jpg?"], a[href*=".png?"], a[href*=".gif?"], a[href*=".jpeg?"], a[href$=".mov"] , a[href$=".swf"] , a:regex(href, .vimeo\.com/[0-9]) , a[href*="screenr.com"], a[href*="iframe=true"]',
The second one seems to be working fine on my end though. I click play and the videos play fine and I can switch the videos on the side. They are not playing on your end?
Best regards,
Elliott- This reply was modified 10 years ago by Elliott.
-
AuthorPosts
- You must be logged in to reply to this topic.