ElkArte Community

Project Support => Support => Topic started by: TigerAnt on June 17, 2017, 08:34:41 pm

Title: error trying to get an I frame to work
Post by: TigerAnt on June 17, 2017, 08:34:41 pm
This is the error I keep getting: Forbidden

You don't have permission to access /index.php on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

This is the Iframe I tried to get to work: https://www.youtube.com/embed/blYqM4HaWdw

This is the site I'm working on: http://www.realchristchurch.com/index.php?topic=4.msg5#new
Title: Re: error trying to get an I frame to work
Post by: badmonkey on June 17, 2017, 10:57:50 pm
Iframing in a forum post is a security risk.  All users have to do is post the URL to the youtube vid.  It's just that easy!

You need to enable it first:

http://www.elkarte.net/community/index.php?topic=1966.msg12257#msg12257 (http://www.elkarte.net/community/index.php?topic=1966.msg12257#msg12257)
Title: Re: error trying to get an I frame to work
Post by: TigerAnt on June 18, 2017, 04:42:22 pm
I still cannot get it to work. It will not even take the YouTube http://
Title: Re: error trying to get an I frame to work
Post by: radu81 on June 18, 2017, 05:22:50 pm
You just have to activate Youtube embedding in elkarte admin panel:

Quote from: emanuele – After you have enabled "Enable auto-embedding of video links" in admin > forum  > Posts and Topics >.Post Settings.

and then simply copy and paste into a message the link of the video:
Code: [Select]
https://www.youtube.com/watch?v=dbKCX39iMg0
and the result of the pasted link :
https://www.youtube.com/watch?v=dbKCX39iMg0
Title: Re: error trying to get an I frame to work
Post by: TigerAnt on June 18, 2017, 08:20:20 pm
Thanks for the funny video and I found the problem (user error) It works well when you use the right code. Thanks, guys! for the help.
Title: Re: error trying to get an I frame to work
Post by: radu81 on June 19, 2017, 04:30:10 pm
It was the first video I saw on YouTube, my daughter (2 years and half old) is using  my account to watch cartoons on YouTube and she subscribed to lot of cartoons channels :)

Glad you solved it ;) 
Title: Re: error trying to get an I frame to work
Post by: TigerAnt on June 19, 2017, 06:34:54 pm
 :D  Show your Daughter, my baby picture lol.


Title: Re: error trying to get an I frame to work
Post by: radu81 on June 20, 2017, 03:18:01 am
It's in my avatar ;)