ProfileBook videos no longer showing

7 years 2 months ago - 7 years 2 months ago #291715 by Buzz50
ProfileBook videos no longer showing was created by Buzz50
YouTube videos are no longer showing in profilebook entries

Is this the correct syntax?
[video type=youtube]dc-nyGo0aC8[/video]

That works in Kunena but not on my ProfileBook entries

Any suggestions?



ProfileBook 2.0.2
CB 2.1.2
Joomla 3.6.5

Buzz50
Mike
Buzz50 Seniors
'Head Buzzer'

Please Log in to join the conversation.

7 years 2 months ago - 7 years 2 months ago #291718 by krileon
Replied by krileon on topic ProfileBook videos no longer showing
It worked fine in the ProfileBlog tab in my tests. Should work fine in the others as well as long as they've video enabled. Edit whichever ProfileBook tab that isn't displaying video within CB > Tab Management and ensure "Allow [video] BBCode" is set to "Yes".


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

7 years 2 months ago #291764 by Buzz50
Replied by Buzz50 on topic ProfileBook videos no longer showing
Thanks, those are both set to Yes but nothing shows.

The html outputted is this:
<span class="cbpbYoutubePlayer"><object type="application/x-shockwave-flash" style="width:400px;height:325px;" data="http://www.youtube.com/v/dc-nyGo0aC8"><param name="movie" value="http://www.youtube.com/v/dc-nyGo0aC8"/></object></span>

Is it correct?

My site is now SSL, https, could that be the problem?

Buzz50
Mike
Buzz50 Seniors
'Head Buzzer'

Please Log in to join the conversation.

7 years 2 months ago - 7 years 2 months ago #291766 by Buzz50
Replied by Buzz50 on topic ProfileBook videos no longer showing
For now I have cured this temporarily with ReReplacer, replacing all occurrences of
http://www.youtube.com
with
https://www.youtube.com

Buzz50
Mike
Buzz50 Seniors
'Head Buzzer'

Please Log in to join the conversation.

7 years 2 months ago #291769 by krileon
Replied by krileon on topic ProfileBook videos no longer showing
It being HTTP on HTTPS is likely your issue. You'd need to make the below edit to force it to output as HTTPS.

IN: components/com_comprofiler/plugin/user/plug_cbprofilebook/cb.profilebook.php
ON: Line 1375
FROM:
										 'HtmlBegin' => '<span class="cbpbYoutubePlayer"><object type="application/x-shockwave-flash" style="width:400px;height:325px;" data="http://www.youtube.com/v/%%P%%"><param name="movie" value="http://www.youtube.com/v/%%P%%" /></object></span>',
TO:
										 'HtmlBegin' => '<span class="cbpbYoutubePlayer"><object type="application/x-shockwave-flash" style="width:400px;height:325px;" data="https://www.youtube.com/v/%%P%%"><param name="movie" value="https://www.youtube.com/v/%%P%%" /></object></span>',


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.273 seconds

Facebook Twitter LinkedIn