December 20, 2013 at 9:01 pm #202699
I get the below error when adding an MP4 url to the Video box (where we provide youtube link etc.). I thought it was possible to embed my own videos and that could be accomplished by providing the full url, such as site.com/videos/video1.mp4
Or is it a setting that is blocked, that can be enabled by updating the code?
Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /home6/require5/public_html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 573
Warning: file_get_contents(http://requirementsinc.com/members/ba/trial-recordings/Interview_Ruchie/Ruchie_Interview.jpg) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /home6/require5/public_html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 573
Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /home6/require5/public_html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 573December 22, 2013 at 9:03 am #203021
Yes, it should be just like adding in a youtube or vimeo link except the full url to your local server. Ex: http://yoursite.com/videos/video1.mp4 .
Is that what isn’t working now?
DevinJanuary 2, 2014 at 1:55 pm #204481
I have the exact same problem. I looked at the function-set-avia-frontend.php on line 573 but couldn’t understand a thing :(
How do I fix this?January 2, 2014 at 6:37 pm #204582
What kind of video file are you linking to? Is it local?
DevinJanuary 2, 2014 at 6:52 pm #204588
yes, it is local. I have uploaded it and imported it to the mediathek (that’s the german word) but it won’t work
January 3, 2014 at 3:45 am #204847
- This reply was modified 3 years, 2 months ago by Morendo_Memoria.
This is included as a side note with the Video element:
Attention when using self hosted HTML 5 Videos:
Different Browsers support different file types (mp4, ogv, webm). If you embed a example.mp4 video the video player will automatically check if a example.ogv and example.webm video is available and display those versions in case its possible and necessary.
What is the format of the video?
IsmaelJanuary 3, 2014 at 2:05 pm #204986January 3, 2014 at 11:38 pm #205184January 4, 2014 at 1:36 am #205215
thanks for the tip, the fix with enebling it in the php.ini solved the problem partially.
Now there is no error mesage, but when you click on the play button, the loading circle-thingy will come, but the video won’t load or start.
If you want to take a look: http://frei-cycle.de/videos at the bottom, the others are embedded youtube videos that work properly.January 4, 2014 at 2:01 am #205220
You must be logged in to reply to this topic.