Embedding YouTube and other media clips in 2.1
In 2.1 bbPress can now parse YouTube links and embed them directly into the posts, which is a great feature.
However, I’ve come across one problem, the width of the videos.
The videos default to 640 width which is too wide for my content. In wordpress media settings I’ve entered that the content shouldn’t be wider than 500px but bbPress do not adhere to that setting.
Also, since the embed add width and height inline, I can’t change it with CSS.
The only workaround right now is to add &w=500 at the end of the YouTube link, but that’s not ideal for many reasons. First, it makes more complicated for my users to add video. And also, it means that if I ever change width of the forum in the future, 500 might not be the ideal width and I’d have to go over and change it all again.
Not sure if I should put this as a bug in the trac. I certainly don’t mind doing that but don’t want to flood it unnecessarily.
You must be logged in to reply to this topic.