Notifications
Clear all

YouTube Videos Not Embedding

18 Posts
3 Users
0 Reactions
4,754 Views
Posts: 14
Customer
Topic starter
(@jennifer-tate)
Member
Joined: 5 years ago

To be honest, I have not even tested the add-on with any other embeds, as YouTube is, by and far, the most important embedding functionality for us. We just made the switch from Asgaros Forum today, which had this functionality by default, so I am getting a little nervous that we may have made a huge mistake. I am hoping someone can assist. I have hidden our main forums (for https://aftermidnight.live/community/), to prevent unnecessary confusion, as there is a LOT of content, and simply made a Testing category at https://aftermidnight.live/community/testing/ .

Preparation:

1) I copied the links for the multiple YouTube videos, from my own personal (unrestricted) account, as well as general videos I searched.

2) I created a post for both the actual URL, as a post, and the shared URL, as a response to the initial post. These links were copied from the corresponding browsers of the topic they fall under.

Troubleshooting:

1) I have tested the page in Chrome, Edge, FireFox, and Internet Explorer on my desktop, in and out of incognito windows. Note: In Internet Explorer and Chrome twice, randomly, it appeared the video tried to load but still failed.

https://aftermidnight.live/community/chrome/

https://aftermidnight.live/community/edge/

https://aftermidnight.live/community/firefox/

https://aftermidnight.live/community/internet-explorer/

2) I have tested the page in Safari on my cell phone, on my cellular data (i.e. not connected to my home router).

3) I uninstalled and reinstalled the plugin. Note: Prior to uninstalling the plugin, the video appeared to be there (blank but if I hovered it changed the mouse, though I couldn't click). After uninstalling and reinstalling, nothing happens when I hover over the area where the video should be. 

4) I tried uninstalling and manually installing the plugin.

5) I tried troubleshooting compatibility issues with plugins by deactivating plugins on my account, one-by-one. I could not deactivate all of my plugins, as some of these would seriously affect my site but I tested the majority, including my security plugins. A list of my plugins is included belowm including whether they are active or not, at this time. All of my software is up-to-date and I am on PHP 7.3. 

| name | status | update | version |

| asgaros-forum | inactive | none | 1.15.1 |
| blackhole-bad-bots | active | none | 2.6 |
| block-bad-queries | active | none | 20190902 |
| blog2social | active | none | 5.8.1 |
| countdown-timer-ultimate | active | none | 1.2.3 |
| duplicate-page | active | none | 4.0 |
| youtube-embed-plus | active | none | 13.1.2 |
| ewww-image-optimizer | active | none | 5.0.0 |
| featured-and-trending-post-pro | active | none | 1.5 |
| gamipress | inactive | none | 1.7.7 |
| gamipress-wpforo-integration | inactive | none | 1.0.4 |
| heartbeat-control | inactive | none | 1.2.5 |
| login-recaptcha | active | none | 1.6.4 |
| nextgen-gallery | active | none | 3.2.18 |
| open-external-links-in-a-new-window | active | none | 1.4 |
| social-polls-by-opinionstage | active | none | 19.6.29 |
| really-simple-ssl | active | none | 3.2.5 |
| visualizer | active | none | 3.3.1 |
| wha-crossword | active | none | 1.1.4 |
| wha-wordsearch | active | none | 1.1.6 |
| wp-cerber | active | none | 8.4 |
| wp-discord-post-plus | active | none | 1.0.2 |
| wpforms-lite | active | none | 1.5.5.1 |
| wpforo | active | none | 1.6.5 |
| wpforo-embeds | active | none | 1.3.5 |
| wp-image-zoooom | active | none | 1.36 |

I am on a time constraint here and a severely stressed, as I spent about 12 hours researching plugins (deciding that this was one step above Asgaros Forum, even if a lot of the functionality was going to require purchasing add-ons), transferring stuff over, and getting set up today and now the main function of our forums is completely offline. Your assistance is appreciated or else I am going to have to quickly revert to Asgaros Forum. Thank God I backed up before the change. 

17 Replies
Astghik
Posts: 6149
Admin
(@astgh)
Illustrious Member
Joined: 7 years ago

Hi @jennifer-tate,

Could you please deactivate the YouTube Embed Plus plugin, delete all caches and check again? 

Also please navigate to the Dashboard > Forums > Settings > Addons > Embeds admin page make sure the "Youtube" embedding is enabled.

Don't forget to press Ctrl+F5 (twice) on the forum frontend before checking.

Reply
Posts: 14
Customer
Topic starter
(@jennifer-tate)
Member
Joined: 5 years ago

I guess I should have mentioned it previously but I missed it in all 0f the information I was trying make sure I included initially.

