Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted August 30, 20204 yr Anyone suffering from 'VIDEO UNAVAILABLE' on all your YouTube embeds tonight?
September 6, 20204 yr The YouTube video is not added, the error "The link could not be embedded because the URL is not allowed." In the settings "allow all links". What could be the problem? 4.5.1
September 6, 20204 yr The YouTube video is not added, the error "The link could not be embedded because the URL is not allowed." In the settings "allow all links". What could be the problem? 4.5.1 Show example link please.
September 6, 20204 yr https://www.youtube.com/watch?v=RcYjXbSJBN8 This is address for your video PS see link https://youtu.be/RcYjXbSJBN8
September 6, 20204 yr This is address for your video PS see link https://youtu.be/RcYjXbSJBN8 Both links are valid. @AlphaStar - the error message returned is because some form of error has occurred while the software has attempted to retrieve the oembed code from youtube. The error generated isn't logged by default by IPS, only at debug level. Do the following: If you have a constants.php file (in the same location as your conf_global.php file) then add this to it: define( 'DEBUG_LOG', true ); If you don't have a constants.php file, create one and add this to it: <?php define( 'DEBUG_LOG', true ); Then attempt to do the embed again. Result should be a log entry in either 'System logs' or 'error logs' in the Support section of the ACP - post the information it provides. Reminder: remove the above from your constants.php file when finished.
September 6, 20204 yr @Adlagoonly link is added @Nathanno such file constants.php Could it have something to do with the video width settings?
September 6, 20204 yr @Adlagoonly link is added Please provide a link to a topic in your community where you posted a youtube link
September 6, 20204 yr Please provide a link to a topic in your community where you posted a youtube link I have a closed forum from guests, if you need the source code, here is: <div class="cPost_contentWrap"> <div data-role="commentContent" class="ipsType_normal ipsType_richText ipsPadding_bottom ipsContained" data-controller="core.front.core.lightboxedImages"> <p> <a href="https://youtu.be/RcYjXbSJBN8" ipsnoembed="false" rel="external nofollow">https://youtu.be/RcYjXbSJBN8</a> </p> @Nathan Explosion I did not notice that you wrote that need to create a file. Here are the errors in the admin area 🙂 #0 /var/www/forum/data/www/forum.ru/system/Log/Log.php(176): IPS\_Log::log('https://www.you...', 'embed_failure') #1 /var/www/forum/data/www/forum.ru/applications/core/modules/front/system/editor.php(176): IPS\_Log::debug('https://www.you...', 'embed_failure') #2 /var/www/forum/data/www/forum.ru/system/Dispatcher/Controller.php(90): IPS\core\modules\front\system\_editor->validateLink() #3 /var/www/forum/data/www/forum.ru/system/Dispatcher/Dispatcher.php(152): IPS\Dispatcher\_Controller->execute() #4 /var/www/forum/data/www/forum.ru/index.php(13): IPS\_Dispatcher->run() #5 {main}
September 6, 20204 yr Here are the errors in the admin area Thanks - it's failing where I expected it to be, so next step is for a closer look at what the 'errorMessage' value is that is being reported when this happens at the back-end. I'm happy to take a closer look if you send me some login credentials for the site (not the ACP) via PM in the next few minutes. Edited September 6, 20204 yr by Nathan Explosion
September 6, 20204 yr Your issue isn't that Youtube is not embedding - the issue is that no external links can be embedded All of the following items should have embedded successfully: https://www.youtube.com/watch?v=R-nWczD9NwA https://open.spotify.com/track/51Y8KcQ33KNRTCGh6fzv0k https://www.instagram.com/p/CD1-Xqvg13u/?utm_source=ig_web_copy_link All of the above cannot be embedded because "The url is not allowed" I suspect that your hosting isn't allowing your server to make outbound calls to the target sites (that is what does the embedding call, your server...not your device/computer) and the response from that block is "The url is not allowed".
September 6, 20204 yr The problem is clearly not from the provider side, I did a clean install of the link working, but if the community is updated, then a similar error is observed.
September 7, 20204 yr @Nathan Explosion Thank. The system administrator says that everything is fine with the server, curl is installed, and so on. I'll try to write to the support so that they also check.
September 8, 20204 yr There is a bug in the current release that can affect embeds. It will be resolved for our next maintenance release.