Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
public-topic
Embedding YouTube videos in posts
Avatar
JohnInama
Guest
Guests
Jan 20, 2016 - 1:21 pm
sp_QuotePost Quote

I've installed Simple:Press on a website - tfltruck.com - and I don't see a way to embed YouTube videos. Is this supported by Simple:Press?

Videos are an important part of the website, so if this can't be done, I will have to explore other options. I am planning to purchase support and plugins, but I'm not going to buy anything until I know that YouTube videos can be embedded.

I've tried just putting in the straight URL and I've tried to put in the YouTube embed code and neither one worked.

Thanks and I hope to hear back soon.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 20, 2016 - 3:06 pm
sp_QuotePost Quote

YouTube videos are handled by the WordPress oEmbed protocols which require the straight url of the video to be used in the post. I know you said above it did not work for you but I am afraid it does work for everyone else and is now the recommended 'WordPress' way of including a YouTube video - along with many other sites.
If it genuinely did not work perhaps you have some sort of WP 'media' plugin active that is both unnecessary and trying to do something where it should not.

andy-signature.png
YELLOW
SWORDFISH
Avatar
JohnInama
Guest
Guests
Jan 20, 2016 - 4:43 pm
sp_QuotePost Quote

It doesn't work, the video doesn't show up. Before installing Simple:Press I tried bbPress and the embed works. Also, the standard embed works fine when it's used in blog posts and pages. It only failed to work using Simple:Press.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 20, 2016 - 4:48 pm
sp_QuotePost Quote

Works well for me and all our other users. I suppose you are pasting in the url from the YouTube address bar. Or - better still - the url you get with the 'share' option

andy-signature.png
YELLOW
SWORDFISH
Avatar
JohnInama
Guest
Guests
Jan 20, 2016 - 5:05 pm
sp_QuotePost Quote

I'm pasting in the URL from the address bar. 

Avatar
JohnInama
Guest
Guests
Jan 20, 2016 - 6:20 pm
sp_QuotePost Quote

I've done the following testing to try to get this to work:

1. Disabled all plugins that were installed after installing Simple:Press

2. Verified that there are no installed media plugins

3. Tested YouTube embedding on posts and pages (both work)

I checked the page source for both this topic and the topic on my forum and I noticed that the embed was different.

On this site: <iframe width="500" height="281" src="https://www.youtube.com/embed/.....ure=oembed" frameborder="0" allowfullscreen></iframe>

On my site: <iframe width="940" height="529" src="https://www.youtube.com/embed/.....ure=oembed&wmode=transparent" frameborder="0" allowfullscreen></iframe>

In case it gets stripped out, on my URL, after feature=oembed& and wmode=transparent is a #038 ; (I added a space just in case). I checked a post with an embedded video and it's doing the same thing.

If you have any idea why this is happening, I would appreciate it. 

Avatar
JohnInama
Guest
Guests
Jan 20, 2016 - 6:36 pm
sp_QuotePost Quote

Sorry to bombard you with questions but is the TinyMCE editor required for the embed functionality to work? That's the only other difference I see between your forum and my forum.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 20, 2016 - 7:26 pm
sp_QuotePost Quote

No. Like I already said earlier, oEmbed is implemented at the WordPress level. It doesn't matter how the text is edited and posted. if it does not work then i still suspect you have something active that is interfering and trying to take over. That would be at the display stage.

andy-signature.png
YELLOW
SWORDFISH
Avatar
JohnInama
Guest
Guests
Jan 21, 2016 - 8:26 am
sp_QuotePost Quote

Thank you for your help on this. I found the part of the code that was adding the "transparent" option to the YouTube videos and disabled it, and the problem was still happening. However, I found the root cause. The theme used on the site - Alyeska, with the ThemeBlvd framework - adds a wrapper around embedded videos to make them responsive. This wrapper is what's causing the videos to not appear. It's only happening on the forum, so I'm sure it's a conflict between the forum theme and the site theme.

I'm going to investigate and see if I can disable that functionality through a child theme on the site level, and I'll read the codex to see what I can do with the forum theme to change the behavior.

If you are aware of any fixes, or any themes that work better with ThemeBlvd themes, please let me know.

Thanks again for your help.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 21, 2016 - 9:44 am
sp_QuotePost Quote

Afraid I am not, myself, familiar with Alyeska. There are just so many hundreds of themes...!
If it essentially a CSS issue then adding some CSS to the forum styles would probably be the easiest way to deal with things and the forum CSS IS loaded after the WP theme CSS.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 649
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 618
Members: 17348
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10120
Posts: 79607