Support Forum
Hi there !
Got a problem with video integration in posts : when I paste a youtube integration code in my Rich Text editor, it lost the Full Screen Allowed part.
If I change it in the video integration panelle, and click ok... It doesn't change anything and when I return in the panel, the code switched to a no full screen version. Same if I put the code directly in the HTML version of the post...
In the help file of Rich Text editor, it's said not Iframe allowed but Youtube integration code are all Iframe ! Even the one in the actuals posts wich doesn't allow Full Screen is a Iframe code... I don't get it...
Is this coming from a change in Youtube codes or from the last change in SP ?... Because ALL the videos on my forum have now the same problem : no more full screen allowed on forum at all, even for old videos.
I want to keep people on the forum and I'm really annoyed that they have to got directly on youtube for the Full Screen version...
Does anybody have the same problem and know how to fix it please ?
Thanks.
No, youtube embedding is not all iframe... that is the current default method, but they offer several others including standard embed codes...
but with youtube, it matters not... take advantage of oembed protocol... just jump the url of the video into the post content... WP, via oembed, will auto embed the video for you...
Visit Cruise Talk Central and Mr Papa's World
When I put just the URL in the post, the video end up to be larger than the post is allowing.
The main problem is, I've always used the integration option on my forum, setting also the good ratio for the video, but since a few day, absolutely all the video on the forum are not allowing full screen anymore.
Look at this : http://nekotsuki-studio.com/Bl...../pure-joy/
The first video is a Copy / Paste of the URL directly in the post. (cropped on the right on my screen)
The second is by putting the URL using the Rich Text video intergration panel. (no full screen)
the third is by using old code option from Youtube in HTML option. (can activate full screen but the basic ratio is all wrong)
8 month I've been puting video on this forum and never had any problem. And now all of them are like the second one... I didn't touch anything an they've still all lost the full screen option.
I'm still looking into it but it doesn't look like youtube changed something in theire code... Could it be TinyMCE Rich Text Editor ? Or something elsewhere in the SP admin option ?
thats just your wp theme allowing too much width... add a style like this to your sp theme...
#spMainContainer .spPostContent iframe {width: 100%;}
will make it fit fine... as always, we strongly recommend making your own sp theme rather than editing one of ours to keep from losing changes on updates... see: http://codex.simple-press.com/.....g-a-theme/
Visit Cruise Talk Central and Mr Papa's World
That's a default SP Theme with no editing what so ever.
I'm ok to try to fix the Width limit but it doesn't fix the problem of all the previous video loosing the full screen option. That's what I'm trying to fix.
But if I look at the post in html, when I put the youtube code :
<iframe width="640" height="360" src="//www.youtube.com/embed/4qCbiCxBd2M?rel=0" frameborder="0" allowfullscreen></iframe>
After clicking Ok it become this :
<iframe width="640" height="360" frameborder="0" src="//www.youtube.com/embed/4qCbiCxBd2M?rel=0">
So no more allowfullscreen...
Or if I put the URL in the integration panel, it transform into this :
<iframe width="425" height="350" src="//www.youtube.com/embed/4qCbiCxBd2M#t=15"></iframe>
Still no fullscreen.
So yes the only way to have fullscreen option is now to put the URL directly in the post... but the fact that any other way reslut with no more fullscreen option isn't worth looking into it ?
I will try other means, but I must get back that option on my videos... My forum is all about Cartoon, VFX, etc... there is a lot of them, with making of and so on...
I can't edit all the posts to put URLs, but I can't leave it that way either...
you have the option of allowing iframes in your post content (see permissions)... but its a serious security risk to do so... it will allow any user to add an iframe in their posts... I would only do if you explicitly trust all posters (actually, I would never do it, but....)
what do you mean by integration panel???
Visit Cruise Talk Central and Mr Papa's World
There is an Insert / Edit Video option on my Rich Text Editor.
Btw the #spMainContainer .spPostContent iframe {width: 100%;} work just fine with the URL direct in post, thanks.
It overrules the ratio you put in the insert / edit video option but that's not a big problem.
Still, if you put an URL in that option, no full screen.
interesting... thanks for the update...
Visit Cruise Talk Central and Mr Papa's World
btw, after bit more testing, I would use:
#spMainContainer .spPostContent iframe {max-width: 100%;}
instead... that shouldnt override your ratio imports unless it exceeds the available width...
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)