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 Resource Not Allowed" when adding video from other places than YouTube [Solved] | Forum

Adrian
Adrian Jul 20 '14
Anyone else seen this bug ... I can add embedded videos from YouTube but if I try to embed a video from anywhere else I get the error message above!

Any ideas anyone??

Cheers
The Forum post is edited by ross Dec 7 '14
Sean
Sean Jul 20 '14
You need to allow sites on this page: http://www.YOURSITE.com/admin/settings/user-input
ross Team
ross Jul 20 '14
Sean +1
Adrian
Adrian Jul 23 '14
Durr - thanks guys!! forgot about that !!
Harry
Harry Dec 6 '14
+1 again.  I've had the same issue with vimeo and couldnt figure it out!   lol and Durr to me too.
ross Team
ross Dec 7 '14
I'm going to mark this thread as Solved then. 
Seyed
Seyed Jun 5 '16

I am having the same problem, when I want to add the following code it gives the same error (video source is not valid) even though I have added "bigbuckbunny.org" in the allowed list in the admin dashboard:


<!DOCTYPE html>
<html>
<body>


<video width="400" controls>
  <source src="mov_bbb.mp4" type="video/mp4">
  <source src="mov_bbb.ogg" type="video/ogg">
  Your browser does not support HTML5 video.
</video>


<p>
Video courtesy of
<a href="http://www.bigbuckbunny.org/" target="_blank">Big Buck Bunny</a>.
</p>


</body>
</html>


dave Leader
dave Jun 5 '16
Are you adding that code as a page or in your embed area?


Either way you dont need to use the doctype body and html tags, they are pretty much assumed. 

The Forum post is edited by dave Jun 5 '16
dave Leader
dave Jun 5 '16
Also know that bigbuckbunny.org's certificate has expired so most browsers will block it anyway.  Try an iframe instead and use a different site url. 


example: 

<iframe src="https://player.vimeo.com/video/78961286" width="640" height="480" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe><p><a href="https://vimeo.com/78961286">Sample Videos (52) - Copy.mp4</a> from <a href="https://vimeo.com/user22447680">G123</a> on <a href="https://vimeo.com">Vimeo</a>.</p>



But you dont need all that stuf you can just do the short version iframe if you want with just the src=url and the file name. 

Seyed
Seyed Jun 8 '16
Thanks very much Dave. As you said, I used iframe and it now works. Can we also use <video> tag instead (in HTML5)?

Thanks once again.
ross Team
ross Jun 8 '16
you can use it for custom pages and custom html widget
dave Leader
dave Jun 8 '16
If iframe's work Seyed, why would you want to use html5 tag, just curious?