Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Youtube update prevents video from being selected.

Status Resolved
Add-on / Version Reel 1.2.2
Severity
EE Version v2.5.3

Michael Langford

Apr 27, 2015

When trying to add new YouTube videos via the Wyvern Video extension, Youtube no longer returns results.  Instead, we recieve an only the result:  youtube.com/devicesupport which redirects here: https://support.google.com/youtube/answer/6098135?p=yt_devicesupport&hl=en&rd=1

This is the video in question:
https://www.youtube.com/watch?v=2hwEPr2s-pg

Interesting, if I put in other keywords to search, I am able to bring up other videos, but only older ones..

Thanks!
-mike

#1

BoldMinded (Brian)

Michael, thanks for the report. I might not be able to look into this until Tuesday or Wednesday night this week.

Does this happen in any browser you use?

#2

BoldMinded (Brian)

I’m unable to replicate this. Are you loading the site on an iPad or something? This doesn’t seem directly connected to the version of the API, but the device instead. All videos are loaded into an iframe, so its not an outdated embed code or anything.

#3

MakeHay GreenHosting

I’m running 1.2.10 (latest) Wyvern Video and I have the exact same issue - tried Win7 Firefox / IE11 / safari and they all have the same issue so I’m pretty sure it isn’t browser related.

Even entering a direct YouTube URL into the search field gives the same result and points to the youtube.com/devicesupport video instead. Searches for text strings have the same result.

Vimeo searches work OK so it is a problem with YouTube - even clicking search with an empty field returns the same result. As you can imagine this is a show-stopper for a busy video site and looks related to the 20th April YouTube update.

#4

BoldMinded (Brian)

I’ll take another look. Unfortunately this probably isn’t something I’m going to be able to get updated quickly. It could be a few weeks.

#5

BoldMinded (Brian)

Just an update here. I was able to get the new API working in the module over my lunch break, however, there is still work to do to get the results to display in the modal and such. So may not be a “few” weeks. I’ll try to have an update in a week or two.

#6

BoldMinded (Brian)

Comment has been marked private.

#7

Colin Ambler

Comment has been marked private.

#8

BoldMinded (Brian)

Just an update on this… should have a release out this week. In the mean time, you can go get a Google API key which will be required with the new version. https://developers.google.com/youtube/v3/getting-started

There are some new variables you’ll be able to use as well: https://www.dropbox.com/s/9rdxv66de3zkph1/Screenshot 2015-05-11 14.11.45.png?dl=0

#9

Brian Litzinger

Hey everyone, I just uploaded 1.3 to Devot:ee. Give it a shot and let me know if you have any issues.

#10

Michael Langford

Comment has been marked private.

#11

BoldMinded (Brian)

Michael, I think I just gifted it to the correct account on Devot:ee. Let me know if you don’t see it.

#12

Michael Langford

Yep, got it. Thank you! I’ll run the update tomorrow in dev and let you know.

#13

Colin Ambler

Comment has been marked private.

#14

BoldMinded (Brian)

Comment has been marked private.

#15

Michael Langford

So, this may entirely be something I’ve done wrong with my update, but I’m having trouble getting this to work:

I get a 504 Error from YouTube when trying to search for a video: http://screencast.com/t/roeSZ4Sg Here’s the actual full URL the module is using: http://aribalocal.ariba.com/?ACT=117&q=https://www.youtube.com/watch?v=Knxq_YVcaMc&maxResults=12

I tried with an encoded question mark (?) and that failed to with the same error. It appears the problem is in EE.

I ran module updates and that worked successfully as far as I could tell. I also verified the action is in the actions table: http://screencast.com/t/k03iA8oU

As you can see the module UI comes up, and everything seems to be working fine otherwise.

Here’s the module config: http://screencast.com/t/SdV5oeuBsJY I didn’t include a username since it appeared to be for filtering rather than access. Is that required?

#16

BoldMinded (Brian)

Username isn’t required. Did you try searching for a video just by text, instead of the full url or id?

#17

Michael Langford

Yeah - nothing worked. When I configured the username: http://screencast.com/t/trtDAuvxYsS

It strikes me though seeing these errors, this may be related to the way SAP does networking since I’m on our corporate VPN. When we’re going over the corporate network all the REST API features choke. While I don’t like committing unvalidated code, I’m going to push this out to our dev server and see if it works there - it might just be a networking issue with my local version… I’ll let you know

#18

Michael Langford

Ok, so still not working: http://screencast.com/t/kWlQqJhwQ

I ran the module update successfully and updated the API key, etc. However, it appears for some reason its still using the old module despite the fact it shows 1.3 in the modules list (based on the URLs for the requests in the console). Not sure what’s up with that, though since it’s behaving differently locally than on dev, I have a hunch it’s our environment - I’ll keep working on at it 😊

#19

Michael Langford

I got this working - the error was partly related to our environment, but also related to the API Key. After went back into my console and found, weirdly, that the API credential I used had vanished… poof I created another one and it worked fine, though I did find using my server’s IP as a restriction causes the call to fail. I tried using a Browser key instead of a Server key, but that gave me a 500. Any idea why it would reject my iP? I even tried using a fairly loose IP range too. Anyway, no big deal – it’s working again. Thanks Brian!

#20

MakeHay GreenHosting

Still no joy for me, I have tried several API keys now with all IP’s allowed.

Vimeo search doesn’t work now either and I’m getting a firebug warning about mod.wyvern_video.php (line 449).

Parse error: syntax error, unexpected ‘:’ in /home/www/system/expressionengine/third_party/wyvern_video/mod.wyvern_video.php

#21

BoldMinded (Brian)

MakeHay, you’re getting that error b/c you’re running an older version of PHP. You need to be using at least 5.3.

#22

BoldMinded (Brian)

Going to close this thread as the main issue is resolved.

If anyone has further issues with this, just open a new ticket. Thanks!

Login to reply