7 years ago
I can add video in normal post in wordpress just by copying the video file address .
It generates the following code automatically:
[video src="...." /]
I test it in buddypress and it generates the code but it doesn’t show the video . How can I show the video ?
I know bp supports youtube but I’d like to use any video .
i short words: you can not embed any videos.
You can only embed videos from approved providers. See the list on the WP codex.
About the why, read here
And for the how, here:
That said, if you paste the url of a youtube(since wp 2.9) or funnyordie video (since wp 4.0) into an activity update, it will show up.
If not, try with 2014 theme first.
But there is small difference . When I copy the video url ( e.g. …../video.mp4 not the page url) in normal post in wordpress it shows a video player . Why it is not supported in buddypress?
Because frontend users (usualy with subscriber role) are not allowed to use html tags in the activitiy editor. And they are not authorized to use the media library.
All this for a simple security reason. Hope you understand it ! 😉
And also WordPress uses a rich-text editor. BuddyPress does not for the activity post form.
See also: WordPress.org •
Follow BuddyPress on Twitter •
Contact Us •
Terms of Service