What's new
Xen Factory

Register today to become a member! Once signed in, you'll be able to start purchasing our products, ask questions, request support and suggest new ideas!

  • Clement is on vacation leave until the 22nd of August.
    Support or questions about his add-on will be answered on a very very slow basis till his return. Sorry for the inconvenience.
  • This area is dedicated to the support of our xF1 add-ons. For xF2, please use the dedicated area: HERE.
  • We are aware that a no permission error was shown when you tried to purchase in the last 2 days, this is now fixed.

Support Fixed Don't get add-on to display videos

Freelancer

Member
As the title says. No matter which Video I post, there is none displayed, just the empty Sidebar Container like this:

EmptySidebar.jpg

The video IDs I tried are okay.
YTID.jpg

Code looks like this:
YTCode.jpg
 

Fred

Administrator
Staff member
On my profile you see correctly video ?
If yes, send me admin access by PM, I will look this today
 

Freelancer

Member
I am sorry but it is a totally private board. I can't give you the access. We must find another solution. If you tell me where to look, I can do it for you. I am skilled enough to check code.
 

Fred

Administrator
Staff member
it's hard to help you without access.
My code just display iframe from youtube

in xfa_yps_member_view template
try to replace

Code:
<iframe 
                src="http://www.youtube.com/embed/{$user.xfa_yps}?rel=0&amp;autoplay={xen:if '{$xenOptions.xfa_yps_video_autoplay}', '1', '0'}&amp;autohide={xen:if '{$xenOptions.xfa_yps_video_mode} == "with"', '2', '0'}"
                frameborder="0" 
                width="100%" 
                height="{$xenOptions.xfa_yps_video_height}"
            ></iframe>

by

Code:
<iframe 
                src="http://www.youtube.com/embed/UPftsIwGNoQ?rel=0&amp;autoplay=1&amp;autohide=2"
                frameborder="0" 
                width="100%" 
                height="170"
            ></iframe>

If with this it's don't work i can't do nothing, you will need to check why you can't display youtube iframe on your site
 

Freelancer

Member
I did the above but still don't get it to run... :( I deactivated ALL add-ons except this one and still it does not work even in the default style.
 

Fred

Administrator
Staff member
Try this

Code:
<iframe id="player" type="text/html" width="640" height="390"
  src="http://www.youtube.com/embed/M7lc1UVf-VE?enablejsapi=1&origin=http://example.com"
  frameborder="0"></iframe>

Is not my code is code from https://developers.google.com/youtube/iframe_api_reference?hl=en

So if it doesn't work, you will need search why you can read youtube iframe on your site/browser (you can maybe try with another browser)
 

Fred

Administrator
Staff member
To try it you can create empty html page on your computer and paste this code inside and open it with your browser
 
Top