Support Forum

How do I add videos to posts?

28 Answers

New Answer

U
Member

Sorry, I was traveling there for a few days… To answer yoru questions…

“‘what’ are you trying to embed?? is it a url?  an object?  an embed?  an iframe?” My apologies, I thought I was answering that. When I was saying that I was trying to embed an Mp4 I meant a link to an MP4, in other words just a simple video that is hosted on Amazon S3.

Re: “Why not just paste the URL to this video here so we can try it out?” The videos I want to host are part of a paid membership site so I can’t publish them publicly. But here is an example of the kind of video. Same format, same compression, hosted in the same place: http://evp-4ded433c38a60-bd5e9699c25cf52199b72d5be1c5fe54.s3.amazonaws.com/buffer-1.mp4

Any ideas as to how I can host a video like this directly within a forum post? 

 

 

YS Yellow Swordfish
Yellow Swordfish
Member

I have not investigated this at all but is the Amazon S3 service going to actually allow you to embed videos in applications like Forums? In other words – are they actually going to allow you to stream content from the storage? And if so – do you have details on that please?

U
Member

Hi, yes, AmazonS3 is essentially just a cloud based server. I have hundreds of videos hosted there that I have embedded in many different players. I’ve never had any problem embedding a video until now. AS3 is a very popular file hosting service for podcasters and people who need to publish a lot of videos, because its quite cheap as compared to traditional hosting and doesn’t tie up your site’s bandwidth. It’s owned by Amazon and is very robust. If a video hosted on my own server will embed then one hosted on Amazon should as well.

Thoughts?

>

YS Yellow Swordfish
Yellow Swordfish
Member

OK. I was under the impression that to enable you to stream from S3 you might need to use login credentials etc. If that s not the case – and we are looking at pretty standard YouTube streaming then I will keep researching.

So how do you embed these videos in your WP blog posts?

U
Member

I have embedded videos like that with Easy Video Player as well as a simple word press plugin. I think it was called wp embed. EVP is mobile friendly but the wordpress plugin I used was not. I have also used the video embed option in the WP theme Optimize Press. I think they use JW player. I’ve never really had any issues with anything that had an embed option using an MP4 hosted on AS3. This is the first time.

>

MP Mr Papa
Mr Papa
Member

but how do they embed a video??  the standard way for wp is not to use an external viewer but oembed… of course, the video in question does not follow the oembed standard, you do have to go another route…

but would still need to know how the viewer actually embeds the video…  keep in mind, that embedding in a wp post where only a select few can post vs in a forum brings a whole slew of security considerations into play (ie iframes would be a no no)…

do they use shortcodes – another wp standard? if so, they should work as long as you enable the shortcode in the forum content settings…  embed code?  what does it look like?

and still a bit confused on your results via the media embedder in tinymce..  what happens for you?  when I use it to embed the video link you gave me, it seems to work, but then I get a video message about the buffer not being fulll… but the audio plays…  eventually this buffer seems to get better and the video plays though more buffer issues occur…  so it seems to work for me…

all I did was use the embed media button in tinymce (looks like film)… selected  realmedia type and added the url…

can try here too:

 

U
Member

I have embedded it different ways depending on which method I am using. The most ideal method is to continue using Easy Video Player.

Here is the embed code for a video I am currently using on WordPress.

——

<center><div id=”evp-c82ded70554ef622e384362710aebaa2-wrap” class=”evp-video-wrap”></div><script type=”text/javascript” src=”http://www.musicmarketingmanifesto.com/evp/framework.php?div_id=evp-c82ded70554ef622e384362710aebaa2&id=aW5zaWRlci1jaXJjbGUtc2FsZXMtMS5tcDQ%3D&v=1358385393&profile=default”></script><script type=”text/javascript”><!–

_evpInit(‘aW5zaWRlci1jaXJjbGUtc2FsZXMtMS5tcDQ=[evp-c82ded70554ef622e384362710aebaa2]’);//–></script></center>

The page it’s published on is here:

