Can open popup from stack but the youtube video vimeo option doesn't work
Permalink Browser Info Environment
First: great add-on and we won't miss is anymore.
But we need some help to get a youtube video played in the popup. If we choose youtube or video vimeo for content type no popup open. If we choose stack content the popup appears.
Any idea what we do wrong?
But we need some help to get a youtube video played in the popup. If we choose youtube or video vimeo for content type no popup open. If we choose stack content the popup appears.
Any idea what we do wrong?
Type: | Pre-Sale |
---|---|
Status: | Resolved |
In the meantime, I tested a YouTube video on my end and it worked. There might be something else at play.
Strange: We installed a new concrete5 and used the standard theme, added a button pro, set up the video popup - with same result. The popup doesn't open.
It seems there is a problem with the javascript. please have a look at the attached screenshot
It seems there is a problem with the javascript. please have a look at the attached screenshot
I'm afraid that the message isn't saying enough for me to figure it out. Would you have it live somewhere that I could have a look at?
Yes, it's available at dev.converseo.de
We figured out, the stack popup doesn't work either, when you aren't logged in.
If you send us your email-address via private message, we setup an admin account for you.
Thanks for your quick response on a Sunday. Great support
We figured out, the stack popup doesn't work either, when you aren't logged in.
If you send us your email-address via private message, we setup an admin account for you.
Thanks for your quick response on a Sunday. Great support
Thank you for your kind words. I just sent you a PM.
FYI concerning the YouTube video the problem is the button should be a link, not a button. BUt that's my fault the validation should check for that, I need to fix it.
Concerning the stack there is definitely an issue as the required JS is not even added to the page, I wonder why, I have to check
Concerning the stack there is definitely an issue as the required JS is not even added to the page, I wonder why, I have to check
So I checked on my side and stack popups seem to work. I'm definitely going to need access to your edit mode and check the block in edit mode to understand what's going on.
I ran some tests on your website and here's what I found out.
Concerning the YouTube video using a URL. There was an error in the block's validation which allowed you to use an URL of the formathttp://youtu.be/xxxxxxx
That won't work. The URL has to be of the format:https://www.youtube.com/watch?v=xxxxxx...
I corrected the validation issue so next time you use it it should warn you of the problem with the URL.
I also corrected the validation that was not warning you to use a link instead of a button with YouTube.
Concerning the stack. The popup actually works when you're logged in and doesn't work when you're logged out. When logged out, the stack's content is correctly added to the page but not the JS required to open the popup.
On my system, it works logged in or logged out. So you might have some weird permissions somewhere responsible for that. I couldn't check any further as I didn't have access to permissions.
So first please update the plugin to version 3.1.0 then save the youtube button with the correct URL format and you'll see that if you try to save with the wrong format it will show you an error this time. That should work.
As for the stack, check your permissions. I truly don't understand the problem here as the stack itself is on the page so the permission issue is not with the stack. And since the other button does have the correct JS added tot he page I don't know why the stack one wouldn't. But again, it works on my system with concrete 8.5.4 so I don't see what else it could be.
Concerning the YouTube video using a URL. There was an error in the block's validation which allowed you to use an URL of the formathttp://youtu.be/xxxxxxx
That won't work. The URL has to be of the format:https://www.youtube.com/watch?v=xxxxxx...
I corrected the validation issue so next time you use it it should warn you of the problem with the URL.
I also corrected the validation that was not warning you to use a link instead of a button with YouTube.
Concerning the stack. The popup actually works when you're logged in and doesn't work when you're logged out. When logged out, the stack's content is correctly added to the page but not the JS required to open the popup.
On my system, it works logged in or logged out. So you might have some weird permissions somewhere responsible for that. I couldn't check any further as I didn't have access to permissions.
So first please update the plugin to version 3.1.0 then save the youtube button with the correct URL format and you'll see that if you try to save with the wrong format it will show you an error this time. That should work.
As for the stack, check your permissions. I truly don't understand the problem here as the stack itself is on the page so the permission issue is not with the stack. And since the other button does have the correct JS added tot he page I don't know why the stack one wouldn't. But again, it works on my system with concrete 8.5.4 so I don't see what else it could be.
Thank you for your kind words.
Could you show me the Youtube or Vimeo URL you used so I can run some tests?
Thank you