Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Integrated video problem : No full screen allowed...
Avatar
Marco_Sensei
Member
Free Members
sp_UserOfflineSmall Offline
May 4, 2014 - 10:53 am

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... frown

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... confused

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. eek

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... frown

Does anybody have the same problem and know how to fix it please ?

Thanks.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 4, 2014 - 12:00 pm

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...

Avatar
Marco_Sensei
Member
Free Members
sp_UserOfflineSmall Offline
May 4, 2014 - 1:20 pm

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 ?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 4, 2014 - 2:24 pm

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/

Avatar
Marco_Sensei
Member
Free Members
sp_UserOfflineSmall Offline
May 4, 2014 - 3:14 pm

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... frown

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 4, 2014 - 3:23 pm

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???

Avatar
Marco_Sensei
Member
Free Members
sp_UserOfflineSmall Offline
May 4, 2014 - 4:03 pm

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.

Avatar
Marco_Sensei
Member
Free Members
sp_UserOfflineSmall Offline
May 4, 2014 - 5:46 pm

Damn... Browser problem... Explorer and firefox allow fullscreen but not Chrome... So the source of this mess is... Youtube / Google / Chorme themsleves...

I feel so stupid not having though of checking that first... cry

Sorry again... frown

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 4, 2014 - 6:37 pm

interesting...  thanks for the update...

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 4, 2014 - 6:38 pm

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...

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: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625