Support Offline: Mon - Fri / 08:00am - 05:00pm (GMT +7)
Your Time: Our Time:

file Video will be not saved

More
6 years 8 months ago #19648 by Grit Röscher
Hi

when I insert a video link and save it, it is shown, but when I saved the module the video is no saved and not shown.

I get the following message:

Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /WWWROOT/260680/htdocs/modules/mod_jux_background_video/elements/juxadditems.php on line 331 Warning: file_get_contents( www.googleapis.com/youtube/v3/videos?id=...ls,statistics,status ): failed to open stream: no suitable wrapper could be found in /WWWROOT/260680/htdocs/modules/mod_jux_background_video/elements/juxadditems.php on line 331

Hope somebody can help.
Regards
mediafrog

Please Log in or Create an account to join the conversation.

More
6 years 8 months ago #19652 by HaiND
Replied by HaiND on topic Video will be not saved
Hi
Thanks for contacting and choosing our product
About your problem, I'm sorry. Please give me link your site and your account of administrator via private message or mail: This email address is being protected from spambots. You need JavaScript enabled to view it.
I will check it for you soon
Thanks

Best Regards
--HaiND--

Please Log in or Create an account to join the conversation.

More
6 years 8 months ago #19663 by HaiND
Replied by HaiND on topic Video will be not saved
Hi
Thank you for feedback us
I see your site does not read a function in our file and I fixed it for you
I edit code in: ..\modules\mod_jux_background_video\elements\juxadditems.php

$data = file_get_contents(' www.googleapis.com/youtube/v3/videos?id='.$videoID [$i].'&key=AIzaSyCbSrMgXhG6gLE5HZKvbvIB7ixc49vqhjQ&part=snippet,contentDetails,statistics,status');

edit:

$ch = curl_init(' www.googleapis.com/youtube/v3/videos?id='.$videoID [$i].'&key=AIzaSyCbSrMgXhG6gLE5HZKvbvIB7ixc49vqhjQ&part=snippet,contentDetails,statistics,status');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
$data = curl_exec($ch);
curl_close($ch);

hope it will help you
Thanks

Best Regards
--HaiND--

Please Log in or Create an account to join the conversation.

Moderators: Jackie
Time to create page: 0.074 seconds
Powered by Kunena Forum