With regarding to caching:

I have NGINX on my server but it is disabled so there is no caching there. None the less, I manuall flushed NGINX to be safe, as I have seen issues at my job with it, in the past. ( I work for a hosting company so I do this for a living).

I don't have any third party caching plugins installed and anything the has caching by default is disabled to prevent issues with NGINX, when it is enabled. It has not been enabled in four months, as I am currently using CloudFlare while we are in the middle of renovations. 

I did purge the cache at CloudFlare, prior to my first message, to be safe, even though all other changes were being reflected.

I have still gone ahead and gone through again, at your request, and ensured that NGINX was disabled, there are no caching plugins (as reflected above), caching anywhere else is removed, and I repurged NGINX cache. I recleared cache on my own browsers and tested again in incognito to no avail.

With regards to the settings for the plugin, I have tried almost every variation imaginable. 

After uninstalling/reinistalling the first time, I thought that maybe all of them being checked (by defauly) was not correct. I tried resetting using the Reset Options icon. I tried unselecting everything and saving. I've tried selecting everything and saving. At the time of my first message, I only had YouTube, Veoh, Flickr, Vimeo, and DailyMotion selected. I now only have YouTube selected.

I have tried with, and without, "Enable YouTube privacy-enhanced mode" on. I have tried with, and without, "oEmbed Functions on. I have tried changing the "Maximum number of embedded content per post".  To the previous step, and to detail his as well, I have also selected Delete All Caches in your own plugin.

Your guidance is appreciated.

Reply
7 Replies
Astghik
Admin
(@astgh)
Joined: 7 years ago

Illustrious Member
Posts: 6149

@jennifer-tate

I'm sorry, but I don't follow you. Have you deactivated the | youtube-embed-plus | active | none | 13.1.2 | plugin? 

Reply
Customer
(@jennifer-tate)
Joined: 5 years ago

Member
Posts: 14

@astghik

I'm sorry, I missed this portion "please deactivate the YouTube Embed Plus plugin" of the statement (or should I say misread it). I had already done that in troubleshooting my plugins, initially.

I will try that again now that I have gotten the video to somewhat load, but if this plugin is not going to work with the YouTube Embed Plus, I may have to revert to Asgaros Forum because the Live Stream functionality of YouTube Embed Plus is a huge feature, as this site is built around our YouTube channel, hence trying to get the video working.

Reply
Customer
(@jennifer-tate)
Joined: 5 years ago

Member
Posts: 14

Here is some interesting information, in the world of troubleshooting:

If I change the "Embed video player sizes" to 0 px (for auto) or change it 100% height/width, instead of dimensions, the videos loads. It is horribly formatted, but loads. 

https://aftermidnight.live/community/chrome/public-video/

I reactivated Asgaros to demonstrate that this is not an issue with my theme, though it could certainly be an incompatiablity between the theme and plugin. This is the same video as the link above, in Asgaros, that I just added.

https://aftermidnight.live/forum/topic/testing/

To show this was new, I added the link from your video as well.

I have now tried multiple dimensions but the video either does not load at all or loads in this manner, like the entire top half of the block in unavailable. Mind you the URL is on the line below the text "URL below" so there is still a huge chuck of black space too.

Reply
Astghik
Admin
(@astgh)
Joined: 7 years ago

Illustrious Member
Posts: 6149

@jennifer-tate

I've just checked the URL you've provided and it works correctly. Please watch the following video: 

https://www.screencast.com/t/W7DpsBa8TOp

 

Reply
Customer
(@jennifer-tate)
Joined: 5 years ago

Member
Posts: 14

@astghik

You may not have seen the responses after the message you were replying to but I am aware they are online however not without further issues.

1) The plugin that had to be deactivated is used on over 200 pages of our site and is used for all of our livestreaming. In order to continue with this plugin, either the incompatibility would need to be resolved or I will have to find another livestreaming plugin and update over 200 pages, to keep this plugin. I am willing to do that if I can trust there aren't going to be further issues however we still have not actually cleared the first issue.

2) The auto height function (in px and in %) does not work. At first I believed it was simply set to a really small number, but adjusting these values does nothing. Please see all of my additional posts for more information and troubleshooting steps. We are less than 24 hours in to using this plugin, 12 hours in to using this paid add-on and I have had multiple complaints about the functionality, have now had to deactivate one of my core plugins, and still cannot get the dimensions on my videos correct.

