Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.
Forgot Password?
Navigation

Youtube in news

Last updated on 2 years ago
Posted 2 years ago
Hi.
So i'm trying to iframe or something youtube videos into news articles. I tried with bb codes etc. So far nothing works.
Anyone have any idea how to do this?
Thanks in advance.
A
ApisJunior Member
Posted 2 years ago
BBCode is not allowed in news and articles. You must use HTML tags.
On YouTube, you click RMB on the video and download the code to paste on the website. It works fine without any problems. Example from my website.
https://www.zegluga-rzeczna.pl/news/3...40-stu-lat
Posted 2 years ago
What do you mean rmb? When i click on share at a youtube video and copy the embed iframe link i try to paste it into a news post is doesnt work when i post it. I get an error that the following link i tried to reach ia not qvailable or somthing.
A
ApisJunior Member
Posted 2 years ago
RMB = right mouse button.
Try changing all " to ' characters in the code to be pasted.
G
GrimlochSenior Member
Posted 2 years ago
All double quotes TO single quotes dude in the UTube video code!
Posted 2 years ago
So i just copy lets say a random yt video

<iframe width="901" height="507" src="https://www.youtube.com/embed/fPIlpM9Za78" title="YOU LAUGH YOU LOSE EYES | MEMES" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

And change it to the following:

<iframe width='901' height='507' src='https://www.youtube.com/embed/fPIlpM9Za78' title='YOU LAUGH YOU LOSE EYES | MEMES' frameborder='0' allow='accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture' allowfullscreen></iframe>

If so, and i'm doing it right. This doesnt work either unfortunatelly.
I get an error " 403 The link you followed may have expired, or the page may not be accessible to you."

I checked your page Apis not sure why its not working for me.

Not sure what am i doing wrong. I'm on the latest version of php fusion.
Posted 2 years ago
Its like my Article , News etc infusions dont even wanna hear about iframe... Like its blocked or something. When i create a custom page i can iframe anything or embedd videos easily.
A
ApisJunior Member
Posted 2 years ago
In my PHPFusion v 9.10.30 test site, I pasted the code from your post and everything works. It doesn't matter if it's double or single quotes.
https://www.nowa.zegluga.hmcloud.pl/n...s/3154/xxx

I don't know what the cause is in your case.
Posted 2 years ago
Okay i managed to found the issue... For some reason my Admin panel was broken... And i didnt even notice it... I basically just fresh copy pasted the admin lte panel theme files and works wonders...
Posted 2 years ago
Also for future reference for others.
It was either the ModSecurity at cPanel. I turned it off. Or permission issues for folders and contents that i had to set to 777 on administration and infusions.

Cheers for helping and hopefully if others encounter similar issue now have an answer.
You can view all discussion threads in this forum.
You cannot start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
You cannot up or down-vote on the post in this discussion thread.
You cannot set up a bounty in this discussion thread.
Moderator: Support Team
Users who participated in discussion: Grimloch, Dahwiestark, Apis