http://www.musicmarketingmanifesto.com/insidercircle/

—-

I’ll try embedding it here by clicking on html and adding the code directly and see what happens on your site.

—–

 

//

—–

Looks like nothing in the preview but I haven’t published yet. That’s what happens when I publish it this way on mine. If i take the url to the video and embed it I get an empty square, sort of outlined with a dotted line. I’ll try embedding it here to see if I get different results. I selected media_dig.video…

In preview it looks the same, but again, haven’t published as I type this.

The video you embedded above doesn’t display for me. Looks like it needs the real media plugin installed which wouldn’t be a good option, as I need something more universal, ideally which will play on mobile phones. 

Any ideas as to how I can get my embed code to display just like it does in a wordpress post? That would solve all my problems. Is there perhaps a permission setting for the forum that I just need to turn on? I’ll I’m basically trying to do is start housing my monthly lessons in the forum so that I can eliminate the blog (where the lessons are currently housed, and promote more activity in the forum. If I can get the forum pages to display the same as my wordpress pages that should work.

U
Member

Sorry, my bad, the square with the dots around it is what happens when I am in preview mode. Once published I goes invisible but takes up space, as above. If you highlight the post above you can see where the video is. Just wanted to clarify.

MP Mr Papa
Mr Papa
Member

you have lost me…  I didnt see a response to your sample video that I simply posted with tinymce media embeddding…

but to point out, your embed code is javascript…  do you really want users having the ability to post javascript in a post?  huge security risk… remember that forum posts are a lot different than a wp post as to who can do what…

most video embeds I am familiar with dont use script tags because of such limits… better to use embed or object tags…

U
Member

Mr Papa said
you have lost me…  I didnt see a response to your sample video that I simply posted with tinymce media embeddding…

“The video you embedded above doesn’t display for me. Looks like it needs the real media plugin installed which wouldn’t be a good option, as I need something more universal, ideally which will play on mobile phones. “

but to point out, your embed code is javascript…  do you really want users having the ability to post javascript in a post?  huge security risk… remember that forum posts are a lot different than a wp post as to who can do what…

This is a paid and private forum which I monitor very closely. I didn’t see it as a real risk, but what might I be missing? If there is a mobile friendly way to do it without it then I’m all ears. Alternatively, is there a way to set admin permissions to be different than general user permissions, in regards to posting Java Script?

This is starting to sound like it’s not going to work but let me know if there is something I am missing here. Thanks.

YS Yellow Swordfish
Yellow Swordfish
Member

Perhaps we need a quick recap of what is going on here as we seem to be more or less going around in circles.

So – first fact – WordPress does not support the oEmbed protocol for S3 stored media. Actually – I suspect that it is Amazon that do not support it just as I suspect WordPress would add it if it were available. So – just pasting in the URL to a post will not work.

Steve – above – used the TinyMCE media options to get the video up using the realplayer option but it doesn’t work well and regardless of what player it is, it just seems to sit there with a buffer message.

While I understand you have a monitored members only forum we really wouldn’t recommend allowing the use of either javascript or iframes. It only takes one disgruntled user with a small amount of knowledge and they could literally destroy the whole site.

No – perhaps you could try this:

Start a new post in your forum. Select the media button on the tinyMCE toolbar – the one that resembles a film strip. Select the ‘media_dlg.shockwave option’ in the type box and paste in the video url below it. You may want to manually add the size – try, for starts say, 640 x 500. This worked for me using the url from your website.

MP Mr Papa
Mr Papa
Member

the real player works for me… after a short wait for buffer to fill.. it is jittery and jumpy though…  but the shockwave is same for me…

LA Laura Al-Amery
Laura Al-Amery
Member

There is an attachment plugin you install to upload media.

MP Mr Papa
Mr Papa
Member

yes, tinymce does… in the options, make sure you have a media button listed… we also provide a file uploader plugin for simple press that makes uploading and embedding media even easier than tinymce… have you tried it? and if the media is from 3rd party site that supports industry standard oembed, just paste the url…