I am not trying to keep going back to Asgaros Forum (because I hate when people go "My old host...") but I need you to understand that this i extremely important to me. My ONLY issue with Asgaros Forum, was that I could only tier up to one lvel deep. Meaning a forum and a sub-forum. Every functionality worked perfectly on the forum and I loved the design, plus the plugin was free. As I was talking to a co-worker, I mentioned I could only create a single sub-forum, which bothered me, and they suggested your product, particularly for it's integration with other plugins. I made the switch yesterday and spent several hours working on this and I am severely stressing over the decision. I would like to use this product, but not at the risk of my site. I like Asgaros' look better, so I was already making a sacrifice there. I cannot afford to make any others, if the plugin cannot do the main thing I need it to which is embed photos and automatically resize them.

Reply
Customer
(@jennifer-tate)
Joined: 5 years ago

Member
Posts: 14

To that effect, @astghik, I have rset the videos to 100% height so you can see what I am referencing. 

https://aftermidnight.live/community/chrome/public-video/

Reply
Customer
(@jennifer-tate)
Joined: 5 years ago

Member
Posts: 14

@astghik

I can reactivate my plugin to show you the issue is the same with or without, the only difference is, without the plugin, the blank space is gone. The formatting is an issue regardless.

 

It seems as though your height auto functionality is completely broken.

When the (YouTube Embed Plus) plugin is on and I use auto, the horribly formatted video is present but there is a big block of space. If I set fixed dimensions on the video, it seems like the video houses behind this blank space.

With the plugin deactivated, the auto function still does not work. Fixed dimensions show the video but that will not be mobile compatible.

It seems to me, the resolution to the entire issue is fixing the issue with auto height.

Reply
Posts: 14
Customer
Topic starter
(@jennifer-tate)
Member
Joined: 5 years ago

Update:

Disabling the YouTube Embed Plus plugin after making a change to the height/width did allow the video to load but 100% still loaded off. I reset the settings on the plugin again and the video looks better but the dimensions are too small for the windows. I again tried 100% or 0 (for auto) and it gives me a huge width with a very short height. As you can see in the previous link, on the Asgaros Forum plugin, the video fit to window perfectly.

I was able to finally determine that the best dimensions were 650x433 however, as this is fixed px, when rescaling for mobile the width is fine but the height now becomes extremely distorted. So, unfortunately, we still have an issue or incompatibility some where, as the plugins functions are still not working as intended.

I am starting to think this plugin really may not work for our needs but I am reaching out once last time because I really liked some of the other paid features that were available, however its incompatibility with a plugin (YouTube Embed Plus) that over 200 pages utilize is huge. This means a lot of time trying to find ANOTHER plugin that works with this and redoing all those pages, to keep this plugin. In addition, as the video is not even formatting correctly still, that still means we are having issues and I am not one to settle for something if I am paying for it. In addition, if we cannot get this issue resolved, making the switch to this plugin to begin with would be completely pointless because I will be too afraid to make any additional purchases. 

 

Reply
2 Replies
Customer
(@jennifer-tate)
Joined: 5 years ago

Member
Posts: 14

To give more information, it seems the the height % is not working at all. I have tried setting it to 10%, 25%, 50, 75%, and 100% and the height does not change at all, so the video remains narrow.

Reply
Customer
(@jennifer-tate)
Joined: 5 years ago

Member
Posts: 14

100% width works perfectly and rescales as necessary. Unable to resolve issues with height.

Reply
Posts: 14
Customer
Topic starter
(@jennifer-tate)
Member
Joined: 5 years ago

@astghik

I can reactivate my plugin to show you the issue is the same with or without, the only difference is, without the plugin, the blank space is gone. The formatting is an issue regardless.

 

It seems as though your height auto functionality is completely broken.

When the (YouTube Embed Plus) plugin is on and I use auto, the horribly formatted video is present but there is a big block of space. If I set fixed dimensions on the video, it seems like the video houses behind this blank space.

With the plugin deactivated, the auto function still does not work. Fixed dimensions show the video but that will not be mobile compatible.

It seems to me, the resolution to the entire issue is fixing the issue with auto height.

Reply
2 Replies
Astghik
Admin
(@astgh)
Joined: 7 years ago

Illustrious Member
Posts: 6149

@jennifer-tate,

Please try to set the value of the height 570px and check again. Embedding function is implemented via iframe HTML tag and in this case, the vale with % doesn't work. You should use the only px for height. 

Reply
Customer
(@jennifer-tate)
Joined: 5 years ago

Member
Posts: 14

@astghik

I'm not sure if you missed my previous messages or the information was lost in the length of the response however I have already said this works with set px. However, you set a video to 570 px fixed height and view the video on a mobile device. Without scaling by  %, the video is distorted. This does not occur on Asgaros Forum. Is there no way to resolve this because, if so, then I guess I will be needing to revert plugins.

Reply
Page 1 / 2
Share:
Scroll to top