We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Video problem | Forum

MB
MB Aug 7 '15
When i upload the embedded code from youtube the reply is "video is not allowed"

TNX
Daisy Team
Daisy Aug 7 '15
There are two types of embed codes:

Regular code which contains the following URL: https://www.youtube.com/embed/fWH5NAKC3B0

Privacy-enhanced code with the following URL: https://www.youtube-nocookie.com/embed/fWH5NAKC3B0

If you are using the second type of embed code, you should add the youtube-nocookie.com domain to the 'Allowed video resources list' configuration via Admin Area > Settings > User Settings > Content Input tab.

If this does not solve the problem, Please provide us with the you are trying to add and we check into this issue.
MB
MB Aug 8 '15


in cpanel , in owplugin/video/classes/video_providers.php look like this:

self::PROVIDER_YOUTUBE => 'http://www.youtube.com', ;

const clipUidPattern = '\/\/www\.youtube\.com\/(v|embed)\/([^?&"]+)[?&"]';

    const thumbUrlPattern = 'http://img.youtube.com/vi/()/default.jpg';



tell me were is wrong..


tnx



Paul Towery
Paul Towery Aug 9 '15

Paul ToweryYesterday, 04:16PM

you can't use the "embed code" no more because youtube does not give that out anymore( i do believe it because they are using HTML5 now...this plugin will have to be change to accept the url like this from youtube:

An Example: you can only get the Video URL from youtube now and no embed code. they are only showing a URL link like this...  https://youtu.be/QcIy9NiNbmo

I hope it is fixed soon, i don't think anybody can use this plugin or the one that opens in the newsfeed anymore. This is what i have discovered as i can not add any more video's to my site nor  can any members either. 

Daisy Team
Daisy Aug 10 '15
MB, the code you are talking about just makes thumbnails for the video resources, but the error message you were talking about ("video is not allowed") is related to the possibility of using this resource for the video embedding.

Please carefully read my previous post. All you need is to add the domain into the 'Allowed video resources list' configuration via Admin Area > Settings > User Settings > Content Input tab in case you are using the privacy-enhanced type of the embed code.

Please provide me with the video code you are trying to add.

Paul, if you do not have enough information, please do not confuse others about the Youtube rules. Youtube still allows to embed the code.



All depends on the video you are trying to embed. Some owners do not want their videos to be embed, so they disable this possibility.
MB
MB Aug 10 '15
i read your post. i do this change :

in cpanel :
self::PROVIDER_YOUTUBE => '//www.youtube(-nocookie)?.com/',
const clipUidPattern = '\/\/www\.youtube(-nocookie)?\.com\/(v|embed)\/([^?&"]+)[?&"]';
const thumbUrlPattern = 'http://img.youtube.com/vi/()/default.jpg';

in admin area content input :
youtube-nocookie.com

that is the code :https://youtu.be/073TNjLc070

if u want i can give the acces on my site ...to see what is the isue

tnx
The Forum post is edited by MB Aug 10 '15
Daisy Team
Daisy Aug 10 '15
MB, first of all you should not make any changes in the plugin's code. You should revert the changes back.

As for the code - you've provided us with the link to the video but not the code. Here is the code:

<iframe width="560" height="315" src="https://www.youtube.com/embed/073TNjLc070" frameborder="0" allowfullscreen></iframe>

Please follow these instructions on how to get the video code: https://support.google.com/youtube/answer/171780?hl=en

MB
MB Aug 11 '15
still not working :(

thx
Paul Towery
Paul Towery Aug 11 '15
 Daisy, thanks for your reply and posting that pic, as i was always using my mouse and doing a right click and getting the embed code right from the video and it has disappeared from all the video's that i have checked . I guess they have changed that now. But from your pic you posted, i can get the embed code now. I never knew there was another place to get that code. Sorry for any confusion, i think there are many that were having the same problem as me too...now i can just pass this to my members that are confused. 
Daisy Team
Daisy Aug 11 '15
MB, what do you mean by 'still not working'? Do you still receive the "video is not allowed" error message using the code we have provided? Do you use the standard Video plugin developed by Oxwall team or third-party plugin? Did you try to reproduce this problem at our demo? Have you removed the changes you've made in the /video/classes/video_providers.php file? Do you have any third-party plugins which interact with the Video plugin?
Could you please copy the code we've provided

<iframe width="560" height="315" src="https://www.youtube.com/embed/073TNjLc070" frameborder="0" allowfullscreen></iframe>

try to add it to your site and provide us with the screenshots of the error message you receive when you're adding our code?
MB
MB Aug 20 '15
hello


i didn't solve the video problem.

this is the error :http://www.wall4us.com/wall4us/video/add/index/



he try to index the embeded video in a folder who don't exist



ross Team
ross Aug 20 '15
MB, please answer the questions, one by one, Daisy asked. 
DeFender
DeFender Aug 21 '15
I have similar problem in my forum too.

if I embed

 <iframe width="560" height="315" src="https://www.youtube.com/embed/073TNjLc070" frameborder="0" allowfullscreen></iframe>

it is not working


but if I embed without <


iframe width="560" height="315" src="https://www.youtube.com/embed/073TNjLc070" frameborder="0" allowfullscreen></iframe>


it is OK

The Forum post is edited by DeFender Aug 21 '15
ross Team
ross Aug 23 '15
Defender, we cannot reproduce the issue on our side and our demo. We just embedded this code: 

 <iframe width="560" height="315" src="https://www.youtube.com/embed/073TNjLc070" frameborder="0" allowfullscreen></iframe>


to the forum and the video is displayed fine. 


is this the domain where you have issues: http://u2.hol.es/



Pawel
Pawel Sep 7 '15
HI 


My name is Paul. I have Problem : Plugin Video dont work.

: Embed Code :


<iframe width="560" height="315" src="https://www.youtube.com/embed/RGiMJY8v0jA" frameborder="0" allowfullscreen></iframe>


-----

Server - Mod Security = off


ow_pluginfiles - chmod 777

ow_userfiles and all >>  - chmod - 777

ow_plugin/video - chmod - 777

ow_smarty/template_c - chmod 777

ow_static    - chmod 777


EFEKT:


Forbidden

You don't have permission to access /server/video/add/index on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.



Please step by step... help my :) 




ross Team
ross Sep 7 '15
Pawel, this error means that the mod_security is still on and not properly configured. you need to contact your hosting provider to disable it or configure properly. 
Pawel
Pawel Sep 8 '15
Thank you for your answer : Please write how it must be configured Mod Security under Oxwall 1.7.5 I want to present concrete for hosting.
ross Team
ross Sep 8 '15
We do not provide instructions on server configuration. They need to do that on your own. 
tania brazil
tania brazil Oct 26 '15

hello

I have Oxwall version 1.8 and I cant embed a youtube video using the youtube share embed link:

https://youtu.be/X2ai97DjBhA

the Oxwall site returns a "video resource is disallowed" error


please help me solve this issue for my online social chat site www.consultantchat.net


The Forum post is edited by tania brazil Oct 26 '15
DeFender
DeFender Oct 26 '15
it is a link, you have to use embed code like 


<iframe width="560" height="315" src="https://www.youtube.com/embed/RGiMJY8v0jA" frameborder="0" allowfullscreen></iframe>


or


or use http://www.oxwall.org/store/item/1169

The Forum post is edited by DeFender Oct 26 '15
Pages: 1 2 »